debian swirl logo

Back to the packages list zeroc-icee-translators

#!/usr/bin/make -f
# -*- makefile -*-

DEB_MAKE_CLEAN_TARGET := clean
DEB_MAKE_BUILD_TARGET := all prefix=/usr
DEB_MAKE_INSTALL_TARGET := install prefix=$(CURDIR)/debian/tmp/usr
DEB_MAKE_CHECK_TARGET := 
DEB_BUILD_OPTIONS += nocheck
DEB_DH_INSTALL_SOURCEDIR := debian/tmp

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/makefile.mk

DEB_MAKE_INVOKE := $(DEB_MAKE_ENVVARS) make OPTIMIZE=yes LDPLATFORMFLAGS= UNAME=$(shell uname | tr '/' '_')

# Debian GNU/kFreeBSD seems to build OK using the Linux rules
# Debian GNU/Hurd should also build OK using the Linux rules
pre-build::
		-mkdir -p debian/tmp/usr lib bin
		ln -sf Make.rules.Linux config/Make.rules.GNU_kFreeBSD
		ln -sf Make.rules.Linux config/Make.rules.GNU

clean::
		$(RM) config/Make.rules.GNU
		$(RM) config/Make.rules.GNU_kFreeBSD

Builds:

icee-translators
zeroc icee slice translators for c++ and java