34 lines
779 B
Makefile
34 lines
779 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
LIBRARY = wine
|
|
SOVERSION = 1
|
|
VERSCRIPT = $(SRCDIR)/wine.map
|
|
EXTRADEFS = -D__WINESRC__
|
|
EXTRALIBS = $(LIBPORT) @DLLIBS@ @CRTLIBS@
|
|
|
|
C_SRCS = \
|
|
config.c \
|
|
debug.c \
|
|
ldt.c \
|
|
loader.c \
|
|
mmap.c \
|
|
port.c
|
|
|
|
@MAKE_LIB_RULES@
|
|
|
|
CONFIGDIRS = \
|
|
-DBINDIR='"$(bindir)"' \
|
|
-DDLLDIR='"$(dlldir)"' \
|
|
-DLIB_TO_BINDIR=\"`$(RELPATH) $(libdir) $(bindir)`\" \
|
|
-DLIB_TO_DLLDIR=\"`$(RELPATH) $(libdir) $(dlldir)`\" \
|
|
-DBIN_TO_DLLDIR=\"`$(RELPATH) $(bindir) $(dlldir)`\" \
|
|
-DLIB_TO_DATADIR=\"`$(RELPATH) $(libdir) $(datadir)/wine`\" \
|
|
-DBIN_TO_DATADIR=\"`$(RELPATH) $(bindir) $(datadir)/wine`\"
|
|
|
|
config.o: config.c $(RELPATH)
|
|
$(CC) -c $(ALLCFLAGS) -o $@ $(SRCDIR)/config.c $(CONFIGDIRS)
|
|
|
|
### Dependencies:
|