]> andersk Git - moira.git/blobdiff - util/imake.includes/Imake.tmpl
don't try to use defines that haven't been defined yet
[moira.git] / util / imake.includes / Imake.tmpl
index 138c7e585422081e0c09cd9c95485eb11e9c874b..21045f4d2291d323c5623bba1c7412e1563b8d07 100644 (file)
@@ -3,8 +3,9 @@
 /**/# or you may lose your changes when imake generates makefiles again.
 /**/# Ignore this message if you are not using imake.
 /**/#
+/**/#  $Source$
+/**/#
 
-SRCTOP=/mit/kerberos/src
 #ifndef NEW_TOP
 NEWTOP=.
 BUILDTOP=.
@@ -13,18 +14,22 @@ NEWTOP=NEW_TOP
 BUILDTOP=NEW_TOP
 #endif
 
-DEPEND=$(BUILDTOP)/util/makedepend/makedepend
-IMAKE=$(BUILDTOP)/util/imake/imake -I$(BUILDTOP)/util/imake.includes
-
-KRB_LIB=$(BUILDTOP)/lib/krb/libkrb.a
-DES_LIB=$(BUILDTOP)/lib/des/libdes.a
-KDB_LIB=$(BUILDTOP)/lib/kdb/libkdb.a
-
-INCLUDE= -I$(BUILDTOP)/include
-CFLAGS=$(DBG) $(INCLUDE) $(DEFINES)
+INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib
+CFLAGS=$(DBG) $(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)
+LINTFLAGS=$(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)
 
 #include "config.Imakefile"
  
+#ifndef USELOCALTOOLS
+/* The makedepend program */
+DEPEND=$(BUILDTOP)/util/makedepend/makedepend
+/* The Imake command line */
+IMAKE=$(BUILDTOP)/util/imake/imake -I$(BUILDTOP)/util/imake.includes
+#else
+DEPEND=makedepend
+IMAKE=imake -I$(BUILDTOP)/util/imake.includes
+#endif
+
 #include "Imake.rules"
 
 #include INCLUDE_IMAKEFILE
@@ -45,4 +50,3 @@ install::
 Makefiles::
 
 /**/# DO NOT DELETE THIS LINE
-
This page took 0.03113 seconds and 4 git commands to generate.