doing some maintenance on the posix build system, getting in sync with reactos base.
[reactos.git] / posix / lib / psxdll / Makefile
index 0300ee8..0dab020 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.11 2002/08/25 10:20:51 sedwards Exp $
+# $Id: Makefile,v 1.14 2003/01/05 18:27:19 robd Exp $
 
 PATH_TO_TOP = ../../../reactos
 
 
 PATH_TO_TOP = ../../../reactos
 
@@ -10,8 +10,6 @@ TARGET_NAME = psxdll
 
 TARGET_LIBPATH = $(PATH_TO_TOP)/dk/psx/lib
 
 
 TARGET_LIBPATH = $(PATH_TO_TOP)/dk/psx/lib
 
-TARGET_LFLAGS = -nostartfiles
-
 TARGET_SDKLIBS = ntdll.a
 
 TARGET_BASE = 0x68EB0000
 TARGET_SDKLIBS = ntdll.a
 
 TARGET_BASE = 0x68EB0000
@@ -28,12 +26,7 @@ TARGET_CFLAGS =\
        -D__PSXDLL__ \
        -D__PSX_DEBUG_WANT_ALL__
 
        -D__PSXDLL__ \
        -D__PSX_DEBUG_WANT_ALL__
 
-TARGET_OBJECTS = $(TARGET_NAME).o
-
-TARGET_CLEAN = $(OBJECTS) csrapi.a
-
-include $(PATH_TO_TOP)/rules.mak
-include $(TOOLS_PATH)/helper.mk
+TARGET_LFLAGS = -nostartfiles
 
 OBJECTS_MISC = \
  misc/main.o \
 
 OBJECTS_MISC = \
  misc/main.o \
@@ -130,26 +123,50 @@ OBJECTS = \
  $(OBJECTS_SYS_UTSNAME) \
  $(OBJECTS_UNISTD)
 
  $(OBJECTS_SYS_UTSNAME) \
  $(OBJECTS_UNISTD)
 
-DEP_OBJECTS = $(OBJECTS)
+#TARGET_OBJECTS = $(TARGET_NAME).o
+
+TARGET_OBJECTS = \
+ $(OBJECTS_MISC) \
+ $(OBJECTS_DIRENT) \
+ $(OBJECTS_DLFCN) \
+ $(OBJECTS_ERRNO) \
+ $(OBJECTS_FCNTL) \
+ $(OBJECTS_LIBGEN) \
+ $(OBJECTS_SCHED) \
+ $(OBJECTS_SIGNAL) \
+ $(OBJECTS_STDLIB) \
+ $(OBJECTS_STRING) \
+ $(OBJECTS_PTHREAD) \
+ $(OBJECTS_SYS_STAT) \
+ $(OBJECTS_SYS_UTSNAME) \
+ $(OBJECTS_UNISTD)
+
+#TARGET_CLEAN = $(OBJECTS) csrapi.a
+
+include $(PATH_TO_TOP)/rules.mak
+
+include $(TOOLS_PATH)/helper.mk
+
 
 
-include $(TOOLS_PATH)/depend.mk
+#DEP_OBJECTS = $(OBJECTS)
 
 
-DTFLAGS = -k -l $@
+#include $(TOOLS_PATH)/depend.mk
 
 
-$(TARGET_NAME).a: $(TARGET_NAME).def
-       $(DLLTOOL) \
-               $(DTFLAGS) \
-               -D $(TARGET_NAME).dll \
-               -d $(TARGET_NAME).def
+#DTFLAGS = -k -l $@
 
 
-csrapi.a: csrapi.def
-       $(DLLTOOL) \
-               $(DTFLAGS) \
-               -D ntdll.dll \
-               -d csrapi.def
+#$(TARGET_NAME).a: $(TARGET_NAME).def
+#      $(DLLTOOL) \
+#              $(DTFLAGS) \
+#              -D $(TARGET_NAME).dll \
+#              -d $(TARGET_NAME).def
 
 
-$(TARGET_NAME).o: csrapi.a $(OBJECTS)
-       $(LD) -r $(OBJECTS) -o $(TARGET_NAME).o 
+#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