annotate lwlib/Makefile.in @ 112397:a7191495c39c

Include entries from yesterdays checkins that were in an unsaved buffer.
author Ken Manheimer <ken.manheimer@gmail.com>
date Fri, 21 Jan 2011 11:36:24 -0500
parents 61f7601898b1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76175
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
1 # Copyright (C) 1992, 1993 Lucid, Inc.
112284
61f7601898b1 Refill some copyright headers.
Glenn Morris <rgm@gnu.org>
parents: 112228
diff changeset
2 # Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
61f7601898b1 Refill some copyright headers.
Glenn Morris <rgm@gnu.org>
parents: 112228
diff changeset
3 # 2009, 2010, 2011 Free Software Foundation, Inc.
76175
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
4 #
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
5 # This file is part of the Lucid Widget Library.
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
6 #
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
7 # The Lucid Widget Library is free software; you can redistribute it and/or
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
8 # modify it under the terms of the GNU General Public License as published by
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
9 # the Free Software Foundation; either version 1, or (at your option)
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
10 # any later version.
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
11 #
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
12 # The Lucid Widget Library is distributed in the hope that it will be useful,
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
15 # GNU General Public License for more details.
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
16 #
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
17 # You should have received a copy of the GNU General Public License
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
18 # along with GNU Emacs; see the file COPYING. If not, write to
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
19 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
20 # Boston, MA 02110-1301, USA.
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
21
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
22
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 73558
diff changeset
23 # This was taken from the output of Imake using Lucid's Imakefile.
5652
98e3e12afd53 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 5639
diff changeset
24 # and set up to be configured by ../configure.
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
26 srcdir=@srcdir@
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
27 VPATH=@srcdir@
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
28 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
108129
e272dbe64cda Reduce CPP usage.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 107830
diff changeset
29 C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@
108231
4ac65e89bb6e Missing lwlib part of earlier C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents: 108129
diff changeset
30 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
4ac65e89bb6e Missing lwlib part of earlier C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents: 108129
diff changeset
31 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
109359
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 108586
diff changeset
32 C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 108586
diff changeset
33 PROFILING_CFLAGS = @PROFILING_CFLAGS@
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
35 CC=@CC@
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
36 CFLAGS=@CFLAGS@
50740
9212cd524014 Make things function properly in case both LessTif and Open Motif are installed.
Juanma Barranquero <lekktu@gmail.com>
parents: 44919
diff changeset
37 CPPFLAGS=@CPPFLAGS@
12865
aa38412bf76e (RANLIB): Get this var from configure.
Richard M. Stallman <rms@gnu.org>
parents: 11686
diff changeset
38 RANLIB=@RANLIB@
5639
360a711e7e06 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5636
diff changeset
39 # See below--@X_TOOLKIT_TYPE@ is used below.
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
40 USE_X_TOOLKIT=@X_TOOLKIT_TYPE@
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108231
diff changeset
42 AR = ar cq
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108231
diff changeset
43 RM = rm -f
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108231
diff changeset
45 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108231
diff changeset
46 MOTIF_OBJS = lwlib-Xm.o
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47
94175
dfdc13740582 * configure.in: Define USE_LUCID/USE_MOTIF in config.h.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 79747
diff changeset
48 TOOLKIT_DEFINES =
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108231
diff changeset
49 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS)
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50
108265
39e86d46390a Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents: 108231
diff changeset
51 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
52
11686
b1fa0717df0d (ALL_CFLAGS): Add -I../src.
Richard M. Stallman <rms@gnu.org>
parents: 11322
diff changeset
53 # ../src is needed to find config.h.
96923
d89afa2b4c2f * config.in: Regenerate.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 94175
diff changeset
54 ALL_CFLAGS= $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
109359
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 108586
diff changeset
55 $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) \
b7e047772c64 Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
Andreas Schwab <schwab@linux-m68k.org>
parents: 108586
diff changeset
56 ${C_WARNINGS_SWITCH} ${PROFILING_CFLAGS} $(CFLAGS) \
44919
fcecfcb56e16 Remove OpenLook file dependencies.
Pavel Janík <Pavel@Janik.cz>
parents: 44686
diff changeset
57 -DHAVE_CONFIG_H -Demacs -I. -I../src -I${srcdir} -I${srcdir}/../src
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 .c.o:
50740
9212cd524014 Make things function properly in case both LessTif and Open Motif are installed.
Juanma Barranquero <lekktu@gmail.com>
parents: 44919
diff changeset
60 $(CC) -c $(CPPFLAGS) ${ALL_CFLAGS} $<
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 all:: liblw.a
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 liblw.a: $(OBJS)
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 $(RM) $@
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 $(AR) $@ $(OBJS)
28058
6c4bc75d35fe (liblw.a): Don't bother testing for ranlib failing
Dave Love <fx@gnu.org>
parents: 22871
diff changeset
67 $(RANLIB) $@
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68
11246
c7f6b5b57b71 (lwlib.o): Depend on Makefile.
Richard M. Stallman <rms@gnu.org>
parents: 10762
diff changeset
69 # Depend on Makefile so that we recompile if TOOLKIT_DEFINES changes.
c7f6b5b57b71 (lwlib.o): Depend on Makefile.
Richard M. Stallman <rms@gnu.org>
parents: 10762
diff changeset
70 lwlib.o: $(srcdir)/lwlib.c Makefile
73558
b6804026cc8e * Makefile.in (lwlib-utils.o): Use CPPFLAGS.
Chong Yidong <cyd@stupidchicken.com>
parents: 59100
diff changeset
71 $(CC) -c $(CPPFLAGS) $(TOOLKIT_DEFINES) $(ALL_CFLAGS) $(srcdir)/lwlib.c
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72
22871
52ecc33827e0 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
Richard M. Stallman <rms@gnu.org>
parents: 14913
diff changeset
73 lwlib-utils.o: lwlib-utils.c lwlib-utils.h
29464
4205afb9033f (lwlib.o): Depend on lwlib-Xlw.h.
Dave Love <fx@gnu.org>
parents: 28058
diff changeset
74 lwlib.o: lwlib.c lwlib.h lwlib-int.h lwlib-Xaw.h lwlib-Xlw.h
4205afb9033f (lwlib.o): Depend on lwlib-Xlw.h.
Dave Love <fx@gnu.org>
parents: 28058
diff changeset
75 lwlib-Xlw.o: lwlib-Xlw.c lwlib.h lwlib-int.h lwlib-Xlw.h
4205afb9033f (lwlib.o): Depend on lwlib-Xlw.h.
Dave Love <fx@gnu.org>
parents: 28058
diff changeset
76 lwlib-Xaw.o: lwlib-Xaw.c lwlib-Xaw.h lwlib.h lwlib-int.h
4205afb9033f (lwlib.o): Depend on lwlib-Xlw.h.
Dave Love <fx@gnu.org>
parents: 28058
diff changeset
77 lwlib-Xm.o: lwlib-Xm.c lwlib-Xm.h lwlib.h lwlib-int.h lwlib-utils.h
14882
582cb6240b09 (xlwmenu.o): New explicit target.
Richard M. Stallman <rms@gnu.org>
parents: 12865
diff changeset
78 xlwmenu.o: xlwmenu.c xlwmenu.h lwlib.h xlwmenuP.h
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
80 mostlyclean:
108586
36240284aaab * lwlib/Makefile.in (mostlyclean): Remove references to non-existent files.
Glenn Morris <rgm@gnu.org>
parents: 108265
diff changeset
81 $(RM) *.o core liblw.a \#*
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
83 clean: mostlyclean
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
84 distclean: clean
76223
ad3b7db83d7e (distclean): Delete Makefile.
Glenn Morris <rgm@gnu.org>
parents: 76175
diff changeset
85 $(RM) Makefile
10685
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 7178
diff changeset
86 maintainer-clean: distclean
76223
ad3b7db83d7e (distclean): Delete Makefile.
Glenn Morris <rgm@gnu.org>
parents: 76175
diff changeset
87 $(RM) TAGS
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88
14905
2b1cbbb96485 (TAGS): Renamed from `tags' and fixed to work.
Richard M. Stallman <rms@gnu.org>
parents: 14882
diff changeset
89 TAGS:
44686
1cea8c8f73cb (TAGS): Don't use -t, it's the default for
Eli Zaretskii <eliz@gnu.org>
parents: 41650
diff changeset
90 ../lib-src/etags $(srcdir)/*.[ch]
14913
c32eccfde8a2 (tags): New target.
Richard M. Stallman <rms@gnu.org>
parents: 14905
diff changeset
91 tags: TAGS
c32eccfde8a2 (tags): New target.
Richard M. Stallman <rms@gnu.org>
parents: 14905
diff changeset
92 .PHONY: tags