130 lines
3.0 KiB
Makefile
130 lines
3.0 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/profile.c \
|
|
$(TOPOBJDIR)/files/smb.c \
|
|
$(TOPOBJDIR)/files/tape.c \
|
|
$(TOPOBJDIR)/if1632/builtin.c \
|
|
$(TOPOBJDIR)/if1632/relay.c \
|
|
$(TOPOBJDIR)/if1632/snoop.c \
|
|
$(TOPOBJDIR)/loader/loadorder.c \
|
|
$(TOPOBJDIR)/loader/main.c \
|
|
$(TOPOBJDIR)/loader/module.c \
|
|
$(TOPOBJDIR)/loader/pe_image.c \
|
|
$(TOPOBJDIR)/loader/task.c \
|
|
$(TOPOBJDIR)/loader/ne/module.c \
|
|
$(TOPOBJDIR)/loader/ne/segment.c \
|
|
$(TOPOBJDIR)/memory/atom.c \
|
|
$(TOPOBJDIR)/memory/codepage.c \
|
|
$(TOPOBJDIR)/memory/environ.c \
|
|
$(TOPOBJDIR)/memory/global.c \
|
|
$(TOPOBJDIR)/memory/heap.c \
|
|
$(TOPOBJDIR)/memory/instr.c \
|
|
$(TOPOBJDIR)/memory/local.c \
|
|
$(TOPOBJDIR)/memory/selector.c \
|
|
$(TOPOBJDIR)/memory/string.c \
|
|
$(TOPOBJDIR)/memory/virtual.c \
|
|
$(TOPOBJDIR)/misc/cpu.c \
|
|
$(TOPOBJDIR)/misc/error.c \
|
|
$(TOPOBJDIR)/misc/main.c \
|
|
$(TOPOBJDIR)/misc/options.c \
|
|
$(TOPOBJDIR)/misc/registry.c \
|
|
$(TOPOBJDIR)/misc/system.c \
|
|
$(TOPOBJDIR)/misc/version.c \
|
|
$(TOPOBJDIR)/msdos/dosmem.c \
|
|
$(TOPOBJDIR)/msdos/dpmi.c \
|
|
$(TOPOBJDIR)/msdos/int21.c \
|
|
$(TOPOBJDIR)/msdos/ioports.c \
|
|
$(TOPOBJDIR)/msdos/ppdev.c \
|
|
$(TOPOBJDIR)/msdos/vxd.c \
|
|
$(TOPOBJDIR)/relay32/builtin32.c \
|
|
$(TOPOBJDIR)/relay32/relay386.c \
|
|
$(TOPOBJDIR)/relay32/snoop.c \
|
|
$(TOPOBJDIR)/scheduler/client.c \
|
|
$(TOPOBJDIR)/scheduler/critsection.c \
|
|
$(TOPOBJDIR)/scheduler/fiber.c \
|
|
$(TOPOBJDIR)/scheduler/handle.c \
|
|
$(TOPOBJDIR)/scheduler/pipe.c \
|
|
$(TOPOBJDIR)/scheduler/process.c \
|
|
$(TOPOBJDIR)/scheduler/pthread.c \
|
|
$(TOPOBJDIR)/scheduler/synchro.c \
|
|
$(TOPOBJDIR)/scheduler/sysdeps.c \
|
|
$(TOPOBJDIR)/scheduler/syslevel.c \
|
|
$(TOPOBJDIR)/scheduler/thread.c \
|
|
$(TOPOBJDIR)/scheduler/timer.c \
|
|
$(TOPOBJDIR)/win32/device.c \
|
|
$(TOPOBJDIR)/win32/except.c \
|
|
$(TOPOBJDIR)/win32/kernel32.c \
|
|
$(TOPOBJDIR)/win32/newfns.c \
|
|
cdrom.c \
|
|
critsection.c \
|
|
debugtools.c \
|
|
error.c \
|
|
exception.c \
|
|
file.c \
|
|
heap.c \
|
|
large_int.c \
|
|
loader.c \
|
|
misc.c \
|
|
nt.c \
|
|
om.c \
|
|
path.c \
|
|
reg.c \
|
|
resource.c \
|
|
rtl.c \
|
|
rtlbitmap.c \
|
|
rtlstr.c \
|
|
sec.c \
|
|
signal_i386.c \
|
|
signal_powerpc.c \
|
|
signal_sparc.c \
|
|
string.c \
|
|
sync.c \
|
|
thread.c \
|
|
time.c \
|
|
virtual.c \
|
|
wcstring.c
|
|
|
|
ASM_SRCS = \
|
|
relay16.s \
|
|
relay32.s
|
|
|
|
EXTRA_OBJS = $(ASM_SRCS:.s=.o) $(MODULE).glue.o
|
|
|
|
SUBDIRS = tests
|
|
|
|
EXTRASUBDIRS = \
|
|
$(TOPOBJDIR)/files \
|
|
$(TOPOBJDIR)/if1632 \
|
|
$(TOPOBJDIR)/loader \
|
|
$(TOPOBJDIR)/loader/ne \
|
|
$(TOPOBJDIR)/memory \
|
|
$(TOPOBJDIR)/misc \
|
|
$(TOPOBJDIR)/msdos \
|
|
$(TOPOBJDIR)/relay32 \
|
|
$(TOPOBJDIR)/scheduler \
|
|
$(TOPOBJDIR)/win32
|
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
relay16.s: $(WINEBUILD)
|
|
$(WINEBUILD) $(DEFS) -o $@ --relay16
|
|
|
|
relay32.s: $(WINEBUILD)
|
|
$(WINEBUILD) $(DEFS) -o $@ --relay32
|
|
|
|
clean::
|
|
$(RM) $(ASM_SRCS)
|
|
|
|
### Dependencies:
|