mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 22:50:08 +00:00
34 lines
709 B
Makefile
34 lines
709 B
Makefile
# 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@
|
|
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
INSTALLDIRS = $(DESTDIR)$(dlldir)
|
|
|
|
@MAKE_RULES@
|
|
|
|
all: $(MODULE)
|
|
|
|
# Rules for .a library
|
|
|
|
$(MODULE): $(OBJS) Makefile.in
|
|
$(RM) $@
|
|
$(AR) $@ $(OBJS)
|
|
$(RANLIB) $@
|
|
|
|
# Rules for installation
|
|
|
|
install install-dev:: $(MODULE) $(DESTDIR)$(dlldir)
|
|
$(INSTALL_DATA) $(MODULE) $(DESTDIR)$(dlldir)/$(MODULE)
|
|
|
|
install-lib::
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(dlldir)/$(MODULE)
|
|
|
|
# End of global library rules
|