annotate pkg-src/tree-x/Makefile.in.in @ 169:15872534500d r20-3b11

Import from CVS: tag r20-3b11
author cvs
date Mon, 13 Aug 2007 09:46:53 +0200
parents 85ec50267440
children 929b76928fce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
1 ##
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
2 ## SUMMARY: Makefile for the OO-Browser
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
3 ##
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
4 ## AUTHOR: Bob Weiner / Mark Stern
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
5 ## ORG: InfoDock Associates / Brown U.
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
6 ##
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
7 ## ORIG-DATE: 15-Oct-90
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
8 ## LAST-MOD: 19-Oct-96 at 00:53:29 by Bob Weiner
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
9 ##
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
10 ## Copyright (C) 1990-1996 Free Software Foundation, Inc.
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
11 ## See the file BR-COPY for license information.
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
12 ##
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
13 ## This file is part of the OO-Browser.
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
14
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
15 #define NOT_C_CODE
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
16 #include "../../src/config.h"
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
17
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
18 SHELL = /bin/sh
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
19 RM = rm -f
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
20
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
21 ## ==================== Things "configure" will edit ====================
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
22 CC=@CC@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
23 CPP=@CPP@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
24 CFLAGS=@CFLAGS@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
25 CPPFLAGS=@CPPFLAGS@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
26 LDFLAGS=@LDFLAGS@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
27
169
15872534500d Import from CVS: tag r20-3b11
cvs
parents: 167
diff changeset
28 INSTALL = @INSTALL@
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
29 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
30
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
31 c_switch_all=@c_switch_all@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
32 ld_switch_all=@ld_switch_all@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
33 ld_libs_all=@ld_libs_all@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
34
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
35 build_top=../..
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
36
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
37 #ifdef USE_GNU_MAKE
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
38 vpath %.c @srcdir@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
39 vpath %.h @srcdir@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
40 #else
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
41 VPATH=@srcdir@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
42 #endif
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
43
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
44 #ifndef HAVE_USLEEP
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
45 usleep_objs = usleep.o
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
46 #endif
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
47
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
48 progs = xoobr
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
49 objs = draw.o tree.o input.o dissolve.o dbl.o intf.o $(usleep_objs)
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
50
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
51 all : xoobr
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
52
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
53 xoobr: $(objs)
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
54 $(CC) $(objs) $(ldflags) -o $@
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
55
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
56 cflags = $(CFLAGS) -DHAVE_CONFIG_H -I${build_top}/src $(CPPFLAGS) $(c_switch_all)
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
57 ldflags = $(LDFLAGS) $(ld_switch_all) -lXaw $(ld_libs_all)
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
58
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
59 .c.o :
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
60 ${CC} -c $(cflags) $<
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
61
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
62 install: $(progs)
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
63 ../../lib-src/make-path ${archlibdir}
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
64 for file in $(progs); do \
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
65 (cd ../.. && $(INSTALL_PROGRAM) pkg-src/tree-x/$${file} ${archlibdir}/$${file}) ; \
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
66 done
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
67
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
68 clean:
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
69 $(RM) $(progs) *.o *.i *.orig *.rej core *~
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
70
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
71 size:
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
72 wc *.c *.h
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
73
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
74 ## Dependencies
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
75 dbl.o: dbl.h
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
76 dissolve.o: dissolve.h
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
77 draw.o: defs.h tree.h dbl.h intf.h
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
78 input.o: defs.h tree.h input.h
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
79 intf.o: defs.h tree.h dbl.h intf.h rsrc.h input.h help.h
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents:
diff changeset
80 tree.o: defs.h tree.h intf.h