projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a comment
[ghc-hetmet.git]
/
libraries
/
Makefile
diff --git
a/libraries/Makefile
b/libraries/Makefile
index
594de16
..
30043ff
100644
(file)
--- a/
libraries/Makefile
+++ b/
libraries/Makefile
@@
-3,8
+3,14
@@
default_target: build
default_target: build
+ifeq "$(IN_BIN_DIST)" "1"
+include ../Makefile-vars
+else
+# Ideally we'd just include something to give us variables
+# for paths and arguments to tools etc, and those set in mk/build.mk.
TOP=.
include $(TOP)/mk/boilerplate.mk
TOP=.
include $(TOP)/mk/boilerplate.mk
+endif
SUBDIRS = base filepath haskell98 template-haskell readline \
regex-base regex-posix regex-compat parsec Cabal
SUBDIRS = base filepath haskell98 template-haskell readline \
regex-base regex-posix regex-compat parsec Cabal
@@
-60,6
+66,11
@@
endif
BOOTSTRAPPING_CABAL = bootstrapping.cabal
BOOTSTRAPPING_CABAL = bootstrapping.cabal
+.PHONY: subdirs
+
+subdirs:
+ @echo $(SUBDIRS)
+
.PHONY: boot
boot: $(foreach SUBDIR,$(SUBDIRS),$(SUBDIR)/setup/Setup)
.PHONY: boot
boot: $(foreach SUBDIR,$(SUBDIRS),$(SUBDIR)/setup/Setup)