mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
3cbf8c1de6
svn path=/trunk/; revision=2825
39 lines
888 B
Makefile
39 lines
888 B
Makefile
# $Id: Makefile,v 1.1 2002/04/06 16:07:34 ea Exp $
|
|
#
|
|
# Tool to generate the POSIX+ server system calls table
|
|
# and other auxiliary C files.
|
|
#
|
|
PATH_TO_TOP=../../..
|
|
PATH_TO_PSX_TOP=..
|
|
|
|
TARGET_NAME=mksystab
|
|
SYSCALL_DB=syscall.db
|
|
SYSTAB_C=$(PATH_TO_PSX_TOP)/server/call/syscall.c
|
|
SYSTAB_H=$(PATH_TO_PSX_TOP)/server/include/syscall.h
|
|
SYSCALL_H=$(PATH_TO_PSX_TOP)/include/psx/syscall.h
|
|
STUBS_C=$(PATH_TO_PSX_TOP)/server/call/stubs.c
|
|
|
|
all: systab
|
|
|
|
$(TARGET_NAME)$(EXE_POSTFIX): $(TARGET_NAME).c
|
|
$(CC) $(CFLAGS) -o $(TARGET_NAME)$(EXE_POSTFIX) $(TARGET_NAME).c
|
|
|
|
systab: $(TARGET_NAME)$(EXE_POSTFIX)
|
|
$(TARGET_NAME)$(EXE_POSTFIX) \
|
|
$(SYSCALL_DB) \
|
|
$(SYSTAB_C) \
|
|
$(SYSTAB_H) \
|
|
$(SYSCALL_H) \
|
|
$(STUBS_C)
|
|
|
|
clean:
|
|
- $(RM) $(TARGET_NAME)$(EXE_POSTFIX)
|
|
- $(RM) *.o
|
|
- $(RM) $(SYSTAB_C)
|
|
- $(RM) $(SYSTAB_H)
|
|
- $(RM) $(SYSCALL_H)
|
|
- $(RM) $(STUBS_C)
|
|
|
|
include $(PATH_TO_TOP)/rules.mak
|
|
|
|
# EOF
|