Commit 633b12d5 authored by Alexandre Julliard's avatar Alexandre Julliard

Added a make rules file for static import libraries.

parent 71ae2d7b
......@@ -1447,6 +1447,9 @@ AC_SUBST_FILE(MAKE_RULES)
MAKE_DLL_RULES=dlls/Makedll.rules
AC_SUBST_FILE(MAKE_DLL_RULES)
MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
AC_SUBST_FILE(MAKE_IMPLIB_RULES)
MAKE_TEST_RULES=dlls/Maketest.rules
AC_SUBST_FILE(MAKE_TEST_RULES)
......@@ -1459,6 +1462,7 @@ AC_SUBST_FILE(MAKE_PROG_RULES)
AC_CONFIG_FILES([
Make.rules
dlls/Makedll.rules
dlls/Makeimplib.rules
dlls/Maketest.rules
libs/Makelib.rules
programs/Makeprog.rules
......
Makedll.rules
Makefile
Makeimplib.rules
Maketest.rules
# 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)
$(MKINSTALLDIRS) $(dlldir)
$(INSTALL_DATA) $(MODULE) $(dlldir)/$(MODULE)
uninstall::
[ ! -d $(dlldir) ] || (cd $(dlldir) && $(RM) $(MODULE))
# Misc. rules
.PHONY: man doc-html doc-sgml
man doc-html doc-sgml:
# End of global library rules
DLLDEFS = @DLLDEFS@
DLLFLAGS = @DLLFLAGS@
DEFS = -D__WINESRC__ $(DLLDEFS)
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
......@@ -12,19 +9,6 @@ C_SRCS = \
EXTRA_OBJS = $(MODULE).dbg.o
all: $(MODULE)
@MAKE_RULES@
$(MODULE): $(OBJS) Makefile.in
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
man:
doc-html:
doc-sgml:
@MAKE_IMPLIB_RULES@
### Dependencies:
DLLDEFS = @DLLDEFS@
DLLFLAGS = @DLLFLAGS@
DEFS = -D__WINESRC__ $(DLLDEFS)
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
......@@ -12,19 +9,6 @@ C_SRCS = \
EXTRA_OBJS = $(MODULE).dbg.o
all: $(MODULE)
@MAKE_RULES@
$(MODULE): $(OBJS) Makefile.in
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
man:
doc-html:
doc-sgml:
@MAKE_IMPLIB_RULES@
### Dependencies:
DLLDEFS = @DLLDEFS@
DLLFLAGS = @DLLFLAGS@
DEFS = -D__WINESRC__ $(DLLDEFS)
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
......@@ -12,19 +9,6 @@ C_SRCS = \
dx9guid.c \
dxguid.c
all: $(MODULE)
@MAKE_RULES@
$(MODULE): $(OBJS) Makefile.in
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
man:
doc-html:
doc-sgml:
@MAKE_IMPLIB_RULES@
### Dependencies:
DLLDEFS = @DLLDEFS@
DLLFLAGS = @DLLFLAGS@
DEFS = -D__WINESRC__ $(DLLDEFS)
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
......@@ -10,19 +7,6 @@ MODULE = libstrmiids.a
C_SRCS = \
strmiids.c
all: $(MODULE)
@MAKE_RULES@
$(MODULE): $(OBJS) Makefile.in
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
man:
doc-html:
doc-sgml:
@MAKE_IMPLIB_RULES@
### Dependencies:
DLLDEFS = @DLLDEFS@
DLLFLAGS = @DLLFLAGS@
DEFS = -D__WINESRC__ $(DLLDEFS)
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
......@@ -10,19 +7,6 @@ MODULE = libuuid.a
C_SRCS = \
uuid.c
all: $(MODULE)
@MAKE_RULES@
$(MODULE): $(OBJS) Makefile.in
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
man:
doc-html:
doc-sgml:
@MAKE_IMPLIB_RULES@
### Dependencies:
DLLDEFS = @DLLDEFS@
DLLFLAGS = @DLLFLAGS@
DEFS = -D__WINESRC__ $(DLLDEFS)
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
......@@ -12,15 +9,6 @@ C_SRCS = \
exe_main.c \
exe_wmain.c
all: $(MODULE)
@MAKE_RULES@
$(MODULE): $(OBJS) Makefile.in
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
man doc-html doc-sgml:
@MAKE_IMPLIB_RULES@
### Dependencies:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment