* harbour-ce-spec
* harbour-w32-spec
* harbour.spec
* common.mak
* make_b32.mak
* make_gcc.mak
* make_vc.mak
* make_vcce.mak
* make_tgz.sh
* debian/rules
- doc/man/hbdot.1
* doc/man/hbrun.1
- utils/hbdot
* utils/hbrun/Makefile
* utils/hbrun/hbrun.prg
- utils/hbrun/external.prg
* Replaced hbrun functionality with hbdot's.
- Removed separate hbdot tool.
* contrib/hbsqlit3/sqlite3/sqlite3.c
* contrib/hbsqlit3/make_vc.bat
! Fixed bug in foreign code (sqlite3.c) to compile in
MSVC C++ mode. (HANDLE -> HMODULE)
* C++ mode is no longer forced in non-GNU MSVC builds,
this way also avoiding a screen warning.
* contrib/examples/dbu/bld_b32.bat
* contrib/examples/dbu/bld_vc.bat
! Fixed to call 'patch' with '-N' so that it doesn't
ask to reverse patches when run multiple times.
+ utils/hbdoc/bld_b32.bat
+ utils/hbdoc/bld_vc.bat
+ Added non-GNU make batch files to build hbmake.
; This is a step towards detaching hbdoc from core.
* utils/hbdoc/hbdocdef.ch
! Fixed equality operators to be SET EXACT independent.
; Minor formatting.
89 lines
2.0 KiB
Makefile
Executable File
89 lines
2.0 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
# Sample debian/rules that uses debhelper.
|
|
# GNU copyright 1997 to 1999 by Joey Hess.
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
export _DEFAULT_BIN_DIR=/usr/bin
|
|
export _DEFAULT_INC_DIR=/usr/include/harbour
|
|
export _DEFAULT_LIB_DIR=/usr/lib/harbour
|
|
export INSTDIR=$(CURDIR)/debian/harbour
|
|
export HB_BIN_INSTALL=$(INSTDIR)$(_DEFAULT_BIN_DIR)
|
|
export HB_LIB_INSTALL=$(INSTDIR)$(_DEFAULT_LIB_DIR)
|
|
export HB_INC_INSTALL=$(INSTDIR)$(_DEFAULT_INC_DIR)
|
|
export HB_ETC_DIR=$(INSTDIR)/etc
|
|
export HB_DOC_INSTALL=$(INSTDIR)/usr/share/doc
|
|
|
|
CFLAGS = -g
|
|
|
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
|
CFLAGS += -O0
|
|
else
|
|
CFLAGS += -O3
|
|
endif
|
|
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
|
INSTALL_PROGRAM += -s
|
|
endif
|
|
|
|
build: build-stamp
|
|
|
|
build-stamp:
|
|
dh_testdir
|
|
|
|
bash make_gnu.sh
|
|
|
|
touch build-stamp
|
|
|
|
clean:
|
|
dh_testdir
|
|
dh_testroot
|
|
rm -f build-stamp configure-stamp
|
|
|
|
-bash make_gnu.sh clean
|
|
|
|
dh_clean
|
|
|
|
install: build
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_clean -k
|
|
dh_installdirs
|
|
|
|
bash make_gnu.sh install
|
|
rm -f $(HB_BIN_INSTALL)/hbverfix
|
|
install -m644 debian/harbour.cfg $(HB_ETC_DIR)/harbour.cfg
|
|
install -m644 source/rtl/gtcrs/hb-charmap.def $(HB_ETC_DIR)/harbour
|
|
install -m644 doc/*.txt $(HB_DOC_INSTALL)/harbour
|
|
install -m644 doc/en/*.txt $(HB_DOC_INSTALL)/harbour/en
|
|
install -m644 doc/es/*.txt $(HB_DOC_INSTALL)/harbour/es
|
|
|
|
|
|
# Build architecture-independent files here.
|
|
binary-indep: build install
|
|
# We have nothing to do by default.
|
|
|
|
# Build architecture-dependent files here.
|
|
binary-arch: build install
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_installchangelogs ChangeLog
|
|
dh_installdocs
|
|
dh_installexamples
|
|
# dh_install
|
|
dh_installman doc/man/harbour.1 doc/man/hbdoc.1 doc/man/hbmake.1 doc/man/hbpp.1 doc/man/hbrun.1 doc/man/hbtest.1
|
|
dh_link
|
|
dh_strip
|
|
dh_compress
|
|
dh_fixperms
|
|
# dh_makeshlibs
|
|
dh_installdeb
|
|
dh_shlibdeps
|
|
dh_gencontrol
|
|
dh_md5sums
|
|
dh_builddeb
|
|
|
|
binary: binary-indep binary-arch
|
|
.PHONY: build clean binary-indep binary-arch binary install configure
|