Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / dmake / msdos / borland / config.mk
blob42361968671dc9807a7ac74f066ac29d6693e1bd
1 # This is the Turbo C++ 2.0 DOS configuration file for DMAKE
2 # It simply modifies the values of SRC, and checks to see if
3 # OSENVIRONMENT is defined. If so it includes the appropriate
4 # config.mk file.
6 # It also sets the values of .SOURCE.c and .SOURCE.h to include the local
7 # directory.
9 osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
11 # The following sources are required for TURBO C++ 2.0
12 OSR_SRC = tempnam.c utime.c
13 .SETDIR=$(osrdir) : $(OSR_SRC)
15 SRC += $(OSR_SRC)
16 .SOURCE.h : $(osrdir)
18 # Local configuration modifications for CFLAGS. Make sure your turboc.cfg
19 # file contains a -D__STDC__=1 and -DM_I86=1, if not then uncomment the line
20 # below!
21 #CFLAGS += -DM_I86=1 -D__STDC__=1
23 # You can get a smaller executable still, buy adding a -1 to the list of
24 # flags below, but then you can't run this on an 8086/88 cpu.
25 #CFLAGS += -1
26 CFLAGS += -I$(osrdir) -d -O -N- -w-nod $(C_$(MODEL))
27 ASFLAGS += -t -mx $(S_$(MODEL))
29 # Debugging information for Turbo-C
30 DB_CFLAGS += -v
31 DB_LDFLAGS += /v
33 # See if we modify anything in the lower levels.
34 .IF $(OSENVIRONMENT) != $(NULL)
35 .INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
36 .END
38 C_s =
39 C_m = -mm
40 C_c = -mc
41 C_l = -ml
43 S_s = -dmsmall
44 S_m = -dmmedium
45 S_c = -dmcompact
46 S_l = -dmlarge