mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
added read and write syscalls to psxdll, rule for csrapi.a
svn path=/trunk/; revision=2758
This commit is contained in:
parent
abded70d84
commit
a910a28a31
1 changed files with 15 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile,v 1.5 2002/03/10 17:10:30 hyperion Exp $
|
# $Id: Makefile,v 1.6 2002/03/21 22:49:24 hyperion Exp $
|
||||||
|
|
||||||
PATH_TO_TOP = ../../../..
|
PATH_TO_TOP = ../../../..
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ TARGET_BASE = 0x68EB0000
|
||||||
TARGET_ENTRY = _DllMain@12
|
TARGET_ENTRY = _DllMain@12
|
||||||
|
|
||||||
TARGET_CFLAGS =\
|
TARGET_CFLAGS =\
|
||||||
-W \
|
-Wall \
|
||||||
-nostdinc \
|
-nostdinc \
|
||||||
-nostdlib \
|
-nostdlib \
|
||||||
-fno-builtin \
|
-fno-builtin \
|
||||||
|
@ -96,7 +96,9 @@ OBJECTS_UNISTD = \
|
||||||
unistd/dup.o \
|
unistd/dup.o \
|
||||||
unistd/getcwd.o \
|
unistd/getcwd.o \
|
||||||
unistd/getpid.o \
|
unistd/getpid.o \
|
||||||
unistd/getppid.o
|
unistd/getppid.o \
|
||||||
|
unistd/read.o \
|
||||||
|
unistd/write.o
|
||||||
|
|
||||||
OBJECTS = \
|
OBJECTS = \
|
||||||
$(OBJECTS_MISC) \
|
$(OBJECTS_MISC) \
|
||||||
|
@ -117,9 +119,6 @@ DEP_OBJECTS = $(OBJECTS)
|
||||||
|
|
||||||
include $(TOOLS_PATH)/depend.mk
|
include $(TOOLS_PATH)/depend.mk
|
||||||
|
|
||||||
$(TARGET_NAME).o: $(OBJECTS)
|
|
||||||
$(LD) -r $(OBJECTS) -o $(TARGET_NAME).o
|
|
||||||
|
|
||||||
DTFLAGS = -k -l $@
|
DTFLAGS = -k -l $@
|
||||||
|
|
||||||
$(TARGET_NAME).a: $(TARGET_NAME).def
|
$(TARGET_NAME).a: $(TARGET_NAME).def
|
||||||
|
@ -128,4 +127,14 @@ $(TARGET_NAME).a: $(TARGET_NAME).def
|
||||||
-D $(TARGET_NAME).dll \
|
-D $(TARGET_NAME).dll \
|
||||||
-d $(TARGET_NAME).def
|
-d $(TARGET_NAME).def
|
||||||
|
|
||||||
|
csrapi.a: csrapi.def
|
||||||
|
$(DLLTOOL) \
|
||||||
|
$(DTFLAGS) \
|
||||||
|
-D ntdll.dll \
|
||||||
|
-d csrapi.def
|
||||||
|
|
||||||
|
$(TARGET_NAME).o: csrapi.a $(OBJECTS)
|
||||||
|
$(LD) -r $(OBJECTS) -o $(TARGET_NAME).o
|
||||||
|
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
Loading…
Reference in a new issue