summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile39
1 files changed, 30 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 4237d4e2..bdbcb09e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,32 @@
-.PHONY: all install
-all: exec core
-install: $(hurddir)/exec $(hurddir)/core $(serversdir)/exec $(serversdir)/core
+#
+# Copyright (C) 1993 Free Software Foundation
+#
+# This program 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.
+#
+# This program 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 this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-exec core: hostarch.o
-exec: exec_machdep.o
+include Makeconf
+
+LIB_SUBDIRS = libioserver libports
+PROG_SUBDIRS = auth boot exec fstests hello ifsock init mkbootfs proc term ufs
+OTHER_SUBDIR = hurd i386
+SUBDIRS = $(LIB_SUBDIRS) $(PROG_SUBDIRS) $(OTHER_SUBDIRS)
+
+all:
+ @echo 'Can't make all yet.'
+
+%-dist:
+ make -C $* dist
+
+dist: $(addsuffix -dist,$(SUBDIRS))
-$(serversdir)/%: %.text $(hurddir)/%
- @rm -f $@
- cp $< $@
- settrans $(word 2,$^) $@