annotate lwlib/Makefile.in.in @ 5440:24c67faf4be6

Added property notice and license to ChangeLogs.
author Mats Lidell <matsl@xemacs.org>
date Mon, 06 Dec 2010 23:03:25 +0100
parents ade4c7e2c6cb
children 4aa8ee813265
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 ## Makefile for Lucid Widget Library
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 ## Copyright (C) 1994 Lucid, Inc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 ## Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc.
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
6 ## Copyright (C) 2005 Ben Wing.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7
5422
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
8 ## This file is part of Lucid Widget Library.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9
5422
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
10 ## The Lucid Widget Library is free software: you can redistribute it
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
11 ## and/or modify it under the terms of the GNU General Public License
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
12 ## as published by the Free Software Foundation, either version 3 of
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
13 ## the License, or (at your option) any later version.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14
5422
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
15 ## The Lucid Widget Library is distributed in the hope that it will be
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
16 ## useful, but WITHOUT ANY WARRANTY; without even the implied warranty
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
17 ## of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 ## GNU General Public License for more details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 ## You should have received a copy of the GNU General Public License
5422
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
21 ## along with the Lucid Widget Library. If not, see
ade4c7e2c6cb Migrate lwlib/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents: 3094
diff changeset
22 ## <http://www.gnu.org/licenses/>.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 ## For performance and consistency, no built-in rules
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 .SUFFIXES:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 .SUFFIXES: .c .h .o .i .s
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28 srcdir=@srcdir@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
30 @SET_MAKE@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31 SHELL=/bin/sh
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32 RM = rm -f
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33 AR = ar cq
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35 CC=@XEMACS_CC@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
36 CPP=@CPP@
1889
bf8be6575eae [xemacs-hg @ 2004-01-28 11:20:34 by stephent]
stephent
parents: 551
diff changeset
37 CFLAGS=@XE_CFLAGS@
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
38 CPPFLAGS=@CPPFLAGS@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 RANLIB=@RANLIB@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
41 #define NOT_C_CODE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
42 #include "../src/config.h"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
43
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
44 #ifdef USE_GNU_MAKE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
45 vpath %.c @srcdir@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
46 vpath %.h @srcdir@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
47 #else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48 VPATH=@srcdir@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
49 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
50
3094
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 3083
diff changeset
51 objs = lwlib.o lwlib-utils.o lwlib-colors.o lwlib-fonts.o @lwlib_objs@
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
52
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
53 all: liblw.a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
54
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
55 c_switch_all=@c_switch_all@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
56
2286
04bc9d2f42c7 [xemacs-hg @ 2004-09-20 19:18:55 by james]
james
parents: 1889
diff changeset
57 cppflags = $(CPPFLAGS) -I. -I$(srcdir)/../src $(c_switch_all)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
58 cflags = $(CFLAGS) $(cppflags)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
59
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
60 #ifdef SOLARIS2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
61 %.o : %.c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
62 #else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
63 .c.o:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
64 #endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
65 $(CC) -c $(cflags) $<
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
66
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
67 ## Create preprocessor output (debugging purposes only)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
68 .c.i:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
69 #ifdef __GNUC__
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
70 $(CC) -E $(cppflags) -o $@ $<
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
71 #else /* works on Solaris; what about other systems? */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72 $(CC) -P $(cppflags) $<
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
73 #endif /* compiler */
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
74
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75 ## Create assembler output (debugging purposes only)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 .c.s:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 $(CC) -S -c $(cflags) $<
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
79 liblw.a: $(objs)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
80 $(RM) $@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
81 $(AR) $@ $(objs)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
82 @-test -n "$(RANLIB)" && $(RANLIB) $@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
83
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84 .PHONY: mostlyclean clean distclean realclean extraclean
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
85 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
86 mostlyclean:
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
87 -$(RM) liblw.a liblw_pure_*.a *.o *.i core
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
88 clean: mostlyclean
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
89 distclean-noconfig: clean
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
90 -$(RM) config.h TAGS
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
91 ## This is used in making a distribution.
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
92 ## Do not use it on development directories!
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
93 distclean: distclean-noconfig
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
94 -$(RM) GNUmakefile Makefile Makefile.in
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
95 realclean-noconfig: distclean-noconfig
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
96 realclean: distclean
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
97 extraclean-noconfig: realclean-noconfig
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
98 -$(RM) *~ \#*
3062
21d92abaac3a [xemacs-hg @ 2005-11-13 10:39:28 by ben]
ben
parents: 2286
diff changeset
99 extraclean: realclean
3083
193188e494b2 [xemacs-hg @ 2005-11-22 07:14:37 by ben]
ben
parents: 3062
diff changeset
100 -$(RM) *~ \#*
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
101
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
102 CONFIG_H = ../src/config.h config.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
103
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
104 ## Following correct as of 19980312
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
105
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
106 lwlib-Xaw.o: $(CONFIG_H) lwlib-Xaw.h lwlib-internal.h lwlib.h xlwmenu.h xlwradio.h \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
107 xlwgauge.h xlwcheckbox.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
108 lwlib-Xlw.o: $(CONFIG_H) lwlib-Xlw.h lwlib-internal.h lwlib.h xlwmenu.h xlwscrollbar.h \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
109 xlwtabs.h xlwgcs.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
110 lwlib-Xm.o: $(CONFIG_H) lwlib-Xm.h lwlib-internal.h lwlib-utils.h lwlib.h xlwmenu.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
111 lwlib-utils.o: $(CONFIG_H) lwlib-utils.h
3094
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 3083
diff changeset
112 lwlib-colors.o: $(CONFIG_H) lwlib-colors.h
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 3083
diff changeset
113 lwlib-fonts.o: $(CONFIG_H) lwlib-fonts.h
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
114 lwlib.o: $(CONFIG_H) lwlib-Xaw.h lwlib-Xlw.h lwlib-Xm.h lwlib-internal.h lwlib-utils.h lwlib.h xlwmenu.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115 xlwmenu.o: $(CONFIG_H) lwlib.h xlwmenu.h xlwmenuP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
116 xlwscrollbar.o: $(CONFIG_H) xlwscrollbar.h xlwscrollbarP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
117 xlwtabs.o: $(CONFIG_H) xlwtabs.h xlwtabsP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
118 xlwradio.o: $(CONFIG_H) xlwradio.h xlwradioP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
119 xlwcheckbox.o: $(CONFIG_H) xlwcheckbox.h xlwcheckboxP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
120 xlwgauge.o: $(CONFIG_H) xlwgauge.h xlwgaugeP.h
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
121 xlwgcs.o: $(CONFIG_H) xlwgcs.h