; TOFIX: dos/owatcom builds can now created successfully
(using standard Open Watcom 1.8 installation),
the bad news is that f.e. hbmk2 will crash the
NTVDM when trying a simple make.
* INSTALL
! Minor fix to DOS instructions.
+ Added DOS build examples.
* mpkg_dos.bat
! Fixed target dir and archive name to be different
for djgpp and owatcom builds.
* make_gnu.bat
+ config/djg-make.exe
+ Added embedded copy of DOS build of GNU Make.
This is to make DOS builds, specifically dos/owatcom
builds simpler. Original filename was 'make.exe'.
This can probably be removed once we move DOS
platform status to a 'target-only' one, like WinCE/ARM.
* make_gnu.bat
! Ugly hack added to create doc/en-EN dir. This still
won't solve the DOS copy problem unless I remove
the hack committed previously. If I remove it
the make process cannot be anymore started without
this batch file as it would choke on xcopy if
above dir doesn't exist.
* make_gnu.sh
! Applied fix to only create install dirs if called
with 'install' option. At the same time enabled
this feature for all platforms. It will also create
doc/en-EN dir.
PLEASE TEST/REVIEW, I didn't do any testing.
; TOFIX: Much or all of these should IMO be done directly
from make files, it would be much self-contained
and consistent.
* source/pp/Makefile
! Fixed to find ChangeLog when building for DOS targets.
This was a problem when trying to build dos/owatcom.
Now in DOS mode it will refer to the ChangeLog by its
8.3 name.
* utils/hbmk2/hbmk2.prg
* Minor formatting.
* mpkg_deb.sh
* harbour.spec
- Deleted hbmsql.
; TOFIX: hbqt is missing from some Linux make files.
; TOFIX: (in next major release) We should try to
make Linux build files less-maintenance intensive.
50 lines
846 B
Makefile
50 lines
846 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT = ../../
|
|
|
|
C_SOURCES=\
|
|
pptable.c \
|
|
ppcore.c \
|
|
pplib.c \
|
|
pplib2.c \
|
|
pplib3.c \
|
|
|
|
LIBNAME=hbpp
|
|
|
|
LIBS=\
|
|
hbcommon \
|
|
|
|
ifeq ($(HB_PPGEN_PATH),)
|
|
HB_PPGEN_PATH=.
|
|
endif
|
|
|
|
include $(TOP)$(ROOT)config/lib.cf
|
|
|
|
INSTALL_RULE_LIBRARIES := $(INSTALL_RULE)
|
|
|
|
ifeq ($(HB_ARCHITECTURE),dos)
|
|
HB_CHANGELOG=../../../../CHANGE~1
|
|
else
|
|
HB_CHANGELOG=../../../../ChangeLog
|
|
endif
|
|
|
|
ifneq ($(HB_PP_RULES),)
|
|
pptable.c : $(HB_PP_RULES)
|
|
$(CP) $(subst /,$(DIRSEP),$<) $@
|
|
else
|
|
pptable.c : hbpp$(EXE_EXT)
|
|
$(HB_PPGEN_PATH)/hbpp$(EXE_EXT) $(TOP)$(ROOT)include/hbstdgen.ch -opptable.c -q -c$(HB_CHANGELOG) -v$(TOP)$(ROOT)include/hbverbld.h
|
|
endif
|
|
|
|
ifneq ($(HB_BIN_INSTALL),)
|
|
INSTALL_OBJS = $(ARCH_DIR)/hbpp$(EXE_EXT)
|
|
INSTALL_DIR = $(HB_BIN_INSTALL)
|
|
HB_INSTALL_DEF=yes
|
|
include $(TOP)$(ROOT)config/install.cf
|
|
endif
|
|
|
|
install::
|
|
$(INSTALL_RULE_LIBRARIES)
|