annotate lwlib/Makefile.in.in @ 159:3bb7ccffb0c0 r20-3b6

Import from CVS: tag r20-3b6
author cvs
date Mon, 13 Aug 2007 09:41:43 +0200
parents 6b37e6ddd302
children 0132846995bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* Makefile for Lucid Widget Library
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Copyright (C) 1994 Lucid, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 This file is part of the Lucid Widget Library.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 The Lucid Widget Library is free software; you can redistribute it and/or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 modify it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 The Lucid Widget Library is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
19 along with XEmacs; see the file COPYING. If not, write to
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 70
diff changeset
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 70
diff changeset
21 Boston, MA 02111-1307, USA. */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
23 /* Some people use these in paths they define. We do not want their paths
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 getting changed on them. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 #undef sparc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 #undef sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 #undef unix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 #undef sgi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 #undef NeXT
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
30 #undef mips
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
31 #undef i386
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
32 #undef linux
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
34 /* For performance and consistency, no built-in rules */
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
35 .SUFFIXES:
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
36 .SUFFIXES: .c .o .i .h
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
37
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 srcdir=@srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 SHELL=/bin/sh
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 CC=@CC@
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
43 CPP=@CPP@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 CFLAGS=@CFLAGS@
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
45 LDFLAGS=@LDFLAGS@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
46 CPPFLAGS=@CPPFLAGS@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 RANLIB=@RANLIB@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 RM = rm -f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 AR = ar cq
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 @SET_MAKE@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 #define NOT_C_CODE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 #include "../src/config.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 #ifdef USE_GNU_MAKE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 vpath %.c @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 vpath %.h @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 VPATH=@srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
63 #ifdef ENERGIZE
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
64 EZ_OBJS =\
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
65 energize/blpsheet.o energize/build.o energize/classbr_ps.o \
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
66 energize/ctreebr_ps.o energize/debuggerps.o energize/editmode.o \
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
67 energize/leb_psheet.o energize/projectdisp.o energize/projectps.o \
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
68 energize/search.o energize/target.o
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
69 ENERGIZEP = -DENERGIZE
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
70 EZ_SUBDIR = ez_dialog
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
73 objs = lwlib.o lwlib-utils.o lwlib-config.o $(EZ_OBJS) @lwlib_objs@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
75 all: $(EZ_SUBDIR) liblw.a
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
77 c_switch_general=@c_switch_general@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
78 c_switch_window_system=@c_switch_window_system@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
79 c_switch_all=@c_switch_all@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
80 ld_switch_general=@ld_switch_general@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
81 ld_switch_window_system=@ld_switch_window_system@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
82 ld_switch_all=@ld_switch_all@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
83 ld_libs_general=@ld_libs_general@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
84 ld_libs_window_system=@ld_libs_window_system@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
85 ld_libs_all=@ld_libs_all@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
86
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
87 cppflags = $(CPPFLAGS) -I. $(c_switch_all) $(ENERGIZEP)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
88 cflags = $(CFLAGS) $(cppflags)
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
89
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
90 ALL_CFLAGS= $(CFLAGS) $(CPPFLAGS) -I. $(c_switch_all) $(ENERGIZEP)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 .c.o:
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
92 $(CC) -c $(cflags) $<
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
94 /* Create preprocessor output (debugging purposes only) */
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
95 .c.i:
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
96 $(CC) -P $(cppflags) $<
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
97
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
98 liblw.a: $(objs)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 $(RM) $@
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
100 $(AR) $@ $(objs)
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
101 -test -n "$(RANLIB)" && $(RANLIB) $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 #ifdef ENERGIZE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 ez_dialog:
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
105 cd energize && $(MAKE) $(MFLAGS)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107
159
3bb7ccffb0c0 Import from CVS: tag r20-3b6
cvs
parents: 157
diff changeset
108 .PHONY : mostlyclean clean distclean realclean extraclean
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 FRC.mostlyclean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 mostlyclean: FRC.mostlyclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 rm -f liblw.a liblw_pure_*.a *.o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 clean: mostlyclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 #ifdef ENERGIZE
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
114 cd energize && $(MAKE) $(MFLAGS) clean
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 distclean: clean
151
59463afc5666 Import from CVS: tag r20-3b2
cvs
parents: 149
diff changeset
117 rm -f Makefile Makefile.in config.h .pure
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 realclean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 extraclean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 -rm -f *~ \#* m/?*~ s/?*~
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 lwlib-config.o: lwlib.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 lwlib-Xaw.o: lwlib.h lwlib-internal.h lwlib-Xaw.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 lwlib-Xlw.o: lwlib.h lwlib-internal.h lwlib-Xlw.h xlwmenu.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 lwlib-Xm.o: lwlib.h lwlib-internal.h lwlib-utils.h lwlib-Xm.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 lwlib-Xm.o: ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 lwlib-utils.o: lwlib-utils.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 lwlib.o: lwlib.h lwlib-internal.h lwlib-utils.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 lwlib.o: lwlib-Xlw.h lwlib-Xm.h lwlib-Xaw.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 xlwmenu.o: lwlib.h xlwmenu.h xlwmenuP.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 xlwscrollbar.o: lwlib.h xlwscrollbar.h xlwscrollbarP.h ../src/config.h