summaryrefslogtreecommitdiff
path: root/xc/Imakefile
diff options
context:
space:
mode:
authortoddb <empty>1987-08-04 20:30:25 +0000
committertoddb <empty>1987-08-04 20:30:25 +0000
commit808b43963d214efadb55e9ab600cf9b7d62c870b (patch)
tree50ab68d982a638d899616b3d14d628c93a528468 /xc/Imakefile
parent8abf1be966d16b0eb355773941f5684b175901f2 (diff)
Initial revision
Diffstat (limited to 'xc/Imakefile')
-rw-r--r--xc/Imakefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/xc/Imakefile b/xc/Imakefile
new file mode 100644
index 000000000..bb6cf9839
--- /dev/null
+++ b/xc/Imakefile
@@ -0,0 +1,48 @@
+#
+# Preserve this order
+#
+ SUBDIRS = \
+ $(INCLUDEDIR) \
+ $(SERVERDIR) \
+ $(XLIBDIR) \
+ $(TOOLKITDIR) \
+ $(XMENUDIR) \
+ $(FONTDIR) \
+ $(CLIENTDIR)
+
+all:
+ for i in $(SUBDIRS) ;\
+ do \
+ (set -x; cd $$i ; make $(MFLAGS)); \
+ done
+
+depend::
+ for i in $(SUBDIRS) ;\
+ do \
+ (cd $$i ; make $(MFLAGS) depend ); \
+ done
+
+clean::
+ for i in $(SUBDIRS) $(UTILDIR) ;\
+ do \
+ (cd $$i ; make $(MFLAGS) clean ); \
+ done
+
+install::
+ for i in $(SUBDIRS) ;\
+ do \
+ (cd $$i ; make $(MFLAGS) install ); \
+ done
+
+Makefiles: Makefile
+ @$(MAKE) real_makefiles_target NEWTOP=../
+
+real_makefiles_target:
+ @for i in $(SUBDIRS) ;\
+ do \
+ (set -x; cd $$i; $(IMAKE_CMD) -DTOPDIR=..); \
+ done; \
+ for i in $(LIBRARYDIR) $(CLIENTDIR) $(SERVERDIR) ;\
+ do \
+ (set -x; cd $$i; $(MAKE) Makefiles); \
+ done