File: Makeimplib.rules.in

package info (click to toggle)
wine 1.4.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 156,772 kB
  • sloc: ansic: 2,124,295; perl: 17,673; yacc: 12,202; makefile: 7,447; sh: 3,981; lex: 3,913; cpp: 812; awk: 69; xml: 21; sed: 3
file content (29 lines) | stat: -rw-r--r-- 673 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Global rules for building a static import library     -*-Makefile-*-
#
# Each individual makefile should define the following variables:
# MODULE       : name of the main module being built
#
# plus all variables required by the global Make.rules.in
#

DLLFLAGS = @DLLFLAGS@
DEFS     = -D__WINESRC__ $(EXTRADEFS)
MAKEDEPFLAGS = -xo -xcross.o

@MAKE_RULES@

all: $(MODULE) @CROSSTEST_DISABLE@ $(MODULE:.a=.cross.a)

# Rules for .a library

$(MODULE): $(OBJS) Makefile.in
	$(RM) $@
	$(AR) $(ARFLAGS) $@ $(OBJS)
	$(RANLIB) $@

$(MODULE:.a=.cross.a): $(CROSSOBJS) Makefile.in
	$(RM) $@
	$(CROSSAR) $(ARFLAGS) $@ $(CROSSOBJS)
	$(CROSSRANLIB) $@

# End of global library rules