'sizeof type' is best avoided as it won't always compile (e.g. 'int
[wine] / dlls / ntdll / Makefile.in
1 EXTRADEFS = -D_NTSYSTEM_  -DBINDIR="\"$(bindir)\""  -DETCDIR="\"$(sysconfdir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = ntdll.dll
7 EXTRALIBS = $(LIBUNICODE) @LIBPTHREAD@
8
9 C_SRCS = \
10         $(TOPOBJDIR)/files/directory.c \
11         $(TOPOBJDIR)/files/dos_fs.c \
12         $(TOPOBJDIR)/files/drive.c \
13         $(TOPOBJDIR)/files/file.c \
14         $(TOPOBJDIR)/files/profile.c \
15         $(TOPOBJDIR)/files/smb.c \
16         $(TOPOBJDIR)/files/tape.c \
17         $(TOPOBJDIR)/if1632/builtin.c \
18         $(TOPOBJDIR)/if1632/relay.c \
19         $(TOPOBJDIR)/if1632/snoop.c \
20         $(TOPOBJDIR)/loader/loadorder.c \
21         $(TOPOBJDIR)/loader/module.c \
22         $(TOPOBJDIR)/loader/pe_image.c \
23         $(TOPOBJDIR)/loader/task.c \
24         $(TOPOBJDIR)/loader/ne/module.c \
25         $(TOPOBJDIR)/loader/ne/segment.c \
26         $(TOPOBJDIR)/memory/codepage.c \
27         $(TOPOBJDIR)/memory/environ.c \
28         $(TOPOBJDIR)/memory/global.c \
29         $(TOPOBJDIR)/memory/heap.c \
30         $(TOPOBJDIR)/memory/instr.c \
31         $(TOPOBJDIR)/memory/local.c \
32         $(TOPOBJDIR)/memory/selector.c \
33         $(TOPOBJDIR)/memory/string.c \
34         $(TOPOBJDIR)/memory/virtual.c \
35         $(TOPOBJDIR)/misc/cpu.c \
36         $(TOPOBJDIR)/misc/options.c \
37         $(TOPOBJDIR)/misc/registry.c \
38         $(TOPOBJDIR)/misc/version.c \
39         $(TOPOBJDIR)/msdos/dosmem.c \
40         $(TOPOBJDIR)/msdos/dpmi.c \
41         $(TOPOBJDIR)/msdos/int21.c \
42         $(TOPOBJDIR)/msdos/ioports.c \
43         $(TOPOBJDIR)/msdos/ppdev.c \
44         $(TOPOBJDIR)/relay32/builtin32.c \
45         $(TOPOBJDIR)/relay32/relay386.c \
46         $(TOPOBJDIR)/relay32/snoop.c \
47         $(TOPOBJDIR)/scheduler/client.c \
48         $(TOPOBJDIR)/scheduler/critsection.c \
49         $(TOPOBJDIR)/scheduler/fiber.c \
50         $(TOPOBJDIR)/scheduler/handle.c \
51         $(TOPOBJDIR)/scheduler/process.c \
52         $(TOPOBJDIR)/scheduler/pthread.c \
53         $(TOPOBJDIR)/scheduler/synchro.c \
54         $(TOPOBJDIR)/scheduler/sysdeps.c \
55         $(TOPOBJDIR)/scheduler/syslevel.c \
56         $(TOPOBJDIR)/scheduler/thread.c \
57         $(TOPOBJDIR)/win32/device.c \
58         $(TOPOBJDIR)/win32/except.c \
59         $(TOPOBJDIR)/win32/kernel32.c \
60         $(TOPOBJDIR)/win32/newfns.c \
61         cdrom.c \
62         critsection.c \
63         debugtools.c \
64         env.c \
65         error.c \
66         exception.c \
67         file.c \
68         heap.c \
69         large_int.c \
70         loader.c \
71         misc.c \
72         nt.c \
73         om.c \
74         path.c \
75         reg.c \
76         resource.c \
77         rtl.c \
78         rtlbitmap.c \
79         rtlstr.c \
80         sec.c \
81         signal_i386.c \
82         signal_powerpc.c \
83         signal_sparc.c \
84         string.c \
85         sync.c \
86         thread.c \
87         time.c \
88         virtual.c \
89         wcstring.c
90
91 ASM_SRCS = \
92         relay16.s \
93         relay32.s
94
95 EXTRA_OBJS = $(ASM_SRCS:.s=.o) $(MODULE).glue.o
96
97 SUBDIRS = tests
98
99 EXTRASUBDIRS = \
100         $(TOPOBJDIR)/files \
101         $(TOPOBJDIR)/if1632 \
102         $(TOPOBJDIR)/loader \
103         $(TOPOBJDIR)/loader/ne \
104         $(TOPOBJDIR)/memory \
105         $(TOPOBJDIR)/misc \
106         $(TOPOBJDIR)/msdos \
107         $(TOPOBJDIR)/relay32 \
108         $(TOPOBJDIR)/scheduler \
109         $(TOPOBJDIR)/win32
110
111 @MAKE_DLL_RULES@
112
113 relay16.s: $(WINEBUILD)
114         $(WINEBUILD) $(DEFS) -o $@ --relay16
115
116 relay32.s: $(WINEBUILD)
117         $(WINEBUILD) $(DEFS) -o $@ --relay32
118
119 clean::
120         $(RM) $(ASM_SRCS)
121
122 ### Dependencies: