| # 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 |
| DEFS = -D__WINESRC__ $(EXTRADEFS) |
| INSTALLDIRS = $(DESTDIR)$(dlldir) |
| $(MODULE:%=lib%.a): $(OBJS) Makefile.in |
| $(AR) $(ARFLAGS) $@ $(OBJS) |
| $(MODULE:%=lib%.cross.a): $(CROSSOBJS) Makefile.in |
| $(CROSSAR) $(ARFLAGS) $@ $(CROSSOBJS) |
| install install-dev:: $(MODULE:%=lib%.a) $(DESTDIR)$(dlldir) |
| $(INSTALL_DATA) $(MODULE:%=lib%.a) $(DESTDIR)$(dlldir)/$(MODULE:%=lib%.a) |
| $(RM) $(DESTDIR)$(dlldir)/$(MODULE:%=lib%.a) |
| # End of global library rules |