35 lines
708 B
Makefile
35 lines
708 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)`\"
|
|
|
|
config.o: config.c $(RELPATH)
|
|
$(CC) -c $(ALLCFLAGS) -o $@ $(SRCDIR)/config.c $(CONFIGDIRS)
|
|
|
|
$(RELPATH):
|
|
@cd $(TOOLSDIR)/tools && $(MAKE) relpath
|
|
|
|
### Dependencies:
|