76 lines
1.5 KiB
Makefile
76 lines
1.5 KiB
Makefile
EXTRADEFS = -D_NTSYSTEM_
|
|
MODULE = ntdll.dll
|
|
IMPORTLIB = ntdll
|
|
IMPORTS = winecrt0
|
|
EXTRAINCL = $(UNWIND_CFLAGS)
|
|
EXTRALIBS = -lwine $(IOKIT_LIBS) $(COREFOUNDATION_LIBS) $(CORESERVICES_LIBS) $(RT_LIBS) $(PTHREAD_LIBS) $(UNWIND_LIBS) $(I386_LIBS)
|
|
EXTRADLLFLAGS = -nodefaultlibs -Wl,--image-base,0x7bc00000
|
|
|
|
C_SRCS = \
|
|
actctx.c \
|
|
atom.c \
|
|
cdrom.c \
|
|
critsection.c \
|
|
crypt.c \
|
|
debugbuffer.c \
|
|
directory.c \
|
|
env.c \
|
|
error.c \
|
|
exception.c \
|
|
file.c \
|
|
handletable.c \
|
|
heap.c \
|
|
large_int.c \
|
|
loader.c \
|
|
loadorder.c \
|
|
locale.c \
|
|
misc.c \
|
|
nt.c \
|
|
om.c \
|
|
path.c \
|
|
printf.c \
|
|
process.c \
|
|
reg.c \
|
|
relay.c \
|
|
resource.c \
|
|
rtl.c \
|
|
rtlbitmap.c \
|
|
rtlstr.c \
|
|
sec.c \
|
|
serial.c \
|
|
server.c \
|
|
signal_arm.c \
|
|
signal_arm64.c \
|
|
signal_i386.c \
|
|
signal_powerpc.c \
|
|
signal_x86_64.c \
|
|
string.c \
|
|
sync.c \
|
|
tape.c \
|
|
thread.c \
|
|
threadpool.c \
|
|
time.c \
|
|
unix/debug.c \
|
|
unix/loader.c \
|
|
unix/virtual.c \
|
|
version.c \
|
|
virtual.c \
|
|
wcstring.c
|
|
|
|
RC_SRCS = version.rc
|
|
|
|
EXTRA_OBJS = unix/version.o
|
|
|
|
server_EXTRADEFS = \
|
|
-DBINDIR=\"${bindir}\" \
|
|
-DDLLDIR=\"${dlldir}\" \
|
|
-DBIN_TO_DLLDIR=\"`$(MAKEDEP) -R ${bindir} ${dlldir}`\" \
|
|
-DDLL_TO_BINDIR=\"`$(MAKEDEP) -R ${dlldir} ${bindir}`\" \
|
|
-DBIN_TO_DATADIR=\"`$(MAKEDEP) -R ${bindir} ${datadir}/wine`\"
|
|
|
|
unix/version.c: dummy
|
|
version=`(GIT_DIR=$(top_srcdir)/.git git describe HEAD 2>/dev/null || echo "wine-$(PACKAGE_VERSION)") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || (rm -f $@ && exit 1)
|
|
|
|
dummy:
|
|
.PHONY: dummy
|