Cosmetic: RtlCreateUnicodeString(): Fix 'const' warnings
[reactos.git] / iface / native / makefile
1 # $Id$
2 #
3 # ReactOS Operating System
4 #
5 # Generate:
6 # - genntdll
7 # - ntoskrnl.exe service table;
8 # - ntoskrnl.exe Zw functions stubs to call Nt functions from kernel mode;
9 # - ntdll.dll stubs to call system functions from user mode applications.
10 #
11 PATH_TO_TOP = ../..
12
13 TARGET = genntdll
14 SYSTEM_CALLS_DB = sysfuncs.lst
15 NTDLL_STUBS = ../../lib/ntdll/napi.c
16 KERNEL_SERVICE_TABLE = ../../include/ntdll/napi.h
17 KERNEL_ZW_CALLS = ../../ntoskrnl/nt/zw.c
18 NAPI_FILES = $(NTDLL_STUBS) $(KERNEL_SERVICE_TABLE) $(KERNEL_ZW_CALLS)
19
20 BASE_CFLAGS = -I../../include
21
22 all: $(TARGET)$(EXE_POSTFIX) $(NAPI_FILES)
23
24 $(NAPI_FILES): $(SYSTEM_CALLS_DB) $(TARGET)$(EXE_POSTFIX) 
25         ./$(TARGET)$(EXE_POSTFIX) \
26                 $(SYSTEM_CALLS_DB) \
27                 $(NTDLL_STUBS) \
28                 $(KERNEL_SERVICE_TABLE) \
29                 $(KERNEL_ZW_CALLS)
30
31 # (rjj) i removed the following option from line below: -If:\gnu\mingw32\include
32 $(TARGET)$(EXE_POSTFIX): $(TARGET).c
33         $(HOST_CC) -g $(TARGET).c -o $(TARGET)$(EXE_POSTFIX)    
34
35 clean:
36         - $(RM) $(TARGET)$(EXE_POSTFIX) $(NTDLL_STUBS) $(KERNEL_SERVICE_TABLE) $(KERNEL_ZW_CALLS)
37         
38 .PHONY: all clean 
39
40 include ../../rules.mak