annotate lwlib/Makefile.in @ 24283:6822ef19292a

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Mon, 08 Feb 1999 18:03:22 +0000
parents 52ecc33827e0
children 6c4bc75d35fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5652
98e3e12afd53 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 5639
diff changeset
1 # This was taken from the output of Imake
98e3e12afd53 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 5639
diff changeset
2 # and set up to be configured by ../configure.
98e3e12afd53 *** empty log message ***
Roland McGrath <roland@gnu.org>
parents: 5639
diff changeset
3 # Some parts Copyright (c) 1992, 1993 Lucid, Inc.
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
5 srcdir=@srcdir@
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
6 VPATH=@srcdir@
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
7 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
9 CC=@CC@
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
10 CFLAGS=@CFLAGS@
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
11 CPP=@CPP@
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
12 LN_S=@LN_S@
12865
aa38412bf76e (RANLIB): Get this var from configure.
Richard M. Stallman <rms@gnu.org>
parents: 11686
diff changeset
13 RANLIB=@RANLIB@
5639
360a711e7e06 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5636
diff changeset
14 # See below--@X_TOOLKIT_TYPE@ is used below.
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
15 USE_X_TOOLKIT=@X_TOOLKIT_TYPE@
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 TOP = .
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 AR = ar cq
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 LN = ln -s
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 RM = rm -f
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23
6306
19fc40b33f52 *** empty log message ***
Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
parents: 6009
diff changeset
24 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 MOTIF_OBJS = lwlib-Xm.o
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
26 OLIT_OBJS = lwlib-Xol.o lwlib-Xolmb.o
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27
5639
360a711e7e06 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5636
diff changeset
28 TOOLKIT_DEFINES = -DUSE_$(USE_X_TOOLKIT)
360a711e7e06 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5636
diff changeset
29 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS)
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
31 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
32
11686
b1fa0717df0d (ALL_CFLAGS): Add -I../src.
Richard M. Stallman <rms@gnu.org>
parents: 11322
diff changeset
33 # ../src is needed to find config.h.
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
34 ALL_CFLAGS= $(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
35 $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \
11322
518a5db7f4f0 (ALL_CFLAGS): Add -I${srcdir}/../src.
Richard M. Stallman <rms@gnu.org>
parents: 11321
diff changeset
36 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs \
11686
b1fa0717df0d (ALL_CFLAGS): Add -I../src.
Richard M. Stallman <rms@gnu.org>
parents: 11322
diff changeset
37 -I. -I../src -I${srcdir} -I${srcdir}/../src
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 .c.o:
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
40 $(CC) -c ${ALL_CFLAGS} $<
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 all:: liblw.a
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 liblw.a: $(OBJS)
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 $(RM) $@
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 $(AR) $@ $(OBJS)
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
47 @echo Do not be alarmed if the following ranlib command
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
48 @echo fails due to the absence of a ranlib program on your system.
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
49 -$(RANLIB) $@ || true
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
50 #If running ranlib fails, probably there is none.
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
51 #That's ok. So don't stop the build.
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52
11246
c7f6b5b57b71 (lwlib.o): Depend on Makefile.
Richard M. Stallman <rms@gnu.org>
parents: 10762
diff changeset
53 # 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
54 lwlib.o: $(srcdir)/lwlib.c Makefile
6009
f68004daa523 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5985
diff changeset
55 $(CC) -c $(TOOLKIT_DEFINES) $(ALL_CFLAGS) $(srcdir)/lwlib.c
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56
7178
349c14d8be3a entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 6901
diff changeset
57 xrdb-cpp.o: $(srcdir)/xrdb-cpp.c
6009
f68004daa523 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5985
diff changeset
58 $(CC) -c "-DCPP_PROGRAM=$(CPP)" $(ALL_CFLAGS) $(srcdir)/xrdb-cpp.c
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59
22871
52ecc33827e0 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
Richard M. Stallman <rms@gnu.org>
parents: 14913
diff changeset
60 lwlib-utils.o: lwlib-utils.c lwlib-utils.h
52ecc33827e0 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
Richard M. Stallman <rms@gnu.org>
parents: 14913
diff changeset
61 lwlib.o: lwlib.c lwlib.h lwlib-int.h
52ecc33827e0 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
Richard M. Stallman <rms@gnu.org>
parents: 14913
diff changeset
62 lwlib-Xlw.o: lwlib-Xlw.c lwlib.h lwlib-int.h
52ecc33827e0 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
Richard M. Stallman <rms@gnu.org>
parents: 14913
diff changeset
63 lwlib-Xaw.o: lwlib-Xaw.c lwlib.h lwlib-int.h
52ecc33827e0 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
Richard M. Stallman <rms@gnu.org>
parents: 14913
diff changeset
64 lwlib-Xm.o: lwlib-Xm.c lwlib.h lwlib-int.h lwlib-utils.h
52ecc33827e0 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
Richard M. Stallman <rms@gnu.org>
parents: 14913
diff changeset
65 lwlib-Xol.o: lwlib-Xol.c lwlib.h lwlib-int.h
52ecc33827e0 (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
Richard M. Stallman <rms@gnu.org>
parents: 14913
diff changeset
66 lwlib-Xolmb.o: lwlib-Xolmb.c lwlib-Xolmb.h lwlib-XolmbP.h
14882
582cb6240b09 (xlwmenu.o): New explicit target.
Richard M. Stallman <rms@gnu.org>
parents: 12865
diff changeset
67 xlwmenu.o: xlwmenu.c xlwmenu.h lwlib.h xlwmenuP.h
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
69 mostlyclean:
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
70 $(RM) *.o core errs ,* *~ *.a .emacs_* make.log MakeOut \#*
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
72 clean: mostlyclean
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
73 distclean: clean
10685
71fa5c477213 (maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents: 7178
diff changeset
74 maintainer-clean: distclean
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75
14905
2b1cbbb96485 (TAGS): Renamed from `tags' and fixed to work.
Richard M. Stallman <rms@gnu.org>
parents: 14882
diff changeset
76 TAGS:
2b1cbbb96485 (TAGS): Renamed from `tags' and fixed to work.
Richard M. Stallman <rms@gnu.org>
parents: 14882
diff changeset
77 ../lib-src/etags -t *.[ch]
14913
c32eccfde8a2 (tags): New target.
Richard M. Stallman <rms@gnu.org>
parents: 14905
diff changeset
78 tags: TAGS
c32eccfde8a2 (tags): New target.
Richard M. Stallman <rms@gnu.org>
parents: 14905
diff changeset
79 .PHONY: tags