Properly #define sipx_node for FreeBSD.
[wine] / dlls / kernel / Makefile.in
1 EXTRADEFS = -D_KERNEL32_
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = kernel32.dll
7 IMPORTS   = ntdll
8 ALTNAMES  = krnl386.exe comm.dll stress.dll system.dll toolhelp.dll windebug.dll win87em.dll wprocs.dll
9 LDIMPORTS = ntdll.dll
10 DLLMAIN   = MAIN_KernelInit
11
12 C_SRCS = \
13         $(TOPOBJDIR)/ole/ole2nls.c \
14         comm.c \
15         computername.c \
16         console.c \
17         debugger.c \
18         editline.c \
19         format_msg.c \
20         kernel_main.c \
21         locale.c \
22         stress.c \
23         string.c \
24         sync.c \
25         thunk.c \
26         time.c \
27         toolhelp.c \
28         utthunk.c \
29         win87em.c \
30         windebug.c \
31         wowthunk.c
32
33 C_SRCS16 = \
34         registry16.c
35
36 RC_SRCS = kernel.rc
37
38 RC_SRCS16 = \
39         version16.rc
40
41 MC_SRCS = \
42         messages/winerr_enu.mc
43
44 EXTRA_OBJS = $(MODULE).glue.o
45
46 SUBDIRS      = tests
47 EXTRASUBDIRS = messages nls
48
49 @MAKE_DLL_RULES@
50
51 kernel.res: $(MC_SRCS:.mc=.mc.rc)
52
53 # Special rules for 16-bit resource and spec files
54
55 krnl386.exe.spec.c: krnl386.exe.spec version16.res
56         $(LDPATH) $(WINEBUILD) $(DEFS) -N kernel -o $@ -M $(MODULE) -r version16.res --spec $(SRCDIR)/krnl386.exe.spec
57
58 version16.res: version16.rc
59         $(LDPATH) $(WRC) $(WRCFLAGS) $(DIVINCL) -o $@ -w16 $(SRCDIR)/version16.rc
60
61 ### Dependencies: