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