summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-05-11 14:51:22 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-05-11 14:51:22 +0000
commitf45df74d9828987a0281d474f449234e19b92314 (patch)
tree9648fdf907d020c21afe94aebab9e9f3698880a9 /driver
parentfbbafdb9a512ba5fc1d769749220eb7d32179a9c (diff)
downloadhaskell-f45df74d9828987a0281d474f449234e19b92314.tar.gz
stub Makefile
Diffstat (limited to 'driver')
-rw-r--r--driver/ghc/Makefile22
1 files changed, 2 insertions, 20 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