Files
harbour-core/harbour/source/pp/Makefile
Viktor Szakats 52e272f02e 2009-08-22 10:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.mk
  * config/dyn.mk
    ! Fixed to handle dynamic lib creation gracefully for targets
      where this isn't supported. Now a message will be shown.

  + config/os2-cp.exe
  * config/readme.txt
    + Added os2 cp tool. For testing.

  * source/pp/Makefile
  * source/dynlib/mt/Makefile
  * source/dynlib/Makefile
    * Minor rename.
2009-08-22 08:23:05 +00:00

57 lines
1.1 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_LIB := $(INSTALL_RULE)
HB_VERHEADER := $(TOP)$(ROOT)include/hbverbld.h
BIN_FILE := $(BIN_DIR)/hbpp$(BIN_EXT)
vpath hbpp$(BIN_EXT) $(BIN_DIR)
# NOTE: Leave the extra empty line after the rules.
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_LIB)
clean::
$(if $(wildcard $(HB_VERHEADER)), -@$(RM) $(subst /,$(DIRSEP),$(HB_VERHEADER)),)
endif
endif