2002-11-21 04:45:01 +01:00
|
|
|
EXTRADEFS = -D_NTSYSTEM_ -DBINDIR="\"$(bindir)\"" -DETCDIR="\"$(sysconfdir)\""
|
1998-11-01 15:00:21 +01:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2002-03-20 23:19:06 +01:00
|
|
|
MODULE = ntdll.dll
|
2003-04-03 04:54:54 +02:00
|
|
|
EXTRALIBS = $(LIBUNICODE) @LIBPTHREAD@
|
1999-07-25 15:14:13 +02:00
|
|
|
|
1998-11-01 15:00:21 +01:00
|
|
|
C_SRCS = \
|
2002-05-14 20:36:54 +02:00
|
|
|
$(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)/if1632/builtin.c \
|
|
|
|
$(TOPOBJDIR)/if1632/relay.c \
|
|
|
|
$(TOPOBJDIR)/if1632/snoop.c \
|
|
|
|
$(TOPOBJDIR)/loader/loadorder.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/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/options.c \
|
|
|
|
$(TOPOBJDIR)/misc/registry.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)/relay32/builtin32.c \
|
|
|
|
$(TOPOBJDIR)/relay32/relay386.c \
|
|
|
|
$(TOPOBJDIR)/relay32/snoop.c \
|
|
|
|
$(TOPOBJDIR)/scheduler/client.c \
|
2002-12-17 22:06:25 +01:00
|
|
|
$(TOPOBJDIR)/scheduler/fiber.c \
|
2002-05-14 20:36:54 +02:00
|
|
|
$(TOPOBJDIR)/scheduler/handle.c \
|
|
|
|
$(TOPOBJDIR)/scheduler/process.c \
|
|
|
|
$(TOPOBJDIR)/scheduler/pthread.c \
|
|
|
|
$(TOPOBJDIR)/scheduler/synchro.c \
|
|
|
|
$(TOPOBJDIR)/scheduler/syslevel.c \
|
|
|
|
$(TOPOBJDIR)/scheduler/thread.c \
|
|
|
|
$(TOPOBJDIR)/win32/device.c \
|
|
|
|
$(TOPOBJDIR)/win32/except.c \
|
|
|
|
$(TOPOBJDIR)/win32/newfns.c \
|
2002-01-13 02:44:00 +01:00
|
|
|
cdrom.c \
|
2000-09-29 02:31:23 +02:00
|
|
|
critsection.c \
|
2000-11-05 05:51:34 +01:00
|
|
|
debugtools.c \
|
2003-05-08 05:47:00 +02:00
|
|
|
env.c \
|
2000-01-24 21:59:45 +01:00
|
|
|
error.c \
|
2003-04-22 01:22:53 +02:00
|
|
|
exception.c \
|
1999-03-09 18:47:51 +01:00
|
|
|
file.c \
|
2001-12-19 20:16:27 +01:00
|
|
|
heap.c \
|
2000-10-01 03:40:42 +02:00
|
|
|
large_int.c \
|
2002-01-29 19:30:16 +01:00
|
|
|
loader.c \
|
- implementation of RtlReg* (read access), RtlEvent*, RtlSemaphore*,
NtAllocateLocallyUniqueId
- implementation or stubs for NtAccessCheck, NtSetSecurityObject,
RtlClearBits, RtlEqualPrefixSid, RtlFindClearBits,
RtlFormatCurrentUserKeyPath, RtlGetControlSecurityDescriptor,
RtlIdentifierAuthoritySid, RtlImpersonateSelf, RtlInitializeBitMap,
RtlInitializeGenericTable, RtlMakeSelfRelativeSD,
RtlPrefixUnicodeString, RtlSetBits, RtlUnicodeToMultiByteN,
RtlUpcaseUnicodeStringToOemString, RtlUpcaseUnicodeToOemN,
RtlValidSid, RtlxUnicodeStringToOemSize
- corrected most RtlString* functions, added documentation
- more fixes and partial implementations
2000-01-23 23:35:33 +01:00
|
|
|
misc.c \
|
1998-11-01 15:00:21 +01:00
|
|
|
nt.c \
|
1999-03-09 18:47:51 +01:00
|
|
|
om.c \
|
2003-04-12 02:10:13 +02:00
|
|
|
path.c \
|
1999-02-13 08:35:31 +01:00
|
|
|
reg.c \
|
2003-04-30 01:00:48 +02:00
|
|
|
resource.c \
|
1999-03-09 18:47:51 +01:00
|
|
|
rtl.c \
|
2002-08-16 00:08:40 +02:00
|
|
|
rtlbitmap.c \
|
2003-04-22 01:22:53 +02:00
|
|
|
rtlstr.c \
|
1999-03-09 18:47:51 +01:00
|
|
|
sec.c \
|
1999-09-27 12:58:45 +02:00
|
|
|
signal_i386.c \
|
2002-08-27 02:30:20 +02:00
|
|
|
signal_powerpc.c \
|
1999-11-12 02:00:34 +01:00
|
|
|
signal_sparc.c \
|
2003-04-22 01:22:53 +02:00
|
|
|
string.c \
|
1999-03-09 18:47:51 +01:00
|
|
|
sync.c \
|
2003-06-27 06:08:04 +02:00
|
|
|
sysdeps.c \
|
2003-04-05 00:26:34 +02:00
|
|
|
thread.c \
|
2000-06-23 18:16:30 +02:00
|
|
|
time.c \
|
2003-04-22 01:22:53 +02:00
|
|
|
virtual.c \
|
2000-06-23 18:16:30 +02:00
|
|
|
wcstring.c
|
1998-11-01 15:00:21 +01:00
|
|
|
|
2002-10-02 04:34:09 +02:00
|
|
|
ASM_SRCS = \
|
2002-05-14 20:36:54 +02:00
|
|
|
relay16.s \
|
2001-12-11 01:50:33 +01:00
|
|
|
relay32.s
|
|
|
|
|
2002-10-02 04:34:09 +02:00
|
|
|
EXTRA_OBJS = $(ASM_SRCS:.s=.o) $(MODULE).glue.o
|
2000-10-31 01:20:51 +01:00
|
|
|
|
2002-08-16 00:08:40 +02:00
|
|
|
SUBDIRS = tests
|
|
|
|
|
2002-05-14 20:36:54 +02:00
|
|
|
EXTRASUBDIRS = \
|
2000-10-31 01:20:51 +01:00
|
|
|
$(TOPOBJDIR)/files \
|
|
|
|
$(TOPOBJDIR)/if1632 \
|
|
|
|
$(TOPOBJDIR)/loader \
|
|
|
|
$(TOPOBJDIR)/loader/ne \
|
|
|
|
$(TOPOBJDIR)/memory \
|
|
|
|
$(TOPOBJDIR)/misc \
|
|
|
|
$(TOPOBJDIR)/msdos \
|
|
|
|
$(TOPOBJDIR)/relay32 \
|
|
|
|
$(TOPOBJDIR)/scheduler \
|
|
|
|
$(TOPOBJDIR)/win32
|
1998-11-01 15:00:21 +01:00
|
|
|
|
2000-10-31 01:20:51 +01:00
|
|
|
@MAKE_DLL_RULES@
|
1998-11-01 15:00:21 +01:00
|
|
|
|
2002-05-14 20:36:54 +02:00
|
|
|
relay16.s: $(WINEBUILD)
|
2003-04-22 01:54:05 +02:00
|
|
|
$(WINEBUILD) $(DEFS) -o $@ --relay16
|
1998-11-01 15:00:21 +01:00
|
|
|
|
2001-12-11 01:50:33 +01:00
|
|
|
relay32.s: $(WINEBUILD)
|
2003-04-22 01:54:05 +02:00
|
|
|
$(WINEBUILD) $(DEFS) -o $@ --relay32
|
2001-12-11 01:50:33 +01:00
|
|
|
|
2002-10-02 04:34:09 +02:00
|
|
|
clean::
|
|
|
|
$(RM) $(ASM_SRCS)
|
|
|
|
|
2000-09-29 02:31:23 +02:00
|
|
|
### Dependencies:
|