95 lines
1.8 KiB
Makefile
95 lines
1.8 KiB
Makefile
EXTRADEFS = -D_NTSYSTEM_ -DBINDIR="\"$(bindir)\"" -DETCDIR="\"$(sysconfdir)\""
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = ntdll.dll
|
|
EXTRALIBS = $(LIBUNICODE) @LIBPTHREAD@
|
|
|
|
C_SRCS = \
|
|
$(TOPOBJDIR)/files/directory.c \
|
|
$(TOPOBJDIR)/files/dos_fs.c \
|
|
$(TOPOBJDIR)/files/drive.c \
|
|
$(TOPOBJDIR)/files/file.c \
|
|
$(TOPOBJDIR)/files/smb.c \
|
|
$(TOPOBJDIR)/loader/loadorder.c \
|
|
$(TOPOBJDIR)/loader/module.c \
|
|
$(TOPOBJDIR)/loader/task.c \
|
|
$(TOPOBJDIR)/loader/ne/module.c \
|
|
$(TOPOBJDIR)/memory/codepage.c \
|
|
$(TOPOBJDIR)/memory/environ.c \
|
|
$(TOPOBJDIR)/memory/global.c \
|
|
$(TOPOBJDIR)/memory/heap.c \
|
|
$(TOPOBJDIR)/memory/string.c \
|
|
$(TOPOBJDIR)/memory/virtual.c \
|
|
$(TOPOBJDIR)/misc/cpu.c \
|
|
$(TOPOBJDIR)/misc/options.c \
|
|
$(TOPOBJDIR)/misc/registry.c \
|
|
$(TOPOBJDIR)/msdos/dpmi.c \
|
|
$(TOPOBJDIR)/scheduler/handle.c \
|
|
$(TOPOBJDIR)/scheduler/process.c \
|
|
$(TOPOBJDIR)/scheduler/pthread.c \
|
|
$(TOPOBJDIR)/scheduler/thread.c \
|
|
$(TOPOBJDIR)/win32/device.c \
|
|
$(TOPOBJDIR)/win32/newfns.c \
|
|
cdrom.c \
|
|
critsection.c \
|
|
debugtools.c \
|
|
env.c \
|
|
error.c \
|
|
exception.c \
|
|
file.c \
|
|
heap.c \
|
|
large_int.c \
|
|
loader.c \
|
|
misc.c \
|
|
nt.c \
|
|
om.c \
|
|
path.c \
|
|
process.c \
|
|
reg.c \
|
|
relay.c \
|
|
resource.c \
|
|
rtl.c \
|
|
rtlbitmap.c \
|
|
rtlstr.c \
|
|
sec.c \
|
|
server.c \
|
|
signal_i386.c \
|
|
signal_powerpc.c \
|
|
signal_sparc.c \
|
|
string.c \
|
|
sync.c \
|
|
sysdeps.c \
|
|
version.c \
|
|
thread.c \
|
|
time.c \
|
|
virtual.c \
|
|
wcstring.c
|
|
|
|
ASM_SRCS = relay32.s
|
|
|
|
EXTRA_OBJS = $(ASM_SRCS:.s=.o)
|
|
|
|
SUBDIRS = tests
|
|
|
|
EXTRASUBDIRS = \
|
|
$(TOPOBJDIR)/files \
|
|
$(TOPOBJDIR)/loader \
|
|
$(TOPOBJDIR)/loader/ne \
|
|
$(TOPOBJDIR)/memory \
|
|
$(TOPOBJDIR)/misc \
|
|
$(TOPOBJDIR)/msdos \
|
|
$(TOPOBJDIR)/scheduler \
|
|
$(TOPOBJDIR)/win32
|
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
relay32.s: $(WINEBUILD)
|
|
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay32
|
|
|
|
clean::
|
|
$(RM) $(ASM_SRCS)
|
|
|
|
### Dependencies:
|