Files
harbour-core/harbour/source/pp/Makefile
Przemyslaw Czerpak d9f771d119 2009-07-16 19:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
- harbour/source/nulrtl
  - harbour/source/nulrtl/nulrtl.c
  - harbour/source/nulrtl/Makefile
  + harbour/source/nortl
  + harbour/source/nortl/nortl.c
  + harbour/source/nortl/Makefile
  * harbour/source/pp/Makefile
  * harbour/source/main/Makefile
  * harbour/source/Makefile
  * harbour/harbour-win-spec
  * harbour/harbour-wce-spec
  * harbour/harbour.spec
  * harbour/examples/pp/pp.hbp
    * renamed hbnulrtl library to hbnortl to eliminate 8.3 name conflicts
      in DJGPP builds
2009-07-16 17:35:25 +00:00

48 lines
868 B
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.cf
INSTALL_RULE_LIBRARIES := $(INSTALL_RULE)
HB_VERHEADER=$(TOP)$(ROOT)include/hbverbld.h
vpath hbpp$(EXE_EXT) $(EXE_DIR)
ifneq ($(HB_PP_RULES),)
pptable.c : $(HB_PP_RULES)
$(CP) $(subst /,$(DIRSEP),$<) $@
else
pptable.c : hbpp$(EXE_EXT)
$(HB_HOST_BIN_DIR)/hbpp$(HB_HOST_BIN_EXT) $(TOP)$(ROOT)include/hbstdgen.ch -opptable.c -q -c$(TOP)$(ROOT) -v$(HB_VERHEADER)
endif
ifneq ($(HB_BIN_INSTALL),)
INSTALL_FILES = $(EXE_DIR)/hbpp$(EXE_EXT)
INSTALL_DIR = $(HB_BIN_INSTALL)
HB_INSTALL_DEF=yes
include $(TOP)$(ROOT)config/install.cf
endif
install::
$(INSTALL_RULE_LIBRARIES)
clean::
-$(RM) $(subst /,$(DIRSEP),$(HB_VERHEADER))
-$(RM) $(subst /,$(DIRSEP),$(EXE_DIR)/hbpp$(EXE_EXT))