mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
57 lines
1.1 KiB
Makefile
57 lines
1.1 KiB
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = kernel32.dll
|
|
IMPORTS = ntdll
|
|
ALTNAMES = krnl386.exe comm.dll stress.dll system.dll toolhelp.dll windebug.dll win87em.dll wprocs.dll
|
|
LDIMPORTS = ntdll.dll
|
|
|
|
C_SRCS = \
|
|
$(TOPOBJDIR)/ole/ole2nls.c \
|
|
comm.c \
|
|
console.c \
|
|
debugger.c \
|
|
editline.c \
|
|
format_msg.c \
|
|
kernel_main.c \
|
|
locale.c \
|
|
registry16.c \
|
|
stress.c \
|
|
string.c \
|
|
sync.c \
|
|
thunk.c \
|
|
time.c \
|
|
toolhelp.c \
|
|
utthunk.c \
|
|
win87em.c \
|
|
windebug.c \
|
|
wowthunk.c
|
|
|
|
RC_SRCS = kernel.rc
|
|
|
|
RC_SRCS16 = \
|
|
version16.rc
|
|
|
|
MC_SRCS = \
|
|
messages/winerr_enu.mc
|
|
|
|
EXTRA_OBJS = $(MODULE).glue.o
|
|
|
|
SUBDIRS = tests
|
|
EXTRASUBDIRS = messages nls
|
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
kernel.res: $(MC_SRCS:.mc=.mc.rc)
|
|
|
|
# Special rules for 16-bit resource and spec files
|
|
|
|
krnl386.exe.spec.c: krnl386.exe.spec version16.res $(WINEBUILD)
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -N kernel -o $@ -M $(MODULE) -spec $(SRCDIR)/krnl386.exe.spec
|
|
|
|
version16.res: version16.rc
|
|
$(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/version16.rc
|
|
|
|
### Dependencies:
|