2002-05-14 20:36:54 +02: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
|
2000-12-06 01:05:14 +01:00
|
|
|
EXTRALIBS = $(LIBUNICODE)
|
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/change.c \
|
|
|
|
$(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/elf.c \
|
|
|
|
$(TOPOBJDIR)/loader/loadorder.c \
|
|
|
|
$(TOPOBJDIR)/loader/main.c \
|
|
|
|
$(TOPOBJDIR)/loader/module.c \
|
|
|
|
$(TOPOBJDIR)/loader/pe_image.c \
|
|
|
|
$(TOPOBJDIR)/loader/pe_resource.c \
|
|
|
|
$(TOPOBJDIR)/loader/resource.c \
|
|
|
|
$(TOPOBJDIR)/loader/task.c \
|
|
|
|
$(TOPOBJDIR)/loader/ne/convert.c \
|
|
|
|
$(TOPOBJDIR)/loader/ne/module.c \
|
|
|
|
$(TOPOBJDIR)/loader/ne/resource.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/registry.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/dosconf.c \
|
|
|
|
$(TOPOBJDIR)/msdos/dosmem.c \
|
|
|
|
$(TOPOBJDIR)/msdos/dpmi.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int11.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int12.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int13.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int15.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int1a.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int20.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int21.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int25.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int26.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int2a.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int2f.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int3d.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int41.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int4b.c \
|
|
|
|
$(TOPOBJDIR)/msdos/int5c.c \
|
|
|
|
$(TOPOBJDIR)/msdos/interrupts.c \
|
|
|
|
$(TOPOBJDIR)/msdos/ioports.c \
|
|
|
|
$(TOPOBJDIR)/msdos/ppdev.c \
|
|
|
|
$(TOPOBJDIR)/msdos/vxd.c \
|
|
|
|
$(TOPOBJDIR)/ole/ole2nls.c \
|
|
|
|
$(TOPOBJDIR)/relay32/builtin32.c \
|
|
|
|
$(TOPOBJDIR)/relay32/relay386.c \
|
|
|
|
$(TOPOBJDIR)/relay32/snoop.c \
|
|
|
|
$(TOPOBJDIR)/scheduler/client.c \
|
|
|
|
$(TOPOBJDIR)/scheduler/critsection.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/console.c \
|
|
|
|
$(TOPOBJDIR)/win32/device.c \
|
|
|
|
$(TOPOBJDIR)/win32/editline.c \
|
|
|
|
$(TOPOBJDIR)/win32/except.c \
|
|
|
|
$(TOPOBJDIR)/win32/init.c \
|
|
|
|
$(TOPOBJDIR)/win32/kernel32.c \
|
|
|
|
$(TOPOBJDIR)/win32/newfns.c \
|
|
|
|
$(TOPOBJDIR)/win32/time.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 \
|
1999-05-09 18:12:19 +02:00
|
|
|
exception.c \
|
2000-01-24 21:59:45 +01:00
|
|
|
error.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 \
|
1999-02-13 08:35:31 +01:00
|
|
|
reg.c \
|
1999-03-09 18:47:51 +01:00
|
|
|
rtl.c \
|
|
|
|
rtlstr.c \
|
2000-06-23 18:16:30 +02:00
|
|
|
string.c \
|
1999-03-09 18:47:51 +01:00
|
|
|
sec.c \
|
1999-09-27 12:58:45 +02:00
|
|
|
signal_i386.c \
|
1999-11-12 02:00:34 +01:00
|
|
|
signal_sparc.c \
|
1999-03-09 18:47:51 +01:00
|
|
|
sync.c \
|
2000-06-23 18:16:30 +02:00
|
|
|
time.c \
|
|
|
|
wcstring.c
|
1998-11-01 15:00:21 +01:00
|
|
|
|
2001-12-11 01:50:33 +01:00
|
|
|
GEN_ASM_SRCS = \
|
2002-05-14 20:36:54 +02:00
|
|
|
relay16.s \
|
2001-12-11 01:50:33 +01:00
|
|
|
relay32.s
|
|
|
|
|
2002-05-14 20:36:54 +02:00
|
|
|
GLUE = \
|
|
|
|
$(TOPOBJDIR)/loader/task.c \
|
|
|
|
$(TOPOBJDIR)/loader/ne/module.c \
|
|
|
|
$(TOPOBJDIR)/loader/ne/segment.c \
|
|
|
|
$(TOPOBJDIR)/memory/local.c
|
2000-10-31 01:20:51 +01:00
|
|
|
|
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)/ole \
|
|
|
|
$(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)
|
2002-05-14 22:54:58 +02:00
|
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -relay16
|
1998-11-01 15:00:21 +01:00
|
|
|
|
2001-12-11 01:50:33 +01:00
|
|
|
relay32.s: $(WINEBUILD)
|
2002-05-14 22:54:58 +02:00
|
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -relay32
|
2001-12-11 01:50:33 +01:00
|
|
|
|
2002-03-20 23:19:06 +01:00
|
|
|
install:: install_libdir
|
|
|
|
uninstall:: uninstall_libdir
|
|
|
|
|
2000-09-29 02:31:23 +02:00
|
|
|
### Dependencies:
|