comparison lwlib/Makefile.in.in @ 14:9ee227acff29 r19-15b90

Import from CVS: tag r19-15b90
author cvs
date Mon, 13 Aug 2007 08:48:42 +0200
parents bcdc7deadc19
children 131b0175ea99
comparison
equal deleted inserted replaced
13:13c6d0aaafe5 14:9ee227acff29
14 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details. 16 GNU General Public License for more details.
17 17
18 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs; see the file COPYING. If not, write to 19 along with XEmacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */ 21 Boston, MA 02111-1307, USA. */
22 22
23 /* Some people use these in paths they define. We don't want their paths 23 /* Some people use these in paths they define. We do not want their paths
24 getting changed on them. */ 24 getting changed on them. */
25 #undef sparc 25 #undef sparc
26 #undef sun 26 #undef sun
27 #undef unix 27 #undef unix
28 #undef sgi 28 #undef sgi
53 the VPATH directory, rather than just the dependencies that are not 53 the VPATH directory, rather than just the dependencies that are not
54 themselves targets. Thus, if there is an up-to-date .o file in the 54 themselves targets. Thus, if there is an up-to-date .o file in the
55 in-place location, it will not get recompiled in the not-in-place 55 in-place location, it will not get recompiled in the not-in-place
56 location. 56 location.
57 57
58 The GNU Make `vpath' directive continues this tradition, but at 58 The GNU Make "vpath" directive continues this tradition, but at
59 least lets you restrict the classes of files that it applies to. 59 least lets you restrict the classes of files that it applies to.
60 This allows us to kludge around the problem. */ 60 This allows us to kludge around the problem. */
61 #ifdef USE_GNU_MAKE 61 #ifdef USE_GNU_MAKE
62 vpath %.c @srcdir@ 62 vpath %.c @srcdir@
63 vpath %.h @srcdir@ 63 vpath %.h @srcdir@
64 /* now list files that should NOT be searched in the srcdir. 64 /* now list files that should NOT be searched in the srcdir.
65 This includes any .c or .h that's built from something else 65 This includes any .c or .h built from something else
66 (e.g. a .in file). */ 66 (e.g. a .in file). */
67 /* none here */ 67 /* none here */
68 #else 68 #else
69 VPATH=@srcdir@ 69 VPATH=@srcdir@
70 #endif 70 #endif
228 $(RANLIB) $@; \ 228 $(RANLIB) $@; \
229 fi 229 fi
230 230
231 #ifdef ENERGIZE 231 #ifdef ENERGIZE
232 ez_dialog: 232 ez_dialog:
233 cd energize ; $(MAKE) $(MFLAGS) 233 cd energize && $(MAKE) $(MFLAGS)
234 #endif 234 #endif
235 235
236 FRC.mostlyclean: 236 FRC.mostlyclean:
237 mostlyclean: FRC.mostlyclean 237 mostlyclean: FRC.mostlyclean
238 rm -f liblw.a liblw_pure_*.a *.o 238 rm -f liblw.a liblw_pure_*.a *.o
239 clean: mostlyclean 239 clean: mostlyclean
240 #ifdef ENERGIZE 240 #ifdef ENERGIZE
241 cd energize ; $(MAKE) $(MFLAGS) clean 241 cd energize && $(MAKE) $(MFLAGS) clean
242 #endif 242 #endif
243 distclean: clean 243 distclean: clean
244 rm -f Makefile Makefile.in .pure 244 rm -f Makefile Makefile.in .pure
245 realclean: distclean 245 realclean: distclean
246 extraclean: distclean 246 extraclean: distclean