Release 1.5.29.
[wine] / dlls / Makeimplib.rules.in
1 # Global rules for building a static import library     -*-Makefile-*-
2 #
3 # Each individual makefile should define the following variables:
4 # MODULE       : name of the main module being built
5 #
6 # plus all variables required by the global Make.rules.in
7 #
8
9 DLLFLAGS = @DLLFLAGS@
10 DEFS     = -D__WINESRC__ $(EXTRADEFS)
11 MAKEDEPFLAGS = -xo -xcross.o
12
13 @MAKE_RULES@
14
15 all: $(MODULE) @CROSSTEST_DISABLE@ $(MODULE:.a=.cross.a)
16
17 # Rules for .a library
18
19 $(MODULE): $(OBJS) Makefile.in
20         $(RM) $@
21         $(AR) $(ARFLAGS) $@ $(OBJS)
22         $(RANLIB) $@
23
24 $(MODULE:.a=.cross.a): $(CROSSOBJS) Makefile.in
25         $(RM) $@
26         $(CROSSAR) $(ARFLAGS) $@ $(CROSSOBJS)
27         $(CROSSRANLIB) $@
28
29 # End of global library rules