Minor changes to make the posix module partially compile.
[reactos.git] / posix / tools / mksystab / Makefile
1 # $Id: Makefile,v 1.1 2003/01/05 18:08:11 robd Exp $
2 #
3 # Tool to generate the POSIX+ server system calls table
4 # and other auxiliary C files.
5 #
6
7 PATH_TO_TOP = ../../../reactos
8
9 PATH_TO_PSX_TOP = ../..
10
11 TARGET_TYPE = program
12
13 TARGET_NAME = mksystab
14
15 TARGET_APPTYPE = console
16
17 TARGET_NORC = yes
18
19 SYSCALL_DB=syscall.db
20 SYSTAB_C=$(PATH_TO_PSX_TOP)/server/call/syscall.c
21 SYSTAB_H=$(PATH_TO_PSX_TOP)/server/include/syscall.h
22 SYSCALL_H=$(PATH_TO_PSX_TOP)/include/psx/syscall.h
23 STUBS_C=$(PATH_TO_PSX_TOP)/server/call/stubs.c
24
25 TARGET_OBJECTS = \
26 $(TARGET_NAME).o
27
28
29 #all: systab
30
31 #$(TARGET_NAME)$(EXE_POSTFIX): $(TARGET_NAME).c
32 # $(CC) $(CFLAGS) -o $(TARGET_NAME)$(EXE_POSTFIX) $(TARGET_NAME).c
33
34 #systab: $(TARGET_NAME)$(EXE_POSTFIX)
35 # $(TARGET_NAME)$(EXE_POSTFIX) \
36 # $(SYSCALL_DB) \
37 # $(SYSTAB_C) \
38 # $(SYSTAB_H) \
39 # $(SYSCALL_H) \
40 # $(STUBS_C)
41
42 #clean:
43 # - $(RM) $(TARGET_NAME)$(EXE_POSTFIX)
44 # - $(RM) *.o
45 # - $(RM) $(SYSTAB_C)
46 # - $(RM) $(SYSTAB_H)
47 # - $(RM) $(SYSCALL_H)
48 # - $(RM) $(STUBS_C)
49
50 include $(PATH_TO_TOP)/rules.mak
51
52 include $(TOOLS_PATH)/helper.mk
53
54 # EOF