Commit db7f8e57 authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Make MODULE contain the full module name also for static libraries.

parent 6cba5c48
......@@ -12,16 +12,16 @@ MAKEDEPFLAGS = -xo -xcross.o
@MAKE_RULES@
all: $(MODULE:%=lib%.a) @CROSSTEST_DISABLE@ $(MODULE:%=lib%.cross.a)
all: $(MODULE) @CROSSTEST_DISABLE@ $(MODULE:.a=.cross.a)
# Rules for .a library
$(MODULE:%=lib%.a): $(OBJS) Makefile.in
$(MODULE): $(OBJS) Makefile.in
$(RM) $@
$(AR) $(ARFLAGS) $@ $(OBJS)
$(RANLIB) $@
$(MODULE:%=lib%.cross.a): $(CROSSOBJS) Makefile.in
$(MODULE:.a=.cross.a): $(CROSSOBJS) Makefile.in
$(RM) $@
$(CROSSAR) $(ARFLAGS) $@ $(CROSSOBJS)
$(CROSSRANLIB) $@
......
MODULE = adsiid
MODULE = libadsiid.a
C_SRCS = \
adsiid.c
......
MODULE = dxerr8
MODULE = libdxerr8.a
C_SRCS = \
dxerr8.c
......
MODULE = dxerr9
MODULE = libdxerr9.a
C_SRCS = \
dxerr9.c
......
MODULE = dxguid
MODULE = libdxguid.a
C_SRCS = \
dx10guid.c \
......
MODULE = strmbase
MODULE = libstrmbase.a
C_SRCS = \
dllfunc.c \
......
MODULE = strmiids
MODULE = libstrmiids.a
C_SRCS = \
strmiids.c
......
MODULE = uuid
MODULE = libuuid.a
C_SRCS = \
uuid.c
......
MODULE = winecrt0
MODULE = libwinecrt0.a
C_SRCS = \
delay_load.c \
......
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