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 MAKEDEPFLAGS = -xo -xcross.o
14 all: $(MODULE) @CROSSTEST_DISABLE@ $(MODULE:.a=.cross.a)
16 # Rules for .a library
18 $(MODULE): $(OBJS) Makefile.in
20 $(AR) $(ARFLAGS) $@ $(OBJS)
23 $(MODULE:.a=.cross.a): $(CROSSOBJS) Makefile.in
25 $(CROSSAR) $(ARFLAGS) $@ $(CROSSOBJS)
28 # End of global library rules