annotate lwlib/Makefile.in.in @ 157:6b37e6ddd302 r20-3b5

Import from CVS: tag r20-3b5
author cvs
date Mon, 13 Aug 2007 09:40:41 +0200
parents 59463afc5666
children 3bb7ccffb0c0
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 srcdir=@srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 SHELL=/bin/sh
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 CC=@CC@
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
39 CPP=@CPP@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 CFLAGS=@CFLAGS@
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
41 LDFLAGS=@LDFLAGS@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
42 CPPFLAGS=@CPPFLAGS@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 RANLIB=@RANLIB@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 RM = rm -f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 AR = ar cq
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 @SET_MAKE@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 #define NOT_C_CODE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 #include "../src/config.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 #ifdef USE_GNU_MAKE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 vpath %.c @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 vpath %.h @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 VPATH=@srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
59 #ifdef ENERGIZE
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
60 EZ_OBJS =\
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
61 energize/blpsheet.o energize/build.o energize/classbr_ps.o \
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
62 energize/ctreebr_ps.o energize/debuggerps.o energize/editmode.o \
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
63 energize/leb_psheet.o energize/projectdisp.o energize/projectps.o \
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
64 energize/search.o energize/target.o
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
65 ENERGIZEP = -DENERGIZE
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
66 EZ_SUBDIR = ez_dialog
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
69 lwlib_objs=@lwlib_objs@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
71 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
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 all:: $(EZ_SUBDIR) liblw.a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
149
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
75 c_switch_general=@c_switch_general@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
76 c_switch_window_system=@c_switch_window_system@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
77 c_switch_all=@c_switch_all@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
78 ld_switch_general=@ld_switch_general@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
79 ld_switch_window_system=@ld_switch_window_system@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
80 ld_switch_all=@ld_switch_all@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
81 ld_libs_general=@ld_libs_general@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
82 ld_libs_window_system=@ld_libs_window_system@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
83 ld_libs_all=@ld_libs_all@
538048ae2ab8 Import from CVS: tag r20-3b1
cvs
parents: 80
diff changeset
84
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
85 ALL_CFLAGS= $(CFLAGS) $(CPPFLAGS) -I. $(c_switch_all) $(ENERGIZEP)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 .c.o:
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
87 $(CC) -c $(ALL_CFLAGS) $<
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 liblw.a: $(OBJS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 $(RM) $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 $(AR) $@ $(OBJS)
157
6b37e6ddd302 Import from CVS: tag r20-3b5
cvs
parents: 151
diff changeset
92 -test -n "$(RANLIB)" && $(RANLIB) $@
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 #ifdef ENERGIZE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 ez_dialog:
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
96 cd energize && $(MAKE) $(MFLAGS)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 FRC.mostlyclean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 mostlyclean: FRC.mostlyclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 rm -f liblw.a liblw_pure_*.a *.o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 clean: mostlyclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 #ifdef ENERGIZE
80
1ce6082ce73f Import from CVS: tag r20-0b90
cvs
parents: 78
diff changeset
104 cd energize && $(MAKE) $(MFLAGS) clean
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 distclean: clean
151
59463afc5666 Import from CVS: tag r20-3b2
cvs
parents: 149
diff changeset
107 rm -f Makefile Makefile.in config.h .pure
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 realclean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 extraclean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 -rm -f *~ \#* m/?*~ s/?*~
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 lwlib-config.o: lwlib.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 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
115 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
116 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
117 lwlib-Xm.o: ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 lwlib-utils.o: lwlib-utils.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 lwlib.o: lwlib.h lwlib-internal.h lwlib-utils.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 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
121 xlwmenu.o: lwlib.h xlwmenu.h xlwmenuP.h ../src/config.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 xlwscrollbar.o: lwlib.h xlwscrollbar.h xlwscrollbarP.h ../src/config.h