summaryrefslogtreecommitdiff
path: root/libraries/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-05-16 23:58:18 +0000
committerIan Lynagh <igloo@earth.li>2008-05-16 23:58:18 +0000
commitb6f479891ae82dd7f74d8d7133b4f740d1299b4c (patch)
tree006d5c48c5d94fdc1ee0aa9a226e7d4807f219f9 /libraries/Makefile
parent305eb36d92e373eb3cd4803ee89c2cc8f23a5fc0 (diff)
downloadhaskell-b6f479891ae82dd7f74d8d7133b4f740d1299b4c.tar.gz
Libraries Makefile Hack for ndp
We use the "build" rather than "make" target
Diffstat (limited to 'libraries/Makefile')
-rw-r--r--libraries/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/Makefile b/libraries/Makefile
index 40374ce72e..20a039c44b 100644
--- a/libraries/Makefile
+++ b/libraries/Makefile
@@ -291,7 +291,9 @@ stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).%: %/setup/Setup
# needs to be done. However, we're careful not to overwrite GNUmakefile
# if it hasn't changed, so that dependency-generation isn't forced
# every time.
-$(foreach SUBDIR,$(SUBDIRS),make.library.$(SUBDIR)):\
+# I doubt that the makefile way will work with ndp, so filter it out and use
+# a rule below to call build.library.ndp instead
+$(foreach SUBDIR,$(filter-out ndp,$(SUBDIRS)),make.library.$(SUBDIR)):\
make.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
%/setup/Setup ifBuildable/ifBuildable installPackage/installPackage
if ifBuildable/ifBuildable $*; then \
@@ -304,6 +306,9 @@ make.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
../installPackage/installPackage register --inplace; \
fi
+# Hack for ndp, as described above
+make.library.ndp: build.library.ndp
+
# Build the library using 'setup build' (not the default)
$(foreach SUBDIR,$(SUBDIRS),build.library.$(SUBDIR)):\
build.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \