summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver/ghc/Makefile22
-rw-r--r--ghc.mk2
2 files changed, 2 insertions, 22 deletions
diff --git a/driver/ghc/Makefile b/driver/ghc/Makefile
index dcde9948c0..f01f986f25 100644
--- a/driver/ghc/Makefile
+++ b/driver/ghc/Makefile
@@ -1,21 +1,3 @@
+dir=driver/ghc
TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-C_PROG = ghc-$(ProjectVersion)$(exeext)
-INSTALL_PROGS += $(C_PROG)
-else
-SCRIPT_DIR = $(DESTDIR)$(bindir)
-SCRIPT_BASE = ghc
-SCRIPT_VERSIONED_BASE = $(SCRIPT_BASE)-$(ProjectVersion)
-SCRIPT = $(SCRIPT_DIR)/$(SCRIPT_BASE)
-SCRIPT_VERSIONED = $(SCRIPT_DIR)/$(SCRIPT_VERSIONED_BASE)
-
-install::
- mv $(SCRIPT) $(SCRIPT_VERSIONED)
- ln -s $(SCRIPT_VERSIONED_BASE) $(SCRIPT)
-endif
-
-include $(TOP)/mk/bindist.mk
-
-include $(TOP)/mk/target.mk
+include $(TOP)/mk/sub-makefile.mk
diff --git a/ghc.mk b/ghc.mk
index c30cd2f8c0..f8b015b758 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -40,8 +40,6 @@
# * docs/storage-mgmt/Makefile
# * docs/vh/Makefile
# * driver/Makefile
-# * driver/ghc/Makefile
-# * libraries/Makefile
# * rts/dotnet/Makefile
# * utils/Makefile
# * GhcProfiled