makefiles: Define __WINESRC__ globally.
This commit is contained in:
parent
69b9c4b198
commit
8d5b8b1346
|
@ -14,6 +14,7 @@
|
||||||
# First some useful definitions
|
# First some useful definitions
|
||||||
|
|
||||||
INCLUDES = -I$(srcdir) -I. -I$(top_srcdir)/include -I$(top_builddir)/include $(EXTRAINCL)
|
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)
|
ALLCFLAGS = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
|
||||||
ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
|
ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
|
||||||
IDLFLAGS = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
|
IDLFLAGS = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
DLLFLAGS = @DLLFLAGS@
|
DLLFLAGS = @DLLFLAGS@
|
||||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
||||||
|
|
||||||
MODULE = $(TESTDLL:%.dll=%)_test.exe
|
MODULE = $(TESTDLL:%.dll=%)_test.exe
|
||||||
TESTRESULTS = $(C_SRCS:.c=.ok)
|
TESTRESULTS = $(C_SRCS:.c=.ok)
|
||||||
TESTPROGRAM = $(MODULE)$(DLLEXT)
|
TESTPROGRAM = $(MODULE)$(DLLEXT)
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
DLLFLAGS = @DLLFLAGS@
|
DLLFLAGS = @DLLFLAGS@
|
||||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
||||||
BASEMODULE = $(MODULE:%.dll=%)
|
BASEMODULE = $(MODULE:%.dll=%)
|
||||||
MAINSPEC = $(BASEMODULE).spec
|
MAINSPEC = $(BASEMODULE).spec
|
||||||
ALL_LIBS = $(LIBPORT) $(EXTRALIBS) $(LDFLAGS) $(LIBS)
|
ALL_LIBS = $(LIBPORT) $(EXTRALIBS) $(LDFLAGS) $(LIBS)
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
DLLFLAGS = @DLLFLAGS@
|
DLLFLAGS = @DLLFLAGS@
|
||||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
||||||
MAKEDEPFLAGS = -xo -xcross.o
|
MAKEDEPFLAGS = -xo -xcross.o
|
||||||
|
|
||||||
@MAKE_RULES@
|
@MAKE_RULES@
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
DEFS = -D__WINESRC__
|
|
||||||
DLLFLAGS = @DLLFLAGS@
|
DLLFLAGS = @DLLFLAGS@
|
||||||
MODULE = libwine_port.a
|
MODULE = libwine_port.a
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
DLLFLAGS = @DLLFLAGS@
|
DLLFLAGS = @DLLFLAGS@
|
||||||
EXTRALIBS = $(LIBPORT) @LIBDL@ @COREFOUNDATIONLIB@ @CORESERVICESLIB@
|
EXTRALIBS = $(LIBPORT) @LIBDL@ @COREFOUNDATIONLIB@ @CORESERVICESLIB@
|
||||||
DEFS = -D__WINESRC__ -DWINE_UNICODE_API=""
|
EXTRADEFS = -DWINE_UNICODE_API=""
|
||||||
|
|
||||||
VERSION = 1.0
|
VERSION = 1.0
|
||||||
SOVERSION = 1
|
SOVERSION = 1
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
||||||
MODCFLAGS = @BUILTINFLAG@
|
MODCFLAGS = @BUILTINFLAG@
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
DLLFLAGS = @DLLFLAGS@
|
DLLFLAGS = @DLLFLAGS@
|
||||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
||||||
ALL_LIBS = $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(EXTRALIBS) -lwine $(LIBPORT) $(LDFLAGS) $(LIBS)
|
ALL_LIBS = $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(EXTRALIBS) -lwine $(LIBPORT) $(LDFLAGS) $(LIBS)
|
||||||
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(fakedlldir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(fakedlldir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
DEFS = -D__WINESRC__
|
|
||||||
EXTRALIBS = @LIBPOLL@ @LIBRT@
|
EXTRALIBS = @LIBPOLL@ @LIBRT@
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
DEFS = -D__WINESRC__ -DWINE_UNICODE_API=""
|
EXTRADEFS = -DWINE_UNICODE_API=""
|
||||||
EXTRAINCL = @FREETYPE_CFLAGS@
|
EXTRAINCL = @FREETYPE_CFLAGS@
|
||||||
FREETYPELIBS = @FREETYPE_LIBS@
|
FREETYPELIBS = @FREETYPE_LIBS@
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
||||||
|
|
||||||
PROGRAMS = widl$(EXEEXT)
|
PROGRAMS = widl$(EXEEXT)
|
||||||
MANPAGE = widl.man
|
MANPAGE = widl.man
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
||||||
|
|
||||||
PROGRAMS = winebuild$(EXEEXT)
|
PROGRAMS = winebuild$(EXEEXT)
|
||||||
MANPAGE = winebuild.man
|
MANPAGE = winebuild.man
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
||||||
|
|
||||||
PROGRAMS = winedump$(EXEEXT)
|
PROGRAMS = winedump$(EXEEXT)
|
||||||
MANPAGE = winedump.man
|
MANPAGE = winedump.man
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
DEFS = \
|
EXTRADEFS = \
|
||||||
-DINCLUDEDIR="\"$(includedir)\"" \
|
-DINCLUDEDIR="\"$(includedir)\"" \
|
||||||
-DDLLDIR="\"$(dlldir)\"" \
|
-DDLLDIR="\"$(dlldir)\"" \
|
||||||
-DLIBDIR="\"$(libdir)\"" \
|
-DLIBDIR="\"$(libdir)\"" \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
DEFS = -D__WINESRC__ -DWINE_UNICODE_API=""
|
EXTRADEFS = -DWINE_UNICODE_API=""
|
||||||
PROGRAMS = wmc$(EXEEXT)
|
PROGRAMS = wmc$(EXEEXT)
|
||||||
MANPAGE = wmc.man
|
MANPAGE = wmc.man
|
||||||
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWINE_STATIC) $(LIBPORT)
|
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)
|
PROGRAMS = wrc$(EXEEXT)
|
||||||
MANPAGE = wrc.man
|
MANPAGE = wrc.man
|
||||||
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWPP) $(LIBWINE_STATIC) $(LIBPORT)
|
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWPP) $(LIBWINE_STATIC) $(LIBPORT)
|
||||||
|
|
Loading…
Reference in New Issue