Files
harbour-core/harbour/debian/rules
Viktor Szakats c4ce99ef18 2011-03-04 13:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* debian/control
  * debian/compat
  * debian/rules
    - add all build-depends
    - create detached debug symbol package
    - various small bits
    ; [Tamas Tevesz]

  * contrib/hbpost.hbm
    * Removed soversion from dynlib name for cygwin targets.
      (untested)

  * contrib/hbtip/tests/httpadv.prg
  * contrib/hbtip/tests/dnldftp.prg
  * contrib/hbtip/tests/tipmmail.prg
  * contrib/hbtip/tests/tiptest.prg
  * contrib/hbtip/tests/dbtohtml.prg
  * contrib/hbtip/tests/upld_ftp.prg
  * contrib/hbtip/tests/tipmail.prg
  * contrib/hbtip/tests/base64.prg
  * contrib/hbtip/tests/ftpadv.prg
  * contrib/hbtip/tests/loadhtml.prg
  * contrib/hbtip/tests/tipmime.prg
    ! inside is one real fix (unused var in base64.prg), the rest is
      generous use of hbformat + some manual editing (weed out funky chars,
      reduce eye bleeding caused by comment blocks, throw away c++-style
      comments, and the like).
    ; [Tamas Tevesz]
2011-03-04 12:09:57 +00:00

90 lines
1.9 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
ifeq ($(DH_VERBOSE),1)
export HB_BUILD_VERBOSE := yes
endif
export HB_INSTALL_PKG_ROOT := $(CURDIR)/debian/harbour
export HB_INSTALL_BIN := $(HB_INSTALL_PKG_ROOT)/usr/bin
export HB_INSTALL_LIB := $(HB_INSTALL_PKG_ROOT)/usr/lib/harbour
export HB_INSTALL_DYN := $(HB_INSTALL_LIB)
export HB_INSTALL_INC := $(HB_INSTALL_PKG_ROOT)/usr/include/harbour
export HB_INSTALL_DOC := $(HB_INSTALL_PKG_ROOT)/usr/share/doc/harbour
export HB_INSTALL_MAN := $(HB_INSTALL_PKG_ROOT)/usr/share/man
export HB_INSTALL_ETC := $(HB_INSTALL_PKG_ROOT)/etc/harbour
ifeq ($(LD_LIBRARY_PATH),)
export LD_LIBRARY_PATH := $(HB_INSTALL_DYN)
else
export LD_LIBRARY_PATH := $(LD_LIBRARY_PATH):$(HB_INSTALL_DYN)
endif
export HB_SYSLOC := yes
export HB_BUILD_PKG := no
export HB_BUILD_SHARED := yes
export HB_BUILD_CONTRIB_DYN := yes
export HB_BUILD_DEBUG := yes
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
export HB_BUILD_OPTIM := no
endif
build: build-stamp
build-stamp:
dh_testdir
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
-$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install
# 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
dh_installdocs
dh_installexamples
# dh_install
dh_installman
dh_link
dh_strip --dbg-package=harbour-dbg
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