annotate lwlib/Makefile.in.in @ 293:403535bfea94

Added tag r21-0b44 for changeset 6cb5e14cd98e
author cvs
date Mon, 13 Aug 2007 10:37:16 +0200
parents c5d627a313b1
children 8626e4521993
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
1 ## Makefile for Lucid Widget Library
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
2 ## Copyright (C) 1994 Lucid, Inc.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
3 ## Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
4 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
5 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
7 ## This file is part of the Lucid Widget Library.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
9 ## The Lucid Widget Library is free software; you can redistribute it and/or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
10 ## modify it under the terms of the GNU General Public License as published by
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
11 ## the Free Software Foundation; either version 2, or (at your option)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
12 ## any later version.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
14 ## The Lucid Widget Library is distributed in the hope that it will be useful,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
15 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
17 ## GNU General Public License for more details.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
19 ## You should have received a copy of the GNU General Public License
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
20 ## along with XEmacs; see the file COPYING. If not, write to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
21 ## the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
22 ## Boston, MA 02111-1307, USA.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
23
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
24 ## For performance and consistency, no built-in rules
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
25 .SUFFIXES:
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
26 .SUFFIXES: .c .h .o .i .s
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
27
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 srcdir=@srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
30 @SET_MAKE@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 SHELL=/bin/sh
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
32 RM = rm -f
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 171
diff changeset
33 AR = ar cq
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 CC=@CC@
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
36 CPP=@CPP@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 CFLAGS=@CFLAGS@
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
38 CPPFLAGS=@CPPFLAGS@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 RANLIB=@RANLIB@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 #define NOT_C_CODE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 #include "../src/config.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 #ifdef USE_GNU_MAKE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 vpath %.c @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 vpath %.h @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 VPATH=@srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50
217
d44af0c54775 Import from CVS: tag r20-4b7
cvs
parents: 193
diff changeset
51 objs = lwlib.o lwlib-utils.o lwlib-config.o @lwlib_objs@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
217
d44af0c54775 Import from CVS: tag r20-4b7
cvs
parents: 193
diff changeset
53 all: liblw.a
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
55 c_switch_all=@c_switch_all@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
56
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
57 cppflags = $(CPPFLAGS) -I. $(c_switch_all)
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
58 cflags = $(CFLAGS) $(cppflags)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
59
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 173
diff changeset
60 #ifdef SOLARIS2
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 173
diff changeset
61 %.o : %.c
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 173
diff changeset
62 #else
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 .c.o:
193
f53b5ca2e663 Import from CVS: tag r20-3b23
cvs
parents: 173
diff changeset
64 #endif
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
65 $(CC) -c $(cflags) $<
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
67 ## Create preprocessor output (debugging purposes only)
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
68 .c.i:
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
69 #ifdef __GNUC__
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
70 $(CC) -E $(cppflags) -o $@ $<
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
71 #else /* works on Solaris; what about other systems? */
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
72 $(CC) -P $(cppflags) $<
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
73 #endif /* compiler */
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
74
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
75 ## Create assembler output (debugging purposes only)
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
76 .c.s:
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
77 $(CC) -S -c $(cflags) $<
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
78
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
79 liblw.a: $(objs)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 $(RM) $@
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
81 $(AR) $@ $(objs)
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
82 @-test -n "$(RANLIB)" && $(RANLIB) $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 163
diff changeset
84 .PHONY: mostlyclean clean distclean realclean extraclean
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 163
diff changeset
85 mostlyclean:
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 163
diff changeset
86 $(RM) liblw.a liblw_pure_*.a *.o *.i core
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 clean: mostlyclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 distclean: clean
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 163
diff changeset
89 $(RM) Makefile Makefile.in config.h TAGS
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 realclean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 extraclean: distclean
171
929b76928fce Import from CVS: tag r20-3b12
cvs
parents: 163
diff changeset
92 $(RM) *~ \#*
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 159
diff changeset
94 CONFIG_H = ../src/config.h config.h
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
96 ## Following correct as of 19980312
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
97
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
98 lwlib-Xaw.o: $(CONFIG_H) lwlib-Xaw.h lwlib-internal.h lwlib.h xlwmenu.h
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
99 lwlib-Xlw.o: $(CONFIG_H) lwlib-Xlw.h lwlib-internal.h lwlib.h xlwmenu.h xlwscrollbar.h
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
100 lwlib-Xm.o: $(CONFIG_H) lwlib-Xm.h lwlib-internal.h lwlib-utils.h lwlib.h xlwmenu.h
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
101 lwlib-config.o: $(CONFIG_H) lwlib.h xlwmenu.h
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
102 lwlib-utils.o: $(CONFIG_H) lwlib-utils.h
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
103 lwlib.o: $(CONFIG_H) lwlib-Xaw.h lwlib-Xlw.h lwlib-Xm.h lwlib-internal.h lwlib-utils.h lwlib.h xlwmenu.h
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
104 xlwmenu.o: $(CONFIG_H) lwlib.h xlwmenu.h xlwmenuP.h
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 217
diff changeset
105 xlwscrollbar.o: $(CONFIG_H) xlwscrollbar.h xlwscrollbarP.h