mirror of
https://github.com/reactos/wine.git
synced 2024-12-12 05:45:56 +00:00
a3c45689b4
Changed initialisation of the locale functions so that CP_UNIXCP works as soon as possible during kernel32 init.
128 lines
2.3 KiB
Makefile
128 lines
2.3 KiB
Makefile
EXTRADEFS = -D_KERNEL32_ -DBINDIR="\"$(bindir)\"" -DETCDIR="\"$(sysconfdir)\""
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = kernel32.dll
|
|
IMPORTS = ntdll
|
|
ALTNAMES = krnl386.exe comm.drv stress.dll system.drv toolhelp.dll windebug.dll win87em.dll
|
|
EXTRALIBS = $(LIBUNICODE)
|
|
|
|
SPEC_SRCS16 = \
|
|
comm.drv.spec \
|
|
krnl386.exe.spec \
|
|
stress.spec \
|
|
system.drv.spec \
|
|
toolhelp.spec \
|
|
win87em.spec \
|
|
windebug.spec
|
|
|
|
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/module.c \
|
|
$(TOPOBJDIR)/memory/environ.c \
|
|
$(TOPOBJDIR)/memory/virtual.c \
|
|
$(TOPOBJDIR)/misc/cpu.c \
|
|
$(TOPOBJDIR)/misc/options.c \
|
|
$(TOPOBJDIR)/misc/registry.c \
|
|
$(TOPOBJDIR)/msdos/dpmi.c \
|
|
$(TOPOBJDIR)/msdos/int21.c \
|
|
atom.c \
|
|
change.c \
|
|
comm.c \
|
|
computername.c \
|
|
console.c \
|
|
debugger.c \
|
|
device.c \
|
|
dosmem.c \
|
|
editline.c \
|
|
except.c \
|
|
fiber.c \
|
|
file.c \
|
|
file16.c \
|
|
format_msg.c \
|
|
global16.c \
|
|
heap.c \
|
|
instr.c \
|
|
kernel_main.c \
|
|
lcformat.c \
|
|
local16.c \
|
|
locale.c \
|
|
ne_module.c \
|
|
ne_segment.c \
|
|
powermgnt.c \
|
|
process.c \
|
|
profile.c \
|
|
pthread.c \
|
|
relay16.c \
|
|
resource.c \
|
|
resource16.c \
|
|
selector.c \
|
|
snoop16.c \
|
|
stress.c \
|
|
string.c \
|
|
sync.c \
|
|
syslevel.c \
|
|
system.c \
|
|
tape.c \
|
|
task.c \
|
|
thread.c \
|
|
thunk.c \
|
|
time.c \
|
|
toolhelp.c \
|
|
utthunk.c \
|
|
version.c \
|
|
vxd.c \
|
|
win87em.c \
|
|
windebug.c \
|
|
wowthunk.c
|
|
|
|
C_SRCS16 = \
|
|
error16.c \
|
|
registry16.c
|
|
|
|
ASM_SRCS = relay16asm.s
|
|
|
|
RC_SRCS = kernel.rc
|
|
|
|
RC_SRCS16 = \
|
|
version16.rc
|
|
|
|
MC_SRCS = \
|
|
messages/winerr_enu.mc
|
|
|
|
EXTRA_OBJS = $(ASM_SRCS:.s=.o)
|
|
SUBDIRS = tests
|
|
EXTRASUBDIRS = \
|
|
$(TOPOBJDIR)/files \
|
|
$(TOPOBJDIR)/loader \
|
|
$(TOPOBJDIR)/memory \
|
|
$(TOPOBJDIR)/misc \
|
|
$(TOPOBJDIR)/msdos \
|
|
messages \
|
|
nls
|
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
kernel.res: $(MC_SRCS:.mc=.mc.rc)
|
|
|
|
relay16asm.s: $(WINEBUILD)
|
|
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
|
|
|
|
# Special rules for 16-bit resource and spec files
|
|
|
|
krnl386.exe.spec.c: krnl386.exe.spec version16.res
|
|
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
|
|
|
|
version16.res: version16.rc
|
|
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
|
|
|
|
clean::
|
|
$(RM) $(ASM_SRCS)
|
|
|
|
### Dependencies:
|