* config/win/bcc.mk
* config/win/watcom.mk
+ Added new .dll build rules.
; TODO: Solve handling of generated implib.
; TODO: Add dynlib generation logic for *nix targets.
; TODO: Delete postinst script if the new method turns out to
work alright.
* config/win/cygwin.mk
* config/win/icc.mk
* config/win/xcc.mk
* config/win/pocc.mk
* config/wce/mingwarm.mk
* config/wce/poccarm.mk
* config/wce/msvcarm.mk
+ Implemented .dll creation for rest of win/wce compilers:
icc uses the same logic as msvc.
pocc/poccarm/msvcarm/xcc uses the same logic as msvc
except /subsystem option.
mingwarm/cygwin uses the same logic as mingw.
; I didn't test wce ones yet.
* config/win/msvc.mk
% Using $(wildcard) instead of echo trick to delete __lib__.tmp.
* config/win/mingw.mk
* config/win/msvc.mk
* Moved HB_USER_DFLAGS in cmdline.
* config/win/watcom.mk
* config/dos/watcom.mk
* config/linux/watcom.mk
* config/os2/watcom.mk
+ Added 'OP quiet' option to wlink command.
* source/pp/Makefile
! Using OBJ_DYN_POSTFIX instead of hardwired value.
* source/vm/mainwin.c
* source/vm/mainstd.c
! Typo in prev commit regarding watcom/dynlib hack.
* source/rtl/gtwvt/gtwvt.c
! Fix for msvcarm build, where WS_OVERLAPPEDWINDOW macro
is reported missing.
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$(OBJ_DYN_POSTFIX)$(OBJ_EXT)),-@$(RM) hbpp$(OBJ_DYN_POSTFIX)$(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
|