Mercurial > emacs
annotate lwlib/Makefile.in @ 9601:18c1f0c8c6ec
(auto-mode-alist): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 19 Oct 1994 00:03:41 +0000 |
parents | 349c14d8be3a |
children | 71fa5c477213 |
rev | line source |
---|---|
5652 | 1 # This was taken from the output of Imake |
2 # and set up to be configured by ../configure. | |
3 # Some parts Copyright (c) 1992, 1993 Lucid, Inc. | |
5626 | 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 | 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 | 15 |
16 TOP = . | |
17 | |
18 AR = ar cq | |
19 | |
20 LN = ln -s | |
21 RANLIB = ranlib | |
22 RM = rm -f | |
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 | 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 | 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 | 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 |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
33 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
|
34 $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \ |
6901
01e7faac0761
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
6306
diff
changeset
|
35 -DEMACS_BITMAP_FILES -Demacs |
5626 | 36 |
37 .c.o: | |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
38 $(CC) -c ${ALL_CFLAGS} $< |
5626 | 39 |
40 all:: liblw.a | |
41 | |
42 liblw.a: $(OBJS) | |
43 $(RM) $@ | |
44 $(AR) $@ $(OBJS) | |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
45 @echo Do not be alarmed if the following ranlib command |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
46 @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
|
47 -$(RANLIB) $@ || true |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
48 #If running ranlib fails, probably there is none. |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
49 #That's ok. So don't stop the build. |
5626 | 50 |
7178 | 51 lwlib.o: $(srcdir)/lwlib.c |
6009
f68004daa523
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5985
diff
changeset
|
52 $(CC) -c $(TOOLKIT_DEFINES) $(ALL_CFLAGS) $(srcdir)/lwlib.c |
5626 | 53 |
7178 | 54 xrdb-cpp.o: $(srcdir)/xrdb-cpp.c |
6009
f68004daa523
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5985
diff
changeset
|
55 $(CC) -c "-DCPP_PROGRAM=$(CPP)" $(ALL_CFLAGS) $(srcdir)/xrdb-cpp.c |
5626 | 56 |
57 lwlib-utils.o: lwlib-utils.h | |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
58 lwlib.o: lwlib.h lwlib-int.h |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
59 lwlib-Xlw.o: lwlib.h lwlib-int.h |
6306
19fc40b33f52
*** empty log message ***
Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
parents:
6009
diff
changeset
|
60 lwlib-Xaw.o: lwlib.h lwlib-int.h |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
61 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
|
62 lwlib-Xol.o: lwlib.h lwlib-int.h |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
63 lwlib-Xolmb.o: lwlib-Xolmb.h lwlib-XolmbP.h |
5626 | 64 |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
65 mostlyclean: |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
66 $(RM) *.o core errs ,* *~ *.a .emacs_* make.log MakeOut \#* |
5626 | 67 |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
68 clean: mostlyclean |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
69 distclean: clean |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
70 realclean: distclean |
5626 | 71 |
72 tags:: | |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
73 $(TAGS) -t *.[ch] |