* source/pp/Makefile
* bin/hb-mkdyn.bat
+ Deleting hbpp dynamic built object to not interfere with
harbour dll creation when picking up the objects with wildcard.
* Changed .dll creation script to not filter out above object
explicitly, it's not needed anymore.
* source/vm/mainwin.c
* source/vm/mainstd.c
* bin/hb-mkdyn.bat
+ Added hack to exclude any content when creating dynamic build
objects for win/watcom. Any content here breaks .dll creation
on this target.
* Changed .dll creation script to not filter out above objects
explicitly, it's not needed anymore.
* config/global.mk
% Changed CPU detection to use $(filter)
+ Added CPU detection based on wce compilers.
+ Showing detected host and target CPU architecture in log
(if it could be detected - this is currently only implemented
for non-*nix targets)
- Deleted host binary extension display in verbose mode.
- Deleted now unused HB_BUILD_VERBOSE option.
* config/global.mk
+ Added HB_DYN_VER variable to hold the version number used in Harbour
dynamic libary name.
* config/bsd/global.mk
* config/darwin/global.mk
* config/hpux/global.mk
* config/linux/global.mk
* config/os2/global.mk
* config/sunos/global.mk
* config/wce/global.mk
* config/win/global.mk
+ Added DYN_EXT variables for each platform.
* source/Makefile
* config/rules.mk
+ config/dyn.mk
+ source/dynlib
+ source/dynlib/mt
+ source/dynlib/mt/Makefile
+ source/dynlib/Makefile
* config/win/msvc.mk
+ Added experimental .dll building feature to the GNU Make system.
It's only implemented for MSVC yet.
The goal is to replace shell specific (postinst) solutions.
* utils/hbmk2/hbmk2.prg
+ Added darwin/icc support. Untested yet.
* source/vm/maindllp.c
! Fixed typo in prev commit.
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ../../
|
|
|
|
C_SOURCES := \
|
|
pptable.c \
|
|
ppcore.c \
|
|
pplib.c \
|
|
pplib2.c \
|
|
pplib3.c \
|
|
|
|
LIBNAME := hbpp
|
|
|
|
LIBS := \
|
|
hbcommon \
|
|
hbnortl \
|
|
|
|
include $(TOP)$(ROOT)config/lib.mk
|
|
|
|
ifneq ($(HB_ARCHITECTURE),)
|
|
ifneq ($(HB_COMPILER),)
|
|
|
|
INSTALL_RULE_LIBRARIES := $(INSTALL_RULE)
|
|
|
|
HB_VERHEADER := $(TOP)$(ROOT)include/hbverbld.h
|
|
|
|
BIN_FILE := $(BIN_DIR)/hbpp$(BIN_EXT)
|
|
vpath hbpp$(BIN_EXT) $(BIN_DIR)
|
|
|
|
pptable.c : hbpp$(BIN_EXT)
|
|
$(HB_HOST_BIN_DIR)/hbpp$(HB_HOST_BIN_EXT) $(TOP)$(ROOT)include/hbstdgen.ch -opptable.c -q -c$(TOP)$(ROOT) -v$(HB_VERHEADER)
|
|
-@$(RM) hbpp$(OBJ_EXT)
|
|
$(if $(wildcard hbpp_dyn$(OBJ_EXT)), -@$(RM) hbpp_dyn$(OBJ_EXT),)
|
|
|
|
ifneq ($(HB_HOST_BUILD),lib)
|
|
ifneq ($(HB_BIN_INSTALL),)
|
|
INSTALL_FILES := $(BIN_DIR)/hbpp$(BIN_EXT)
|
|
INSTALL_DIR := $(HB_BIN_INSTALL)
|
|
HB_INSTALL_DEF := yes
|
|
include $(TOP)$(ROOT)config/install.mk
|
|
endif
|
|
endif
|
|
|
|
install::
|
|
$(INSTALL_RULE_LIBRARIES)
|
|
|
|
clean::
|
|
$(if $(wildcard $(HB_VERHEADER)), -@$(RM) $(subst /,$(DIRSEP),$(HB_VERHEADER)),)
|
|
$(if $(wildcard $(BIN_DIR)/hbpp$(BIN_EXT)),-@$(RM) $(subst /,$(DIRSEP),$(BIN_DIR)/hbpp$(BIN_EXT)),)
|
|
$(if $(wildcard $(BIN_DIR)/hbpp.tds), -@$(RM) $(subst /,$(DIRSEP),$(BIN_DIR)/hbpp.tds),)
|
|
|
|
endif
|
|
endif
|