Commit f78a8cea authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Add rules for building fake modules.

parent 2de0c163
# Automatically generated by make_makefiles; DO NOT EDIT!! # Automatically generated by make_makefiles; DO NOT EDIT!!
*.[oa] *.[oa]
*.fake
*.ok *.ok
*.res *.res
*.so *.so
......
...@@ -52,6 +52,7 @@ LINTFLAGS = @LINTFLAGS@ ...@@ -52,6 +52,7 @@ LINTFLAGS = @LINTFLAGS@
FONTFORGE = @FONTFORGE@ FONTFORGE = @FONTFORGE@
RSVG = @RSVG@ RSVG = @RSVG@
ICOTOOL = @ICOTOOL@ ICOTOOL = @ICOTOOL@
FAKEEXT = $(DLLEXT:.so=.fake)
INCLUDES = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL) INCLUDES = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL)
EXTRACFLAGS = @EXTRACFLAGS@ EXTRACFLAGS = @EXTRACFLAGS@
ALLCFLAGS = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS) ALLCFLAGS = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
...@@ -108,7 +109,7 @@ dlldir = @libdir@/wine ...@@ -108,7 +109,7 @@ dlldir = @libdir@/wine
prog_manext = 1 prog_manext = 1
api_manext = 3w api_manext = 3w
conf_manext = 5 conf_manext = 5
CLEAN_FILES = *.o *.a *.so *.ln *.res *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej *.flc core CLEAN_FILES = *.o *.a *.so *.ln *.res *.fake *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej *.flc core
IDL_GEN_C_SRCS = $(IDL_C_SRCS:.idl=_c.c) $(IDL_I_SRCS:.idl=_i.c) \ IDL_GEN_C_SRCS = $(IDL_C_SRCS:.idl=_c.c) $(IDL_I_SRCS:.idl=_i.c) \
$(IDL_P_SRCS:.idl=_p.c) $(IDL_S_SRCS:.idl=_s.c) $(IDL_P_SRCS:.idl=_p.c) $(IDL_S_SRCS:.idl=_s.c)
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
# #
DLLFLAGS = @DLLFLAGS@ DLLFLAGS = @DLLFLAGS@
DLLEXT = @DLLEXT@
MINGWAR = @MINGWAR@ MINGWAR = @MINGWAR@
DEFS = -D__WINESRC__ $(EXTRADEFS) DEFS = -D__WINESRC__ $(EXTRADEFS)
BASEMODULE = $(MODULE:%.dll=%) BASEMODULE = $(MODULE:%.dll=%)
...@@ -24,11 +23,11 @@ STATICIMPLIB = $(IMPORTLIBFILE:.def=.def.a) ...@@ -24,11 +23,11 @@ STATICIMPLIB = $(IMPORTLIBFILE:.def=.def.a)
DLL_LDPATH = -L$(DLLDIR) $(DELAYIMPORTS:%=-L$(DLLDIR)/%) $(IMPORTS:%=-L$(DLLDIR)/%) DLL_LDPATH = -L$(DLLDIR) $(DELAYIMPORTS:%=-L$(DLLDIR)/%) $(IMPORTS:%=-L$(DLLDIR)/%)
INSTALLDIRS = $(DESTDIR)$(dlldir) $(DESTDIR)$(datadir)/wine INSTALLDIRS = $(DESTDIR)$(dlldir) $(DESTDIR)$(datadir)/wine
all: $(MODULE)$(DLLEXT) $(SUBDIRS)
@MAKE_RULES@ @MAKE_RULES@
$(MODULE) $(MODULE).so: $(MAINSPEC) $(ALL_OBJS) Makefile.in all: $(MODULE)$(DLLEXT) $(MODULE)$(FAKEEXT) $(SUBDIRS)
$(MODULE) $(MODULE).so $(MODULE).fake: $(MAINSPEC) $(ALL_OBJS) Makefile.in
$(WINEGCC) -shared $(SRCDIR)/$(MAINSPEC) $(ALL_OBJS) $(EXTRADLLFLAGS) -o $@ $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(DELAYIMPORTS:%=-Wb,-d%) $(ALL_LIBS) $(WINEGCC) -shared $(SRCDIR)/$(MAINSPEC) $(ALL_OBJS) $(EXTRADLLFLAGS) -o $@ $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(DELAYIMPORTS:%=-Wb,-d%) $(ALL_LIBS)
# Rules for import libraries # Rules for import libraries
......
...@@ -17,9 +17,9 @@ INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(mandir)/man$(p ...@@ -17,9 +17,9 @@ INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(mandir)/man$(p
@MAKE_RULES@ @MAKE_RULES@
all: $(MODULE)$(DLLEXT) all: $(MODULE)$(DLLEXT) $(MODULE)$(FAKEEXT)
$(MODULE) $(MODULE).so: $(OBJS) Makefile.in $(MODULE) $(MODULE).so $(MODULE).fake: $(OBJS) Makefile.in
$(WINEGCC) $(APPMODE) $(OBJS) -o $@ $(ALL_LIBS) $(DELAYIMPORTS:%=-Wb,-d%) $(WINEGCC) $(APPMODE) $(OBJS) -o $@ $(ALL_LIBS) $(DELAYIMPORTS:%=-Wb,-d%)
# Rules for testing # Rules for testing
......
...@@ -58,6 +58,7 @@ my %dont_install = ...@@ -58,6 +58,7 @@ my %dont_install =
# Default patterns for top-level .gitignore # Default patterns for top-level .gitignore
my @ignores = ( my @ignores = (
"*.[oa]", "*.[oa]",
"*.fake",
"*.ok", "*.ok",
"*.res", "*.res",
"*.so", "*.so",
......
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