* source/common/hbverdsp.c
* Some cleanups on appearance.
* Company names removed (except CA).
* contrib/rddads/adsmgmnt.c
* Minor formatting.
+ contrib/examples/dbu/hb_dbu.dif
* contrib/examples/dbu/bld_b32.bat
* contrib/examples/dbu/readme.txt
+ Added .dif file with a patch fixing some
multiplatforms issues in original dbu source.
It's a quick hack, I might have missed something,
and I didn't do any testing. Add your own fix,
if you have some.
* DBU_DIR -> HB_DIR_DBU
* make_b32.mak
* contrib/mtpl_b32.mak
* config/w32/bcc32.cf
+ Added following switches for BCC:
-d: merge duplicate strings (was enabled already in GNU make)
-w: enable warnings.
-w-sig-: disable 'Conversion may lose significant digits' warnings.
81 lines
1.8 KiB
CFEngine3
81 lines
1.8 KiB
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
# The Harbour Project
|
|
# GNU MAKE file for Borland C/C++ 32bit (4.x, 5.x)
|
|
|
|
include $(TOP)$(ROOT)config/$(HB_ARCHITECTURE)/global.cf
|
|
|
|
OBJ_EXT = .obj
|
|
EXE_EXT = .exe
|
|
LIB_PREF =
|
|
LIB_EXT = .lib
|
|
|
|
CC = bcc32.exe
|
|
CC_IN = -c
|
|
CC_OUT = -o
|
|
CPPFLAGS = -I. -I$(TOP) -I$(TOP)$(ROOT)
|
|
CFLAGS = -O2 -d -w -w-sig-
|
|
|
|
ifneq ($(HB_INC_COMPILE),)
|
|
CPPFLAGS += -I$(HB_INC_COMPILE)
|
|
endif
|
|
|
|
LD = bcc32.exe
|
|
LDFLAGS = -O2
|
|
LD_OUT = -e
|
|
|
|
# Add all libraries specified in CONTRIBS and LIBS.
|
|
ifeq ($(HB_LIB_COMPILE),)
|
|
LINKPATHS += -L$(LIB_DIR)
|
|
else
|
|
LINKPATHS += -L$(HB_LIB_COMPILE)
|
|
endif
|
|
LIBLIST = $(foreach lib, $(CONTRIBS), $(lib)$(LIB_EXT))
|
|
LIBLIST += $(foreach lib, $(LIBS), $(lib)$(LIB_EXT))
|
|
|
|
# If LIBS specifies the rdd library, add all DB drivers.
|
|
ifeq ($(findstring rdd,$(LIBS)),rdd)
|
|
LIBLIST += $(foreach drv, $(HB_DB_DRIVERS), $(drv)$(LIB_EXT))
|
|
endif
|
|
|
|
# Add the specified GT driver library
|
|
ifeq ($(findstring rtl,$(LIBS)),rtl)
|
|
LIBLIST += $(foreach gt, $(HB_GT_LIBS), $(gt)$(LIB_EXT))
|
|
endif
|
|
|
|
# It's probably not necessary in native Windows but I need it
|
|
# for my Linux box because -L<path> seems to not work with WINE
|
|
ifeq ($(HB_LIB_COMPILE),)
|
|
LINKLIBS += $(foreach lib, $(LIBLIST), $(LIB_DIR)/$(lib))
|
|
else
|
|
LINKLIBS += $(foreach lib, $(LIBLIST), $(HB_LIB_COMPILE)/$(lib))
|
|
endif
|
|
|
|
# HB_SCREEN_LIB: empty, or one of ncurses, slang
|
|
# HB_SCREEN_LIB=ncurses
|
|
# HB_SCREEN_LIB=slang
|
|
|
|
ifneq ($(HB_SCREEN_LIB),)
|
|
LINKLIBS += $(HB_SCREEN_LIB)
|
|
endif
|
|
|
|
# Add the optional user path(s)
|
|
ifneq ($(LNK_USR_PATH),)
|
|
LINKPATHS += $(foreach path, $(LNK_USR_PATH), -L$(path))
|
|
endif
|
|
|
|
# Add the optional user libarary (or libraries)
|
|
ifneq ($(LNK_USR_LIB),)
|
|
LINKLIBS += $(foreach lib, $(LNK_USR_LIB), $(lib)$(LIB_EXT))
|
|
endif
|
|
|
|
LDFLAGS = $(LINKPATHS)
|
|
|
|
AR = tlib.exe
|
|
ARFLAGS = $(A_USR)
|
|
AROBJS = $(foreach file, $(^F), -+$(file))
|
|
AR_RULE = $(AR) $(ARFLAGS) "$(subst /,\,$(LIB_DIR)/$@)" $(AROBJS),,
|
|
|
|
include $(TOP)$(ROOT)config/rules.cf
|