Mercurial > emacs
annotate lwlib/Makefile.in @ 64948:4d49c0a8741e
*** empty log message ***
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Sun, 14 Aug 2005 06:59:39 +0000 |
parents | 768cf68dcd0a |
children | b6804026cc8e 95879cc1ed20 |
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@ |
50740
9212cd524014
Make things function properly in case both LessTif and Open Motif are installed.
Juanma Barranquero <lekktu@gmail.com>
parents:
44919
diff
changeset
|
12 CPPFLAGS=@CPPFLAGS@ |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
13 LN_S=@LN_S@ |
12865
aa38412bf76e
(RANLIB): Get this var from configure.
Richard M. Stallman <rms@gnu.org>
parents:
11686
diff
changeset
|
14 RANLIB=@RANLIB@ |
5639
360a711e7e06
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5636
diff
changeset
|
15 # See below--@X_TOOLKIT_TYPE@ is used below. |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
16 USE_X_TOOLKIT=@X_TOOLKIT_TYPE@ |
5626 | 17 |
18 TOP = . | |
19 | |
20 AR = ar cq | |
21 | |
22 LN = ln -s | |
23 RM = rm -f | |
24 | |
6306
19fc40b33f52
*** empty log message ***
Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
parents:
6009
diff
changeset
|
25 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o |
5626 | 26 MOTIF_OBJS = lwlib-Xm.o |
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 |
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) \ |
50740
9212cd524014
Make things function properly in case both LessTif and Open Motif are installed.
Juanma Barranquero <lekktu@gmail.com>
parents:
44919
diff
changeset
|
35 $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CFLAGS) \ |
44919
fcecfcb56e16
Remove OpenLook file dependencies.
Pavel Janík <Pavel@Janik.cz>
parents:
44686
diff
changeset
|
36 -DHAVE_CONFIG_H -Demacs -I. -I../src -I${srcdir} -I${srcdir}/../src |
5626 | 37 |
38 .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
|
39 $(CC) -c $(CPPFLAGS) ${ALL_CFLAGS} $< |
5626 | 40 |
41 all:: liblw.a | |
42 | |
43 liblw.a: $(OBJS) | |
44 $(RM) $@ | |
45 $(AR) $@ $(OBJS) | |
28058
6c4bc75d35fe
(liblw.a): Don't bother testing for ranlib failing
Dave Love <fx@gnu.org>
parents:
22871
diff
changeset
|
46 $(RANLIB) $@ |
5626 | 47 |
11246
c7f6b5b57b71
(lwlib.o): Depend on Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
10762
diff
changeset
|
48 # 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
|
49 lwlib.o: $(srcdir)/lwlib.c Makefile |
6009
f68004daa523
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5985
diff
changeset
|
50 $(CC) -c $(TOOLKIT_DEFINES) $(ALL_CFLAGS) $(srcdir)/lwlib.c |
5626 | 51 |
22871
52ecc33827e0
(lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
Richard M. Stallman <rms@gnu.org>
parents:
14913
diff
changeset
|
52 lwlib-utils.o: lwlib-utils.c lwlib-utils.h |
29464 | 53 lwlib.o: lwlib.c lwlib.h lwlib-int.h lwlib-Xaw.h lwlib-Xlw.h |
54 lwlib-Xlw.o: lwlib-Xlw.c lwlib.h lwlib-int.h lwlib-Xlw.h | |
55 lwlib-Xaw.o: lwlib-Xaw.c lwlib-Xaw.h lwlib.h lwlib-int.h | |
56 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
|
57 xlwmenu.o: xlwmenu.c xlwmenu.h lwlib.h xlwmenuP.h |
5626 | 58 |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
59 mostlyclean: |
59100
768cf68dcd0a
* xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
Jan Djärv <jan.h.d@swipnet.se>
parents:
56026
diff
changeset
|
60 $(RM) *.o core errs ,* *.a .emacs_* make.log MakeOut \#* |
5626 | 61 |
5636
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
62 clean: mostlyclean |
7c7250844e72
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
63 distclean: clean |
10685
71fa5c477213
(maintainer-clean): Renamed from realclean.
Richard M. Stallman <rms@gnu.org>
parents:
7178
diff
changeset
|
64 maintainer-clean: distclean |
5626 | 65 |
14905
2b1cbbb96485
(TAGS): Renamed from `tags' and fixed to work.
Richard M. Stallman <rms@gnu.org>
parents:
14882
diff
changeset
|
66 TAGS: |
44686
1cea8c8f73cb
(TAGS): Don't use -t, it's the default for
Eli Zaretskii <eliz@gnu.org>
parents:
41650
diff
changeset
|
67 ../lib-src/etags $(srcdir)/*.[ch] |
14913 | 68 tags: TAGS |
69 .PHONY: tags |