stub Makefile
authorSimon Marlow <marlowsd@gmail.com>
Mon, 11 May 2009 14:51:22 +0000 (14:51 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 11 May 2009 14:51:22 +0000 (14:51 +0000)
driver/ghc/Makefile
ghc.mk

index dcde994..f01f986 100644 (file)
@@ -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 c30cd2f..f8b015b 100644 (file)
--- 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