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 INSTALLDIRS = $(DESTDIR)$(dlldir)
12
13 @MAKE_RULES@
14
15 all: $(MODULE:%=lib%.a)
16
17 # Rules for .a library
18
19 $(MODULE:%=lib%.a): $(OBJS) Makefile.in
20 $(RM) $@
21 $(AR) $(ARFLAGS) $@ $(OBJS)
22 $(RANLIB) $@
23
24 # Rules for installation
25
26 install install-dev:: $(MODULE:%=lib%.a) $(DESTDIR)$(dlldir)
27 $(INSTALL_DATA) $(MODULE:%=lib%.a) $(DESTDIR)$(dlldir)/$(MODULE:%=lib%.a)
28
29 uninstall::
30 $(RM) $(DESTDIR)$(dlldir)/$(MODULE:%=lib%.a)
31
32 # End of global library rules
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.