setupapi: Added support for creating fake dlls at install time.
[wine/multimedia.git] / dlls / Makeimplib.rules.in
blob4d93ee7e363517b177a57288e65242629d99e4d0
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) $(DESTDIR)$(dlldir)
28         $(INSTALL_DATA) $(MODULE) $(DESTDIR)$(dlldir)/$(MODULE)
30 install-lib::
32 uninstall::
33         $(RM) $(DESTDIR)$(dlldir)/$(MODULE)
35 # Misc. rules
37 .PHONY: man doc-html doc-sgml
39 man doc-html doc-sgml:
41 # End of global library rules