File: Makefile.in

package info (click to toggle)
xemacs21-packages 2009.02.17.dfsg.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 116,928 kB
  • ctags: 88,975
  • sloc: lisp: 1,232,060; ansic: 16,570; java: 13,514; xml: 6,477; sh: 4,611; makefile: 4,036; asm: 3,007; perl: 839; cpp: 500; ruby: 257; csh: 96; haskell: 93; awk: 49; python: 47
file content (93 lines) | stat: -rw-r--r-- 2,236 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Generated automatically from Makefile.in.in by configure.
##
## SUMMARY:      Makefile for the OO-Browser
##
## AUTHOR:       Bob Weiner / Mark Stern
## ORG:          InfoDock Associates / Brown U.
##
## ORIG-DATE:    15-Oct-90
## LAST-MOD:     19-Oct-96 at 00:53:29 by Bob Weiner
##
## Copyright (C) 1990-1996  Free Software Foundation, Inc.
## See the file BR-COPY for license information.
##
## This file is part of the OO-Browser.

#define NOT_C_CODE
#include "../../src/config.h"

SHELL = /bin/sh
RM = rm -f

## ==================== Things "configure" will edit ====================
CC=gcc
CPP=gcc -E
CFLAGS=-mpentium -O6
CPPFLAGS=
LDFLAGS=

INSTALL = /usr/bin/ginstall -c
INSTALL_PROGRAM = ${INSTALL}

c_switch_all=-DHAVE_CONFIG_H -I/usr/X11R6/include
ld_switch_all=-L/usr/X11R6/lib
ld_libs_all=-lcanna -lRKC -lwnn -lXaw -lpng -lz -ljpeg -lcompface -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -ldb -lgdbm -lncurses -lcrypt -lintl -lm

build_top=../..

cflags  = -I${build_top}/src $(CPPFLAGS) $(c_switch_all)
ldflags = $(ld_switch_all) -lXaw $(ld_libs_all)

#ifdef USE_GNU_MAKE
vpath %.c /home/xemacs/20.3/xemacs-20.3/pkg-src/tree-x
vpath %.h /home/xemacs/20.3/xemacs-20.3/pkg-src/tree-x
#else
VPATH=/home/xemacs/20.3/xemacs-20.3/pkg-src/tree-x
#endif

#ifndef HAVE_USLEEP
usleep_objs = usleep.o
#endif

progs = xoobr
objs = draw.o tree.o input.o dissolve.o dbl.o intf.o $(usleep_objs)

all : xoobr

xoobr: $(objs)
	$(CC) $(CFLAGS) $(LDFLAGS) $(objs) $(ldflags) -o $@

#ifdef SOLARIS2
%.o : %.c
#else
.c.o:
#endif
	$(CC) $(CFLAGS) $(cflags) -c $<

install: $(progs)
	../../lib-src/make-path ${archlibdir}
	for file in $(progs); do \
	  (cd ../.. && $(INSTALL_PROGRAM) pkg-src/tree-x/$${file} ${archlibdir}/$${file}) ; \
	done

.PHONY: mostlyclean clean distclean realclean extraclean
mostlyclean:
	$(RM) *.o *.i core
clean: mostlyclean
	$(RM) $(progs)
distclean: clean
	$(RM) Makefile Makefile.in TAGS
realclean: distclean
extraclean: distclean
	$(RM) *~ \#*

size:
	wc *.c *.h

## Dependencies
dbl.o: 		dbl.h 
dissolve.o:	dissolve.h
draw.o: 	dissolve.h defs.h tree.h dbl.h intf.h
input.o: 	defs.h tree.h input.h dbl.h intf.h
intf.o: 	defs.h tree.h dbl.h intf.h rsrc.h input.h help.h dissolve.h
tree.o: 	defs.h tree.h dbl.h intf.h