2005-08-25 12:14:13 +00:00
|
|
|
# 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
|
|
|
|
#
|
|
|
|
|
|
|
|
DLLDEFS = @DLLDEFS@
|
|
|
|
DLLFLAGS = @DLLFLAGS@
|
|
|
|
DEFS = -D__WINESRC__ $(DLLDEFS) $(EXTRADEFS)
|
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
|
|
|
all: $(MODULE)
|
|
|
|
|
|
|
|
# Rules for .a library
|
|
|
|
|
|
|
|
$(MODULE): $(OBJS) Makefile.in
|
|
|
|
$(RM) $@
|
|
|
|
$(AR) $@ $(OBJS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
# Rules for installation
|
|
|
|
|
|
|
|
install install-dev:: $(MODULE)
|
2006-02-14 12:51:38 +00:00
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(dlldir)
|
|
|
|
$(INSTALL_DATA) $(MODULE) $(DESTDIR)$(dlldir)/$(MODULE)
|
2005-08-25 12:14:13 +00:00
|
|
|
|
2006-03-08 10:31:50 +00:00
|
|
|
install-lib::
|
|
|
|
|
2005-08-25 12:14:13 +00:00
|
|
|
uninstall::
|
2006-02-14 12:51:38 +00:00
|
|
|
$(RM) $(DESTDIR)$(dlldir)/$(MODULE)
|
2005-08-25 12:14:13 +00:00
|
|
|
|
|
|
|
# Misc. rules
|
|
|
|
|
|
|
|
.PHONY: man doc-html doc-sgml
|
|
|
|
|
|
|
|
man doc-html doc-sgml:
|
|
|
|
|
|
|
|
# End of global library rules
|