Skip to content
Snippets Groups Projects
Commit 4bdb78df authored by sof's avatar sof
Browse files

[project @ 1999-09-12 16:27:00 by sof]

If DLL support enabled, add import libs to INSTALL_LIBS + DLL to INSTALL_PROGS
parent 78d10ce4
No related merge requests found
# $Id: Makefile,v 1.4 1999/05/05 10:33:13 sof Exp $
# $Id: Makefile,v 1.5 1999/09/12 16:27:00 sof Exp $
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
......@@ -13,6 +13,7 @@ C_OBJS = $(C_SRCS:.c=.o)
LIBOBJS = $(C_OBJS)
SRC_CC_OPTS += -O -I$(GHC_INCLUDE_DIR) $(GhcLibCcOpts)
DLL_NAME = HScbits.dll
DLL_IMPLIB_NAME = libHScbits_imp.a
SRC_BLD_DLL_OPTS += --export-all --output-def=HScbits.def
......@@ -25,4 +26,9 @@ CC=$(HC)
SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
ifeq "$(EnableWin32DLLs)" "YES"
INSTALL_PROGS += $(DLL_NAME)
INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBRARY))
endif
include $(TOP)/mk/target.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment