2003-01-07 16:23:12 +00:00
|
|
|
# $Id: makefile,v 1.6 2003/01/07 16:23:11 robd 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-09-04 22:19:47 +00:00
|
|
|
#TARGET_DEFONLY = yes
|
2002-07-26 00:23:13 +00:00
|
|
|
|
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 \
|
2003-01-07 16:23:12 +00:00
|
|
|
-D__DOSCALLSDLL__
|
2002-07-26 00:23:13 +00:00
|
|
|
# removed CFLAGX
|
|
|
|
# -fno-builtin \
|
|
|
|
# -nostdinc \
|
|
|
|
# -nostdlib \
|
2002-03-23 19:23:28 +00:00
|
|
|
|
|
|
|
TARGET_LFLAGS = -nostartfiles
|
|
|
|
|
2003-01-07 16:23:12 +00:00
|
|
|
TARGET_LIBS = doscalls.a
|
|
|
|
|
2002-03-23 19:23:28 +00:00
|
|
|
TARGET_SDKLIBS = ntdll.a
|
|
|
|
|
2003-01-07 16:23:12 +00:00
|
|
|
TARGET_GCCLIBS = stdc++
|
2002-03-23 19:23:28 +00:00
|
|
|
|
|
|
|
TARGET_OBJECTS = $(TARGET_NAME).o
|
|
|
|
|
|
|
|
|
2003-01-07 16:23:12 +00:00
|
|
|
MISC_OBJECTS = misc/doscalls.o misc/error.o
|
|
|
|
|
|
|
|
FILE_OBJECTS = file/openclose.o
|
|
|
|
|
|
|
|
RUN_OBJECTS = run/process.o
|
|
|
|
|
|
|
|
DEVICES_OBJECTS = devices/devices.o
|
2002-07-26 00:23:13 +00:00
|
|
|
|
2003-01-07 16:23:12 +00:00
|
|
|
OTHER_OBJECTS =
|
2002-03-23 19:23:28 +00:00
|
|
|
|
2003-01-07 16:23:12 +00:00
|
|
|
SYNC_OBJECTS =
|
2002-03-23 19:23:28 +00:00
|
|
|
|
2003-01-07 16:23:12 +00:00
|
|
|
TARGET_OBJECTS = $(FILE_OBJECTS) $(RUN_OBJECTS) $(DEVICES_OBJECTS) \
|
|
|
|
$(MISC_OBJECTS) $(OTHER_OBJECTS) $(SYNC_OBJECTS)
|
2002-03-23 19:23:28 +00:00
|
|
|
|
2003-01-07 16:23:12 +00:00
|
|
|
#TARGET_CLEAN = file/*.o vio/*.o sync/*.o mem/*.o \
|
|
|
|
# misc/*.o mou/*.o kbd/*.o run/*.o \
|
|
|
|
# doscalls.dll temp.exp
|
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
|