Commit 8d5b8b13 authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Define __WINESRC__ globally.

parent 69b9c4b1
......@@ -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@
......
DEFS = -D__WINESRC__
DLLFLAGS = @DLLFLAGS@
MODULE = libwine_port.a
......
DLLFLAGS = @DLLFLAGS@
EXTRALIBS = $(LIBPORT) @LIBDL@ @COREFOUNDATIONLIB@ @CORESERVICESLIB@
DEFS = -D__WINESRC__ -DWINE_UNICODE_API=""
EXTRADEFS = -DWINE_UNICODE_API=""
VERSION = 1.0
SOVERSION = 1
......
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)
......
DEFS = -D__WINESRC__
EXTRALIBS = @LIBPOLL@ @LIBRT@
C_SRCS = \
......
DEFS = -D__WINESRC__ -DWINE_UNICODE_API=""
EXTRADEFS = -DWINE_UNICODE_API=""
EXTRAINCL = @FREETYPE_CFLAGS@
FREETYPELIBS = @FREETYPE_LIBS@
......
DEFS = -D__WINESRC__ $(EXTRADEFS)
PROGRAMS = widl$(EXEEXT)
MANPAGE = widl.man
......
DEFS = -D__WINESRC__ $(EXTRADEFS)
PROGRAMS = winebuild$(EXEEXT)
MANPAGE = winebuild.man
......
DEFS = -D__WINESRC__ $(EXTRADEFS)
PROGRAMS = winedump$(EXEEXT)
MANPAGE = winedump.man
......
DEFS = \
EXTRADEFS = \
-DINCLUDEDIR="\"$(includedir)\"" \
-DDLLDIR="\"$(dlldir)\"" \
-DLIBDIR="\"$(libdir)\"" \
......
DEFS = -D__WINESRC__ -DWINE_UNICODE_API=""
EXTRADEFS = -DWINE_UNICODE_API=""
PROGRAMS = wmc$(EXEEXT)
MANPAGE = wmc.man
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWINE_STATIC) $(LIBPORT)
......
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)
......
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