annotate lwlib/energize/Makefile.in.in @ 94:1040fe1366ac xemacs-20-0f2

Import from CVS: tag xemacs-20-0f2
author cvs
date Mon, 13 Aug 2007 09:12:09 +0200
parents 376386a54a3c
children
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 Energize dialog boxes
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 This file is part of the Lucid Widget Library.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 The Lucid Widget Library is free software; you can redistribute it and/or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 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
8 the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 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
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 srcdir=@srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 C_SWITCH_SITE=@C_SWITCH_SITE@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 SHELL=/bin/sh
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 CC=@CC@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 CFLAGS=@CFLAGS@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 CPP=@CPP@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 RANLIB=@RANLIB@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 @SET_MAKE@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 RM = rm -f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 AR = ar cq
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 #define THIS_IS_YMAKEFILE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 #define NOT_C_CODE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 #include "../../src/config.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 /* With the traditional VPATH setting, it is not possible to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 simultaneously compile in-place and in another directory. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 mistaken definition is that *all* dependencies are searched for in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 the VPATH directory, rather than just the dependencies that are not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 themselves targets. Thus, if there is an up-to-date .o file in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 in-place location, it will not get recompiled in the not-in-place
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 location.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 The GNU Make `vpath' directive continues this tradition, but at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 least lets you restrict the classes of files that it applies to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 This allows us to kludge around the problem. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 #ifdef USE_GNU_MAKE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 vpath %.c @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 vpath %.h @srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 /* now list files that should NOT be searched in the srcdir.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 This includes any .c or .h that's built from something else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 (e.g. a .in file). */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 /* none here */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 VPATH=@srcdir@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 #ifndef C_SWITCH_MACHINE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 #define C_SWITCH_MACHINE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 #ifndef C_SWITCH_SYSTEM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 #define C_SWITCH_SYSTEM
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 #ifndef C_SWITCH_X_SYSTEM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 #define C_SWITCH_X_SYSTEM
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 #ifndef C_SWITCH_X_MACHINE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 #define C_SWITCH_X_MACHINE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 #if defined (CONST_IS_LOSING)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 # define CONST_FLAG -DCONST_IS_LOSING
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 # define CONST_FLAG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 GENERATED_SRC = blpsheet.c build.c classbr_ps.c ctreebr_ps.c debuggerps.c \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 editmode.c leb_psheet.c projectdisp.c projectps.c search.c \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 target.c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 SRCS = $(GENERATED_SRC)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 OBJS = blpsheet.o build.o classbr_ps.o ctreebr_ps.o debuggerps.o \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 editmode.o leb_psheet.o projectdisp.o projectps.o search.o \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 target.o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 #ifdef ENERGIZE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 all:: $(OBJS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 all::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 ALL_CFLAGS = -I. C_SWITCH_MACHINE C_SWITCH_SITE C_SWITCH_X_SITE \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 C_SWITCH_SYSTEM ${CFLAGS} CONST_FLAG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 .SUFFIXES: .xd .xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 .c.o:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 blpsheet.c: blpsheet.xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_breaklist_p_sheet > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 build.c:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_build_dialog > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 classbr_ps.c: classbr_ps.xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_class_browser_p_sheet > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 ctreebr_ps.c: ctreebr_ps.xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_call_browser_p_sheet > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 debuggerps.c: debuggerps.xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_debugger_p_sheet > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 editmode.c: editmode.xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_editmode_dialog > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 leb_psheet.c: leb_psheet.xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_le_browser_p_sheet > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 projectdisp.c:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_project_display_dialog > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 projectps.c: projectps.xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_project_p_sheet > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 search.c: search.xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_search_dialog > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 target.c: target.xdc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 ${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_target_dialog > $@
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 FRC.mostlyclean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 mostlyclean: FRC.mostlyclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 rm -f $(GENERATED_SRC) *.o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 clean: mostlyclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 distclean: clean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 rm -f Makefile Makefile.in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 realclean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 extraclean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 -rm -f *~ \#* m/?*~ s/?*~