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

oldstable
Alexandre Julliard 2011-07-09 21:13:28 +02:00
parent 6cba5c48d9
commit db7f8e5749
9 changed files with 11 additions and 11 deletions

View File

@ -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) $@

View File

@ -1,4 +1,4 @@
MODULE = adsiid
MODULE = libadsiid.a
C_SRCS = \
adsiid.c

View File

@ -1,4 +1,4 @@
MODULE = dxerr8
MODULE = libdxerr8.a
C_SRCS = \
dxerr8.c

View File

@ -1,4 +1,4 @@
MODULE = dxerr9
MODULE = libdxerr9.a
C_SRCS = \
dxerr9.c

View File

@ -1,4 +1,4 @@
MODULE = dxguid
MODULE = libdxguid.a
C_SRCS = \
dx10guid.c \

View File

@ -1,4 +1,4 @@
MODULE = strmbase
MODULE = libstrmbase.a
C_SRCS = \
dllfunc.c \

View File

@ -1,4 +1,4 @@
MODULE = strmiids
MODULE = libstrmiids.a
C_SRCS = \
strmiids.c

View File

@ -1,4 +1,4 @@
MODULE = uuid
MODULE = libuuid.a
C_SRCS = \
uuid.c

View File

@ -1,4 +1,4 @@
MODULE = winecrt0
MODULE = libwinecrt0.a
C_SRCS = \
delay_load.c \