mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-21 17:09:06 -07:00
makefiles: Define __WINESRC__ globally.
This commit is contained in:
parent
69b9c4b198
commit
8d5b8b1346
16 changed files with 6 additions and 19 deletions
|
@ -14,6 +14,7 @@
|
|||
# First some useful definitions
|
||||
|
||||
INCLUDES = -I$(srcdir) -I. -I$(top_srcdir)/include -I$(top_builddir)/include $(EXTRAINCL)
|
||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
ALLCFLAGS = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
|
||||
ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
|
||||
IDLFLAGS = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#
|
||||
|
||||
DLLFLAGS = @DLLFLAGS@
|
||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
|
||||
MODULE = $(TESTDLL:%.dll=%)_test.exe
|
||||
TESTRESULTS = $(C_SRCS:.c=.ok)
|
||||
TESTPROGRAM = $(MODULE)$(DLLEXT)
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#
|
||||
|
||||
DLLFLAGS = @DLLFLAGS@
|
||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
BASEMODULE = $(MODULE:%.dll=%)
|
||||
MAINSPEC = $(BASEMODULE).spec
|
||||
ALL_LIBS = $(LIBPORT) $(EXTRALIBS) $(LDFLAGS) $(LIBS)
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#
|
||||
|
||||
DLLFLAGS = @DLLFLAGS@
|
||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
MAKEDEPFLAGS = -xo -xcross.o
|
||||
|
||||
@MAKE_RULES@
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
DEFS = -D__WINESRC__
|
||||
DLLFLAGS = @DLLFLAGS@
|
||||
MODULE = libwine_port.a
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
DLLFLAGS = @DLLFLAGS@
|
||||
EXTRALIBS = $(LIBPORT) @LIBDL@ @COREFOUNDATIONLIB@ @CORESERVICESLIB@
|
||||
DEFS = -D__WINESRC__ -DWINE_UNICODE_API=""
|
||||
EXTRADEFS = -DWINE_UNICODE_API=""
|
||||
|
||||
VERSION = 1.0
|
||||
SOVERSION = 1
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
MODCFLAGS = @BUILTINFLAG@
|
||||
|
||||
C_SRCS = \
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#
|
||||
|
||||
DLLFLAGS = @DLLFLAGS@
|
||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
ALL_LIBS = $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(EXTRALIBS) -lwine $(LIBPORT) $(LDFLAGS) $(LIBS)
|
||||
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(fakedlldir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
DEFS = -D__WINESRC__
|
||||
EXTRALIBS = @LIBPOLL@ @LIBRT@
|
||||
|
||||
C_SRCS = \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
DEFS = -D__WINESRC__ -DWINE_UNICODE_API=""
|
||||
EXTRADEFS = -DWINE_UNICODE_API=""
|
||||
EXTRAINCL = @FREETYPE_CFLAGS@
|
||||
FREETYPELIBS = @FREETYPE_LIBS@
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
|
||||
PROGRAMS = widl$(EXEEXT)
|
||||
MANPAGE = widl.man
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
|
||||
PROGRAMS = winebuild$(EXEEXT)
|
||||
MANPAGE = winebuild.man
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
|
||||
PROGRAMS = winedump$(EXEEXT)
|
||||
MANPAGE = winedump.man
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
DEFS = \
|
||||
EXTRADEFS = \
|
||||
-DINCLUDEDIR="\"$(includedir)\"" \
|
||||
-DDLLDIR="\"$(dlldir)\"" \
|
||||
-DLIBDIR="\"$(libdir)\"" \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
DEFS = -D__WINESRC__ -DWINE_UNICODE_API=""
|
||||
EXTRADEFS = -DWINE_UNICODE_API=""
|
||||
PROGRAMS = wmc$(EXEEXT)
|
||||
MANPAGE = wmc.man
|
||||
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWINE_STATIC) $(LIBPORT)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
DEFS = -D__WINESRC__ -DINCLUDEDIR="\"$(includedir)\"" -DWINE_UNICODE_API=""
|
||||
EXTRADEFS = -DINCLUDEDIR="\"$(includedir)\"" -DWINE_UNICODE_API=""
|
||||
PROGRAMS = wrc$(EXEEXT)
|
||||
MANPAGE = wrc.man
|
||||
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWPP) $(LIBWINE_STATIC) $(LIBPORT)
|
||||
|
|
Loading…
Reference in a new issue