projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SPARC NCG: Fix some haddock problems.
[ghc-hetmet.git]
/
utils
/
unlit
/
Makefile
diff --git
a/utils/unlit/Makefile
b/utils/unlit/Makefile
index
dfa1b8d
..
1723a08
100644
(file)
--- a/
utils/unlit/Makefile
+++ b/
utils/unlit/Makefile
@@
-1,6
+1,12
@@
TOP=../..
include $(TOP)/mk/boilerplate.mk
TOP=../..
include $(TOP)/mk/boilerplate.mk
+# Exclude for booting
+ifeq "$(stage)" "2"
+SRC_CC_OPTS += $(MACOSX_DEPLOYMENT_CC_OPTS)
+SRC_LD_OPTS += $(MACOSX_DEPLOYMENT_LD_OPTS)
+endif
+
C_SRCS=unlit.c
C_PROG=unlit
SRC_CC_OPTS += -O
C_SRCS=unlit.c
C_PROG=unlit
SRC_CC_OPTS += -O
@@
-13,9
+19,7
@@
boot :: all
#
INSTALL_LIBEXECS += $(C_PROG)
#
INSTALL_LIBEXECS += $(C_PROG)
-binary-dist:
- $(INSTALL_DIR) $(BIN_DIST_DIR)/utils/unlit
- $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/unlit/
- $(INSTALL_PROGRAM) $(C_PROG) $(BIN_DIST_DIR)/utils/unlit/
+BINDIST_EXTRAS += $(C_PROG)
+include $(TOP)/mk/bindist.mk
include $(TOP)/mk/target.mk
include $(TOP)/mk/target.mk