Commit 7045d168 authored by sof's avatar sof
Browse files

[project @ 1999-05-04 08:40:07 by sof]

a rule or two for building DLLs
parent 2b10ee01
......@@ -345,6 +345,22 @@ $(LIBRARY) :: $(LIBOBJS)
$(BUILD_LIB)
endif
#----------------------------------------
# Building Win32 DLLs
#
ifeq "$(way)" "dll"
ifeq "$(DLL_NAME)" ""
DLL_NAME = $(patsubst %.a, %.dll, $(subst lib,,$(LIBRARY)))
endif
all :: $(DLL_NAME)
$(DLL_NAME) :: $(LIBRARY)
$(BLD_DLL) --output-lib $(patsubst %.a, %_imp.a, $(LIBRARY)) --output-def $(patsubst %.dll,%.def,$(DLL_NAME)) -o $(DLL_NAME) $(LIBRARY) $(BLD_DLL_OPTS)
touch dLL_ifs.hi
endif
#----------------------------------------
# Script programs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment