projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-07-12 13:32:25 by rrt]
[ghc-hetmet.git]
/
mk
/
target.mk
diff --git
a/mk/target.mk
b/mk/target.mk
index
0f11536
..
5e8d60f
100644
(file)
--- a/
mk/target.mk
+++ b/
mk/target.mk
@@
-337,7
+337,7
@@
endif
#
# Outputs:
# $(LIBRARY) the name of the library.a
#
# Outputs:
# $(LIBRARY) the name of the library.a
-# $(GHIC_LIBRARY) the name of the library.o (for GHCi0
+# $(GHIC_LIBRARY) the name of the library.o (for GHCi)
# $(LIBOBJS) objects to put in library
# $(STUBOBJS) more objects to put in library
#
# $(LIBOBJS) objects to put in library
# $(STUBOBJS) more objects to put in library
#
@@
-349,6
+349,9
@@
ifneq "$(PACKAGE)" ""
ifeq "$(IS_CBITS_LIB)" "YES"
_cbits := _cbits
ifeq "$(IS_CBITS_LIB)" "YES"
_cbits := _cbits
+STUBOBJS += $(HSC_C_OBJS)
+# Add _hsc.c files to the cbits library
+SRCS += $(wildcard ../*_hsc.c)
endif
LIBRARY = libHS$(PACKAGE)$(_cbits)$(_way).a
endif
LIBRARY = libHS$(PACKAGE)$(_cbits)$(_way).a
@@
-366,7
+369,6
@@
ifeq "$(LIBOBJS)" ""
endif
endif
endif
endif
-STUBOBJS += $(HSC_C_OBJS)
SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR)
ifeq "$(IS_CBITS_LIB)" "YES"
SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR)
ifeq "$(IS_CBITS_LIB)" "YES"