comparison pkg-src/tree-x/Makefile.in.in @ 167:85ec50267440 r20-3b10

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