144 lines
3.5 KiB
Makefile
144 lines
3.5 KiB
Makefile
EXTRADEFS = -D_NTSYSTEM_ -DBINDIR="\"$(bindir)\"" -DETCDIR="\"$(sysconfdir)\"" -DWINE_NO_STRICT
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = ntdll.dll
|
|
EXTRALIBS = $(LIBUNICODE)
|
|
|
|
C_SRCS = \
|
|
$(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/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/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/int2f.c \
|
|
$(TOPOBJDIR)/msdos/int5c.c \
|
|
$(TOPOBJDIR)/msdos/interrupts.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/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 \
|
|
$(TOPOBJDIR)/win32/time.c \
|
|
cdrom.c \
|
|
critsection.c \
|
|
debugtools.c \
|
|
exception.c \
|
|
error.c \
|
|
file.c \
|
|
heap.c \
|
|
large_int.c \
|
|
loader.c \
|
|
misc.c \
|
|
nt.c \
|
|
om.c \
|
|
reg.c \
|
|
rtl.c \
|
|
rtlstr.c \
|
|
rtlbitmap.c \
|
|
string.c \
|
|
sec.c \
|
|
signal_i386.c \
|
|
signal_powerpc.c \
|
|
signal_sparc.c \
|
|
sync.c \
|
|
virtual.c \
|
|
time.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)
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --relay16
|
|
|
|
relay32.s: $(WINEBUILD)
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --relay32
|
|
|
|
clean::
|
|
$(RM) $(ASM_SRCS)
|
|
|
|
### Dependencies:
|