mirror of
https://github.com/reactos/wine.git
synced 2025-04-03 08:31:55 +00:00
Moved X flags and libraries out of Make.rules into the makefiles that
need them.
This commit is contained in:
parent
b989620b46
commit
137eed8d9b
@ -28,9 +28,6 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CFLAGS = @CFLAGS@ $(EXTRACFLAGS)
|
CFLAGS = @CFLAGS@ $(EXTRACFLAGS)
|
||||||
OPTIONS = @OPTIONS@ -D_REENTRANT
|
OPTIONS = @OPTIONS@ -D_REENTRANT
|
||||||
X_CFLAGS = @X_CFLAGS@
|
|
||||||
X_LIBS = @X_LIBS@
|
|
||||||
XLIB = @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@
|
|
||||||
LIBS = @LIBS@
|
LIBS = @LIBS@
|
||||||
YACC = @YACC@
|
YACC = @YACC@
|
||||||
LEX = @LEX@
|
LEX = @LEX@
|
||||||
@ -51,7 +48,7 @@ LN = @LN@
|
|||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
TOOLSDIR = @TOOLSDIR@
|
TOOLSDIR = @TOOLSDIR@
|
||||||
DIVINCL = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL)
|
DIVINCL = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL)
|
||||||
ALLCFLAGS = $(DIVINCL) $(CFLAGS) $(DEFS) $(OPTIONS) $(X_CFLAGS)
|
ALLCFLAGS = $(DIVINCL) $(CFLAGS) $(DEFS) $(OPTIONS)
|
||||||
LD = @LD@
|
LD = @LD@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
LDCOMBINE = $(LD) -r
|
LDCOMBINE = $(LD) -r
|
||||||
|
2
configure
vendored
2
configure
vendored
@ -9589,7 +9589,7 @@ cat >>confdefs.h <<\_ACEOF
|
|||||||
#define HAVE_NAS 1
|
#define HAVE_NAS 1
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
NASLIBS="-laudio -lXt \$(X_LIBS) \$(XLIB)"
|
NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -602,7 +602,7 @@ AC_CHECK_HEADERS(audio/audiolib.h,
|
|||||||
[AC_CHECK_HEADERS(audio/soundlib.h,,,[#include <audio/audiolib.h>])
|
[AC_CHECK_HEADERS(audio/soundlib.h,,,[#include <audio/audiolib.h>])
|
||||||
AC_CHECK_LIB(audio,AuCreateFlow,
|
AC_CHECK_LIB(audio,AuCreateFlow,
|
||||||
[AC_DEFINE(HAVE_NAS,1,[Define if you have NAS including devel headers])
|
[AC_DEFINE(HAVE_NAS,1,[Define if you have NAS including devel headers])
|
||||||
NASLIBS="-laudio -lXt \$(X_LIBS) \$(XLIB)"],,
|
NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"],,
|
||||||
[-lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS])])
|
[-lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS])])
|
||||||
|
|
||||||
dnl **** Check for libaudioio (which can be used to get solaris audio support) ****
|
dnl **** Check for libaudioio (which can be used to get solaris audio support) ****
|
||||||
|
@ -4,7 +4,8 @@ SRCDIR = @srcdir@
|
|||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = d3d8.dll
|
MODULE = d3d8.dll
|
||||||
IMPORTS = user32 gdi32 kernel32
|
IMPORTS = user32 gdi32 kernel32
|
||||||
EXTRALIBS = $(LIBUUID) $(X_LIBS) $(XLIB)
|
EXTRAINCL = @X_CFLAGS@
|
||||||
|
EXTRALIBS = $(LIBUUID) @X_LIBS@ @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@
|
||||||
|
|
||||||
LDDLLFLAGS = @LDDLLFLAGS@
|
LDDLLFLAGS = @LDDLLFLAGS@
|
||||||
SYMBOLFILE = $(MODULE).tmp.o
|
SYMBOLFILE = $(MODULE).tmp.o
|
||||||
|
@ -4,7 +4,8 @@ SRCDIR = @srcdir@
|
|||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = ddraw.dll
|
MODULE = ddraw.dll
|
||||||
IMPORTS = user32 gdi32 kernel32
|
IMPORTS = user32 gdi32 kernel32
|
||||||
EXTRALIBS = $(LIBUUID) $(X_LIBS) $(XLIB)
|
EXTRAINCL = @X_CFLAGS@
|
||||||
|
EXTRALIBS = $(LIBUUID) @X_LIBS@ @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@
|
||||||
|
|
||||||
LDDLLFLAGS = @LDDLLFLAGS@
|
LDDLLFLAGS = @LDDLLFLAGS@
|
||||||
SYMBOLFILE = $(MODULE).tmp.o
|
SYMBOLFILE = $(MODULE).tmp.o
|
||||||
|
@ -3,7 +3,8 @@ TOPOBJDIR = ../..
|
|||||||
SRCDIR = @srcdir@
|
SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = glu32.dll
|
MODULE = glu32.dll
|
||||||
EXTRALIBS = $(X_LIBS) $(XLIB)
|
EXTRAINCL = @X_CFLAGS@
|
||||||
|
EXTRALIBS = @X_LIBS@ @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@
|
||||||
|
|
||||||
LDDLLFLAGS = @LDDLLFLAGS@
|
LDDLLFLAGS = @LDDLLFLAGS@
|
||||||
SYMBOLFILE = $(MODULE).tmp.o
|
SYMBOLFILE = $(MODULE).tmp.o
|
||||||
|
@ -4,7 +4,8 @@ SRCDIR = @srcdir@
|
|||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = opengl32.dll
|
MODULE = opengl32.dll
|
||||||
IMPORTS = user32 gdi32 kernel32
|
IMPORTS = user32 gdi32 kernel32
|
||||||
EXTRALIBS = $(X_LIBS) $(XLIB)
|
EXTRAINCL = @X_CFLAGS@
|
||||||
|
EXTRALIBS = @X_LIBS@ @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@
|
||||||
|
|
||||||
LDDLLFLAGS = @LDDLLFLAGS@
|
LDDLLFLAGS = @LDDLLFLAGS@
|
||||||
SYMBOLFILE = $(MODULE).tmp.o
|
SYMBOLFILE = $(MODULE).tmp.o
|
||||||
|
@ -5,7 +5,8 @@ SRCDIR = @srcdir@
|
|||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = x11drv.dll
|
MODULE = x11drv.dll
|
||||||
IMPORTS = user32 gdi32 advapi32 kernel32 ntdll
|
IMPORTS = user32 gdi32 advapi32 kernel32 ntdll
|
||||||
EXTRALIBS = $(X_LIBS) $(XLIB)
|
EXTRAINCL = @X_CFLAGS@
|
||||||
|
EXTRALIBS = @X_LIBS@ @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@
|
||||||
|
|
||||||
LDDLLFLAGS = @LDDLLFLAGS@
|
LDDLLFLAGS = @LDDLLFLAGS@
|
||||||
SYMBOLFILE = $(MODULE).tmp.o
|
SYMBOLFILE = $(MODULE).tmp.o
|
||||||
@ -49,7 +50,7 @@ EXTRASUBDIRS = \
|
|||||||
all: $(PROGRAMS)
|
all: $(PROGRAMS)
|
||||||
|
|
||||||
wineclipsrv: wineclipsrv.c
|
wineclipsrv: wineclipsrv.c
|
||||||
$(CC) $(ALLCFLAGS) -o wineclipsrv $(SRCDIR)/wineclipsrv.c $(X_LIBS) $(XLIB) $(LIBS)
|
$(CC) $(ALLCFLAGS) -o wineclipsrv $(SRCDIR)/wineclipsrv.c $(EXTRALIBS) $(LIBS)
|
||||||
|
|
||||||
install:: $(PROGRAMS)
|
install:: $(PROGRAMS)
|
||||||
$(MKINSTALLDIRS) $(bindir)
|
$(MKINSTALLDIRS) $(bindir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user