Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / dmake / os2 / ibm / config.mk
blob716addd82abfe7365000f4ef250c94a4510b8a3d
1 # This is the MSC 4.0 and higher 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 TMPDIR :=
12 .EXPORT : TMPDIR
14 # Definition of macros for library, and C startup code.
16 # The following sources are required for MSC
17 OSR_SRC = tempnam.c
18 .SETDIR=$(osrdir) : $(OSR_SRC)
20 SRC += $(OSR_SRC)
21 .SOURCE.h : $(osrdir)
23 SET_STACK = $-stack:32768
24 NDB_LDFLAGS +=
26 ASFLAGS += -t -mx $(S_$(MODEL))
28 # Microsoft C doesn't need tail but needs head
29 LDTAIL = ,;
30 LDHEAD = $(LDFLAGS)
32 # Debugging libraries
33 DB_LDFLAGS += $-co $-li $-map $(SET_STACK)
34 DB_LDLIBS +=
36 # NO Debug MSC flags:
37 # Set the environment variable MSC_VER to be one of 5.1, 6.0, 8.0 (for VC++4.0)
38 # to get these by default when you make dmake using 'dmake'.
40 # Setting MSC_VER to one of the above sets the variable _MSC_VER appropriately
41 # and sets the flags appropriately.
43 CFLAGS += $-I$(osrdir)
44 DB_CFLAGS += $-Ti+
46 # See if we modify anything in the lower levels.
47 .IF $(OSENVIRONMENT) != $(NULL)
48 .INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
49 .END
51 S_s = -Dmsmall
52 S_m = -Dmmedium
53 S_c = -Dmcompact
54 S_l = -Dmlarge