2002-07-26 00:23:13 +00:00
|
|
|
# $Id: makefile,v 1.4 2002/07/26 00:23:12 robertk Exp $
|
2002-03-23 19:23:28 +00:00
|
|
|
|
2002-07-26 00:23:13 +00:00
|
|
|
PATH_TO_TOP = ../../../reactos
|
|
|
|
|
|
|
|
PATH_TO_OS2_TOP = ../..
|
2002-03-23 19:23:28 +00:00
|
|
|
|
|
|
|
TARGET_TYPE = dynlink
|
|
|
|
|
2002-07-26 00:23:13 +00:00
|
|
|
# TARGET_DEFONLY = yes
|
|
|
|
|
2002-03-23 19:23:28 +00:00
|
|
|
TARGET_NAME = doscalls
|
|
|
|
|
2002-07-26 00:23:13 +00:00
|
|
|
TARGET_BASE = 0x60000000
|
2002-03-23 19:23:28 +00:00
|
|
|
|
2002-07-26 00:23:13 +00:00
|
|
|
TARGET_CPPFLAGS =\
|
|
|
|
-Wall \
|
|
|
|
-I$(PATH_TO_OS2_TOP)/include \
|
|
|
|
-D__DOSCALLSDLL__
|
|
|
|
# removed CFLAGX
|
|
|
|
# -fno-builtin \
|
|
|
|
# -nostdinc \
|
|
|
|
# -nostdlib \
|
2002-03-23 19:23:28 +00:00
|
|
|
|
|
|
|
TARGET_LFLAGS = -nostartfiles
|
|
|
|
|
|
|
|
TARGET_SDKLIBS = ntdll.a
|
|
|
|
|
2002-07-26 00:23:13 +00:00
|
|
|
#TARGET_GCCLIBS = gcc
|
2002-03-23 19:23:28 +00:00
|
|
|
|
|
|
|
TARGET_OBJECTS = $(TARGET_NAME).o
|
|
|
|
|
|
|
|
TARGET_CLEAN = file/*.o vio/*.o sync/*.o mem/*.o \
|
|
|
|
misc/*.o mou/*.o kbd/*.o run/*.o
|
|
|
|
|
2002-07-26 00:23:13 +00:00
|
|
|
DOSCALLS_MISC_OBJECTS = misc/doscalls.o misc/error.o
|
|
|
|
|
|
|
|
DOSCALLS_OTHER_O = file/openclose.o run/process.o devices/devices.o
|
2002-03-23 19:23:28 +00:00
|
|
|
|
2002-03-24 18:52:10 +00:00
|
|
|
#SYNC_OBJECTS =
|
2002-03-23 19:23:28 +00:00
|
|
|
|
2002-07-26 00:23:13 +00:00
|
|
|
TARGET_OBJECTS = $(DOSCALLS_OTHER_O) $(DOSCALLS_MISC_OBJECTS)
|
2002-03-23 19:23:28 +00:00
|
|
|
|
|
|
|
|
2002-03-24 18:52:10 +00:00
|
|
|
include $(PATH_TO_TOP)/rules.mak
|
2002-03-23 19:23:28 +00:00
|
|
|
|
2002-03-24 18:52:10 +00:00
|
|
|
include $(TOOLS_PATH)/helper.mk
|
2002-03-23 19:23:28 +00:00
|
|
|
|
|
|
|
|
2002-03-24 18:52:10 +00:00
|
|
|
# EOF
|