reactos/posix/tools/Makefile
Emanuele Aliberti 6eab84796a Mostly path fixing after new modules layout is in effect.
I renamed the terminal emulator CSRTERM: now it is named POSIXW32,
because it is a a door to reach the POSIX+ subsystem FROM the Win32
subsystem.

svn path=/trunk/; revision=3026
2002-06-08 16:28:05 +00:00

39 lines
893 B
Makefile

# $Id: Makefile,v 1.2 2002/06/08 16:28:05 ea Exp $
#
# Tool to generate the POSIX+ server system calls table
# and other auxiliary C files.
#
PATH_TO_TOP=../../reactos
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