Release 0.9.6.
[wine/multimedia.git] / dlls / Makeimplib.rules.in
blobf5c7b7369892f643c1e08af14d3ef750f1821d60
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
9 DLLDEFS  = @DLLDEFS@
10 DLLFLAGS = @DLLFLAGS@
11 DEFS     = -D__WINESRC__ $(DLLDEFS) $(EXTRADEFS)
13 @MAKE_RULES@
15 all: $(MODULE)
17 # Rules for .a library
19 $(MODULE): $(OBJS) Makefile.in
20         $(RM) $@
21         $(AR) $@ $(OBJS)
22         $(RANLIB) $@
24 # Rules for installation
26 install install-dev:: $(MODULE)
27         $(MKINSTALLDIRS) $(dlldir)
28         $(INSTALL_DATA) $(MODULE) $(dlldir)/$(MODULE)
30 uninstall::
31         [ ! -d $(dlldir) ] || (cd $(dlldir) && $(RM) $(MODULE))
33 # Misc. rules
35 .PHONY: man doc-html doc-sgml
37 man doc-html doc-sgml:
39 # End of global library rules