Added a make rules file for static import libraries.
This commit is contained in:
parent
71ae2d7bed
commit
633b12d5dc
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
Makedll.rules
|
||||
Makefile
|
||||
Makeimplib.rules
|
||||
Maketest.rules
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
# 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
|
|
@ -1,6 +1,3 @@
|
|||
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:
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
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:
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
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:
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
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:
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
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:
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue