kernel32: Add stub for CreateHardLink.
[wine] / dlls / kernel32 / Makefile.in
1 EXTRADEFS = -D_KERNEL32_
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = kernel32.dll
7 IMPORTLIB = kernel32
8 IMPORTS   = ntdll
9 EXTRALIBS = @COREFOUNDATIONLIB@ @LIBPOLL@
10 EXTRADLLFLAGS = -Wb,-F,KERNEL32.dll -Wl,--image-base,0x7b800000
11
12 SPEC_SRCS16 = \
13         comm.drv.spec \
14         krnl386.exe.spec \
15         stress.spec \
16         system.drv.spec \
17         toolhelp.spec \
18         win87em.spec \
19         windebug.spec
20
21 C_SRCS = \
22         actctx.c \
23         atom.c \
24         change.c \
25         comm.c \
26         computername.c \
27         console.c \
28         cpu.c \
29         debugger.c \
30         dosmem.c \
31         editline.c \
32         environ.c \
33         except.c \
34         fiber.c \
35         file.c \
36         file16.c \
37         format_msg.c \
38         global16.c \
39         heap.c \
40         instr.c \
41         kernel_main.c \
42         lcformat.c \
43         local16.c \
44         locale.c \
45         lzexpand.c \
46         module.c \
47         ne_module.c \
48         ne_segment.c \
49         oldconfig.c \
50         path.c \
51         powermgnt.c \
52         process.c \
53         profile.c \
54         pthread.c \
55         relay16.c \
56         resource.c \
57         resource16.c \
58         selector.c \
59         snoop16.c \
60         stress.c \
61         string.c \
62         sync.c \
63         syslevel.c \
64         system.c \
65         tape.c \
66         task.c \
67         thread.c \
68         thunk.c \
69         time.c \
70         toolhelp.c \
71         utthunk.c \
72         version.c \
73         virtual.c \
74         volume.c \
75         vxd.c \
76         windebug.c \
77         wowthunk.c
78
79 C_SRCS16 = \
80         atom16.c \
81         error16.c \
82         kernel16.c \
83         registry16.c \
84         toolhelp16.c \
85         win87em.c
86
87 RC_SRCS = kernel.rc
88
89 RC_SRCS16 = \
90         version16.rc
91
92 MC_SRCS = \
93         nls/winerr_deu.mc \
94         nls/winerr_enu.mc \
95         nls/winerr_fra.mc \
96         nls/winerr_kor.mc
97
98 EXTRA_OBJS   = relay16asm.o
99 EXTRA_OBJS16 = winhelp.exe.o winoldap.mod.o
100
101 EXTRASUBDIRS = nls
102
103 @MAKE_DLL_RULES@
104
105 kernel.res: $(MC_SRCS:.mc=.mc.rc)
106
107 relay16asm.o: $(WINEBUILD)
108         $(WINEBUILD) $(WINEBUILDFLAGS) -o $@ --relay16
109
110 winoldap.mod.o: $(WINEBUILD)
111         $(WINEBUILD) $(WINEBUILDFLAGS) --exe -o $@ --main-module $(MODULE) --entry WINOLDAP_EntryPoint
112
113 winhelp.exe.o: $(WINEBUILD)
114         $(WINEBUILD) $(WINEBUILDFLAGS) --exe -o $@ --main-module $(MODULE) --entry WINHELP_EntryPoint
115
116 # Special rules for 16-bit resource and spec files
117
118 krnl386.exe.spec.o: krnl386.exe.spec version16.res
119         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --export $(SRCDIR)/krnl386.exe.spec
120
121 version16.res: version16.rc
122         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
123
124 @DEPENDENCIES@  # everything below this line is overwritten by make depend