summaryrefslogtreecommitdiff
path: root/driver/mangler/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'driver/mangler/Makefile')
-rw-r--r--driver/mangler/Makefile29
1 files changed, 3 insertions, 26 deletions
diff --git a/driver/mangler/Makefile b/driver/mangler/Makefile
index 1242d6c236..ff1a4a9ee8 100644
--- a/driver/mangler/Makefile
+++ b/driver/mangler/Makefile
@@ -1,26 +1,3 @@
-#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.3 2001/03/23 16:36:21 simonmar Exp $
-
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-PROG = ghc-asm
-all:: $(PROG).prl
- $(RM) -f $(PROG)
- echo '#!$(PERL)' >> $(PROG)
- echo '$$TARGETPLATFORM = "$(TARGETPLATFORM)";' >> $(PROG)
- cat $< >> $(PROG)
- $(EXECUTABLE_FILE) $(PROG)
-
-INSTALL_LIBEXEC_SCRIPTS += $(PROG)
-CLEAN_FILES += $(PROG) $(PROG).prl
-
-# needed for bootstrapping with HC files
-ifeq "$(BootingFromHc)" "YES"
-boot :: all
-endif
-
-BINDIST_EXTRAS += $(PROG)
-include $(TOP)/mk/bindist.mk
-
-include $(TOP)/mk/target.mk
+dir = driver/mangler
+TOP = ../..
+include $(TOP)/mk/sub-makefile.mk