Removed no longer needed uses of LDPATH.
[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 EXTRALIBS = $(LIBUNICODE)
11 DLLMAIN   = MAIN_KernelInit
12
13 SPEC_SRCS16 = \
14         comm.spec \
15         krnl386.exe.spec \
16         stress.spec \
17         system.spec \
18         toolhelp.spec \
19         win87em.spec \
20         windebug.spec \
21         wprocs.spec
22
23 C_SRCS = \
24         $(TOPOBJDIR)/ole/ole2nls.c \
25         change.c \
26         comm.c \
27         computername.c \
28         console.c \
29         debugger.c \
30         editline.c \
31         format_msg.c \
32         kernel_main.c \
33         lcformat.c \
34         locale.c \
35         stress.c \
36         string.c \
37         sync.c \
38         thunk.c \
39         time.c \
40         toolhelp.c \
41         utthunk.c \
42         win87em.c \
43         windebug.c \
44         wowthunk.c
45
46 C_SRCS16 = \
47         registry16.c
48
49 RC_SRCS = kernel.rc
50
51 RC_SRCS16 = \
52         version16.rc
53
54 MC_SRCS = \
55         messages/winerr_enu.mc
56
57 SUBDIRS      = tests
58 EXTRASUBDIRS = messages nls $(TOPOBJDIR)/ole
59
60 @MAKE_DLL_RULES@
61
62 kernel.res: $(MC_SRCS:.mc=.mc.rc)
63
64 # Special rules for 16-bit resource and spec files
65
66 krnl386.exe.spec.c: krnl386.exe.spec version16.res
67         $(WINEBUILD) $(DEFS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
68
69 version16.res: version16.rc
70         $(LDPATH) $(WRC) $(WRCFLAGS) -o $@ -O res16 $(SRCDIR)/version16.rc
71
72 ### Dependencies: