]> andersk Git - moira.git/blobdiff - util/imake/Makefile
sync'ing files for RCS->CVS migration
[moira.git] / util / imake / Makefile
index da7d86d4dabf80f881bde03c779cb36d2e2d4605..1ec5dce7893334fdedfccd35c0146b4155f75a84 100644 (file)
@@ -1,35 +1,63 @@
 #
-# WARNING! This is NOT an automatically generated Makefile!
-# This is hand-crafted as a bootstrap, may need editing for your system.
+#   WARNING    WARNING    WARNING    WARNING    WARNING    WARNING    WARNING
+#
+# This is NOT an automatically generated Makefile!  It is hand-crafted as a 
+# bootstrap, may need editing for your system.  The BOOTSTRAPCFLAGS variable
+# may be given at the top of the build tree for systems that do not define
+# any machine-specific preprocessor symbols.
+#
 
+BOOTSTRAPCFLAGS = 
+    CDEBUGFLAGS = -O
+         CFLAGS = $(BOOTSTRAPCFLAGS) $(CDEBUGFLAGS)
           SHELL = /bin/sh
              RM = rm -f
            MAKE = make
          RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
                        tags TAGS make.log
+             LN = cp
+          NPROC = 1
+        DESTDIR = .
+         SRCDIR = /mit/moiradev/src
+        SOURCES = ${SRCDIR}/util/imake/imake.c ${SRCDIR}/util/imake/ccimake.c \
+                 ${SRCDIR}/util/imake/Makefile ${SRCDIR}/util/imake/imakemdep.h
 
 all: imake
 
-imake: ccflags imake.c
-       $(CC) -o imake imake.c `./ccflags`
+imake::
+       @echo "making imake with BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)"
+
+imake:: ccimake imake.c
+       $(CC) -o imake $(CFLAGS) imake.c `./ccimake`
 
-ccflags: ccflags.c
-       $(CC) -o ccflags ccflags.c
+ccimake: ccimake.c
+       $(CC) -o ccimake $(CFLAGS) ccimake.c
 
 relink:
        $(RM) imake
        $(MAKE) $(MFLAGS) imake
 
 clean:
-       $(RM) ccflags imake
+       $(RM) ccimake imake
        $(RM_CMD) \#*
 
 depend:
 
-Makefile:
+config: $(SOURCES)
+       -mkdir $(DESTDIR)/util/imake
+       for i in $(SOURCES); do \
+               $(RM) ${DESTDIR}/util/imake/`basename $$i`; \
+               $(LN) $$i ${DESTDIR}/util/imake/`basename $$i`; done
+
+# for manual use
+
+Makefile: imake
+       imake -DNEWTOP=../
 
 tags:
 
 install:
 
+install.man:
+
 Makefiles:
This page took 0.036247 seconds and 4 git commands to generate.