annotate lwlib/Makefile.in @ 5985:e3987bd63d2e

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Thu, 17 Feb 1994 23:32:05 +0000
parents 106b44428a80
children f68004daa523
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@
5639
360a711e7e06 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5636
diff changeset
13 # See below--@X_TOOLKIT_TYPE@ is used below.
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
14 USE_X_TOOLKIT=@X_TOOLKIT_TYPE@
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 TOP = .
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 AR = ar cq
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 LN = ln -s
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 RANLIB = ranlib
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
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 LUCID_SRCS = lwlib-Xlw.c xlwmenu.c
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 MOTIF_SRCS = lwlib-Xm.c
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 MOTIF_OBJS = lwlib-Xm.o
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
28 OLIT_SRCS = lwlib-Xol.c lwlib-Xolmb.c
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
29 OLIT_OBJS = lwlib-Xol.o lwlib-Xolmb.o
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30
5639
360a711e7e06 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5636
diff changeset
31 TOOLKIT_DEFINES = -DUSE_$(USE_X_TOOLKIT)
360a711e7e06 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5636
diff changeset
32 TOOLKIT_SRCS = $(@X_TOOLKIT_TYPE@_SRCS)
360a711e7e06 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5636
diff changeset
33 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS)
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 SRCS = lwlib.c $(TOOLKIT_SRCS) lwlib-utils.c
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
36 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
37
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
38 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
39 $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \
5985
e3987bd63d2e *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5663
diff changeset
40 -DEMACS_BITMAP_FILES -DTHIS_IS_X11R4 -Demacs
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 .c.o:
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
43 $(CC) -c ${ALL_CFLAGS} $<
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 all:: liblw.a
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 liblw.a: $(OBJS)
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 $(RM) $@
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 $(AR) $@ $(OBJS)
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
50 @echo Do not be alarmed if the following ranlib command
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
51 @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
52 -$(RANLIB) $@ || true
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
53 #If running ranlib fails, probably there is none.
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
54 #That's ok. So don't stop the build.
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 lwlib.o: lwlib.c
5663
106b44428a80 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5652
diff changeset
57 $(CC) -c $(ALL_CFLAGS) $(TOOLKIT_DEFINES) $(srcdir)/lwlib.c
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 xrdb-cpp.o: xrdb-cpp.c
5663
106b44428a80 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5652
diff changeset
60 $(CC) -c $(ALL_CFLAGS) "-DCPP_PROGRAM=$(CPP)" $(srcdir)/xrdb-cpp.c
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 lwlib-utils.o: lwlib-utils.h
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
63 lwlib.o: lwlib.h lwlib-int.h
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
64 lwlib-Xlw.o: lwlib.h lwlib-int.h
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
65 lwlib-Xm.o: lwlib.h lwlib-int.h lwlib-utils.h
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
66 lwlib-Xol.o: lwlib.h lwlib-int.h
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
67 lwlib-Xolmb.o: lwlib-Xolmb.h lwlib-XolmbP.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
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
74 realclean: distclean
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 tags::
5636
7c7250844e72 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
77 $(TAGS) -t *.[ch]