]> andersk Git - moira.git/blobdiff - Imakefile
removed access restriction from reading machine table
[moira.git] / Imakefile
index baf91092c18722538419bec5c77cc5ef71b22674..00fafd21fca048d3d43f4380d92eae7948f2fbfb 100644 (file)
--- a/Imakefile
+++ b/Imakefile
 
 #define have_subdirs
 CODE=Imakefile
-CLIENTDIRS=util gdb rpc clients man mrtest update
-SRVRDIRS=server backup db dbck dcm gen reg_svr incremental regtape
+CLIENTDIRS=util include gdb lib clients man update
+SVRDIRS=server db backup dbck dcm gen reg_svr incremental regtape
 #ifdef SVRBUILD
 SUBDIRS=$(CLIENTDIRS) $(SVRDIRS)
 #else
 SUBDIRS=$(CLIENTDIRS)
 #endif
 
+#ifndef USELOCALTOOLS
+all:: et ss
+#else
 all:: 
+#endif
+
+#ifndef USELOCALTOOLS
 
 world::
        make ${MFLAGS} clean-imake
@@ -27,6 +33,17 @@ world::
        make ${MFLAGS} depend
        make ${MFLAGS} all
 
+#else /* USELOCALTOOLS */
+
+world::
+       make ${MFLAGS} clean-imake
+       make ${MFLAGS} imake
+       make ${MFLAGS} Makefile
+       make ${MFLAGS} Makefiles
+       make ${MFLAGS} depend
+       make ${MFLAGS} all
+#endif /* USELOCALTOOLS */
+
 clean-imake:
        cd util/imake; make clean
        cd util/imake; make
@@ -49,7 +66,19 @@ install::
        -mkdir ${DESTDIR}${MANDIR}/man8
        -mkdir ./bin
 
-depend::
+#ifndef USELOCALTOOLS
+depend:: makedepend
+#endif
+
+#ifndef USELOCALLIBS
+depend:: et ss
+#endif
+
+et:
+       cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
+
+ss:
+       cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
+
+makedepend:
        cd util/makedepend; make
-       cd util/et; make ${MFLAGS} DEPEND=../../$(DEPEND) depend; make ${MFLAGS} all
-       cd util/ss; make ${MFLAGS} DEPEND=../../$(DEPEND) depend; make ${MFLAGS} all
This page took 0.034185 seconds and 4 git commands to generate.