* harbour/config/hpux/gcc.cf
* harbour/config/darwin/gcc.cf
* harbour/config/dos/watcom.cf
* harbour/config/dos/djgpp.cf
* harbour/config/win/watcom.cf
* harbour/config/win/icc.cf
* harbour/config/win/cygwin.cf
* harbour/config/win/msvc.cf
* harbour/config/win/xcc.cf
* harbour/config/win/mingw.cf
* harbour/config/win/pocc.cf
* harbour/config/win/bcc.cf
* harbour/config/linux/watcom.cf
* harbour/config/linux/gcc.cf
* harbour/config/linux/icc.cf
* harbour/config/os2/watcom.cf
* harbour/config/os2/gcc.cf
* harbour/config/sunos/gcc.cf
* harbour/config/bsd/gcc.cf
* harbour/config/wce/msvcarm.cf
* harbour/config/wce/mingwarm.cf
* harbour/config/wce/poccarm.cf
* cleanup: rtl -> hbrtl, rdd -> hbrdd
* harbour/harbour.spec
* harbour/harbour-win-spec
* harbour/harbour-wce-spec
* harbour/include/hbcomp.h
* harbour/source/Makefile
+ harbour/source/nulrtl
+ harbour/source/nulrtl/nulrtl.c
+ harbour/source/nulrtl/Makefile
+ added hbnulrtl library to use non .prg harbour binaries
* harbour/source/rtl/strmatch.c
* harbour/source/common/Makefile
+ harbour/source/common/strwild.c
* moved hb_strMatch*() functions from RTL to COMMON library
Warning: copyright changed in new file. Viktor is rtl/strmatch.c
copyright holder but hb_strMatch*() functions is my code.
* harbour/source/rtl/Makefile
- harbour/source/rtl/hbffind.c
* harbour/source/common/Makefile
* harbour/source/common/hbffind.c
* moved hb_fsFind*() functions from RTL to COMMON library
* harbour/source/main/harbour.c
* harbour/source/main/Makefile
* use hbnulrtl library to create harbour binaries
* harbour/source/pp/Makefile
* harbour/source/pp/hbpp.c
* use hbnulrtl library to create hbpp binaries
* added support for wildcard search
* harbour/examples/pp/pp.c
* harbour/examples/pp/pp.hbp
* use hbnulrtl library to create pp binaries
question: why is ignored -nohblib in pp.hbp?
* harbour/contrib/rddads/ads1.c
% removed always false if() { ... } statement
74 lines
1.5 KiB
CFEngine3
74 lines
1.5 KiB
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
OBJ_EXT = .obj
|
|
EXE_EXT = .exe
|
|
LIB_PREF =
|
|
LIB_EXT = .lib
|
|
|
|
CC = cl.exe
|
|
CC_IN = -c
|
|
CC_OUT = -Fo
|
|
CPPFLAGS = -nologo -I. -I$(HB_INC_COMPILE) -Gs
|
|
|
|
ifeq ($(HB_BUILD_MODE),c)
|
|
CPPFLAGS += -TC
|
|
endif
|
|
ifeq ($(HB_BUILD_MODE),cpp)
|
|
CPPFLAGS += -TP
|
|
endif
|
|
# Build in C++ mode by default
|
|
ifeq ($(HB_BUILD_MODE),)
|
|
CPPFLAGS += -TP
|
|
endif
|
|
|
|
ifneq ($(HB_BUILD_WARN),no)
|
|
CPPFLAGS += -W4 -wd4127
|
|
endif
|
|
|
|
ifneq ($(HB_BUILD_OPTIM),no)
|
|
ifeq ($(HB_VISUALC_VER_PRE80),)
|
|
CPPFLAGS += -Ot2b1 -EHs-c-
|
|
else
|
|
CPPFLAGS += -Ogt2yb1p -GX- -G6 -YX
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(HB_BUILD_DEBUG),yes)
|
|
CPPFLAGS += -MTd -Zi
|
|
else
|
|
CPPFLAGS += -MT
|
|
endif
|
|
|
|
# # NOTE: -GA flag should be disabled when building MT _.dlls_,
|
|
# # as it creates bad code according to MS docs [vszakats].
|
|
# ifeq ($(HB_VISUALC_VER_PRE70),)
|
|
# CPPFLAGS += -GA
|
|
# endif
|
|
|
|
LD = link.exe
|
|
LD_OUT = /out:
|
|
|
|
# Add all libraries specified in LIBS.
|
|
LINKPATHS += /libpath:$(LIB_DIR)
|
|
LINKLIBS += $(foreach lib, $(LIBS), $(lib)$(LIB_EXT))
|
|
|
|
# If LIBS specifies the RDD library, add all DB drivers.
|
|
ifeq ($(findstring hbrdd,$(LIBS)),hbrdd)
|
|
LINKLIBS += $(foreach drv, $(HB_DB_DRIVERS), $(drv)$(LIB_EXT))
|
|
endif
|
|
|
|
# Add the specified GT driver library
|
|
ifeq ($(findstring hbrtl,$(LIBS)),hbrtl)
|
|
LINKLIBS += $(foreach gt, $(HB_GT_LIBS), $(gt)$(LIB_EXT))
|
|
endif
|
|
|
|
LDFLAGS = /nologo $(LINKPATHS) user32.lib ws2_32.lib advapi32.lib gdi32.lib
|
|
|
|
AR = lib.exe
|
|
ARFLAGS = $(HB_USER_AFLAGS)
|
|
AR_RULE = $(AR) $(ARFLAGS) /nologo /out:$(LIB_DIR)/$@ $(^F) || $(RM) $(LIB_DIR)/$@
|
|
|
|
include $(TOP)$(ROOT)config/rules.cf
|