Makeimplib.rules.in 763 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
# 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@
10
DEFS     = -D__WINESRC__ $(EXTRADEFS)
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

@MAKE_RULES@

all: $(MODULE)

# Rules for .a library

$(MODULE): $(OBJS) Makefile.in
	$(RM) $@
	$(AR) $@ $(OBJS)
	$(RANLIB) $@

# Rules for installation

install install-dev:: $(MODULE)
26 27
	$(MKINSTALLDIRS) $(DESTDIR)$(dlldir)
	$(INSTALL_DATA) $(MODULE) $(DESTDIR)$(dlldir)/$(MODULE)
28

29 30
install-lib::

31
uninstall::
32
	$(RM) $(DESTDIR)$(dlldir)/$(MODULE)
33 34 35 36 37 38 39 40

# Misc. rules

.PHONY: man doc-html doc-sgml

man doc-html doc-sgml:

# End of global library rules