1 # Global rules for building a static import library -*-Makefile-*-
3 # Each individual makefile should define the following variables:
4 # MODULE : name of the main module being built
6 # plus all variables required by the global Make.rules.in
10 DEFS = -D__WINESRC__ $(EXTRADEFS)
11 MAKEDEPFLAGS = -xo -xcross.o
15 all: $(MODULE) @CROSSTEST_DISABLE@ $(MODULE:.a=.cross.a)
17 # Rules for .a library
19 $(MODULE): $(OBJS) Makefile.in
21 $(AR) $(ARFLAGS) $@ $(OBJS)
24 $(MODULE:.a=.cross.a): $(CROSSOBJS) Makefile.in
26 $(CROSSAR) $(ARFLAGS) $@ $(CROSSOBJS)
29 # End of global library rules