diff lwlib/energize/Makefile.in.in @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lwlib/energize/Makefile.in.in	Mon Aug 13 08:45:50 2007 +0200
@@ -0,0 +1,137 @@
+/* Makefile for Energize dialog boxes
+   Copyright (C) 1994 Lucid, Inc.
+
+This file is part of the Lucid Widget Library.
+
+The Lucid Widget Library is free software; you can redistribute it and/or 
+modify it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+The Lucid Widget Library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of 
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs; see the file COPYING.  If not, write to
+the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+
+srcdir=@srcdir@
+C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
+C_SWITCH_SITE=@C_SWITCH_SITE@
+
+SHELL=/bin/sh
+
+CC=@CC@
+CFLAGS=@CFLAGS@
+CPP=@CPP@
+RANLIB=@RANLIB@
+@SET_MAKE@
+
+RM = rm -f
+AR = ar cq
+
+#define THIS_IS_YMAKEFILE
+#define NOT_C_CODE
+#include "../../src/config.h"
+
+/* With the traditional VPATH setting, it is not possible to
+   simultaneously compile in-place and in another directory.  The
+   mistaken definition is that *all* dependencies are searched for in
+   the VPATH directory, rather than just the dependencies that are not
+   themselves targets.  Thus, if there is an up-to-date .o file in the
+   in-place location, it will not get recompiled in the not-in-place
+   location.
+
+   The GNU Make `vpath' directive continues this tradition, but at
+   least lets you restrict the classes of files that it applies to.
+   This allows us to kludge around the problem. */
+#ifdef USE_GNU_MAKE
+vpath %.c @srcdir@
+vpath %.h @srcdir@
+/* now list files that should NOT be searched in the srcdir.
+   This includes any .c or .h that's built from something else
+   (e.g. a .in file). */
+/* none here */
+#else
+VPATH=@srcdir@
+#endif
+
+#ifndef C_SWITCH_MACHINE
+#define C_SWITCH_MACHINE
+#endif
+
+#ifndef C_SWITCH_SYSTEM
+#define C_SWITCH_SYSTEM
+#endif
+
+#ifndef C_SWITCH_X_SYSTEM
+#define C_SWITCH_X_SYSTEM
+#endif
+
+#ifndef C_SWITCH_X_MACHINE
+#define C_SWITCH_X_MACHINE
+#endif
+
+#if defined (CONST_IS_LOSING)
+# define CONST_FLAG -DCONST_IS_LOSING
+#else
+# define CONST_FLAG
+#endif
+
+GENERATED_SRC = blpsheet.c build.c classbr_ps.c ctreebr_ps.c debuggerps.c \
+                editmode.c leb_psheet.c projectdisp.c projectps.c search.c \
+                target.c
+SRCS = $(GENERATED_SRC)
+OBJS = blpsheet.o build.o classbr_ps.o ctreebr_ps.o debuggerps.o \
+       editmode.o leb_psheet.o projectdisp.o projectps.o search.o \
+       target.o
+
+#ifdef ENERGIZE
+all:: $(OBJS)
+#else
+all::
+#endif
+
+ALL_CFLAGS = -I. C_SWITCH_MACHINE C_SWITCH_SITE C_SWITCH_X_SITE \
+	     C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM \
+	     C_SWITCH_SYSTEM ${CFLAGS} CONST_FLAG
+
+.SUFFIXES: .xd .xdc
+
+.c.o:
+	$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
+
+blpsheet.c: blpsheet.xdc
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_breaklist_p_sheet > $@
+build.c:
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_build_dialog > $@
+classbr_ps.c: classbr_ps.xdc
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_class_browser_p_sheet > $@
+ctreebr_ps.c: ctreebr_ps.xdc
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_call_browser_p_sheet > $@
+debuggerps.c: debuggerps.xdc
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_debugger_p_sheet > $@
+editmode.c: editmode.xdc
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_editmode_dialog > $@
+leb_psheet.c: leb_psheet.xdc
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_le_browser_p_sheet > $@
+projectdisp.c:
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_project_display_dialog > $@
+projectps.c: projectps.xdc
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_project_p_sheet > $@
+search.c: search.xdc
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_search_dialog > $@
+target.c: target.xdc
+	${srcdir}/fidget-widget ${srcdir}/$(@:.c=.xdc) create_target_dialog > $@
+
+FRC.mostlyclean:
+mostlyclean: FRC.mostlyclean
+	rm -f $(GENERATED_SRC) *.o
+clean: mostlyclean
+distclean: clean
+	rm -f Makefile Makefile.in
+realclean: distclean
+extraclean: distclean
+	-rm -f *~ \#* m/?*~ s/?*~