Makefile revision 618
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye#
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# CDDL HEADER START
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye#
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# The contents of this file are subject to the terms of the
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# Common Development and Distribution License (the "License").
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# You may not use this file except in compliance with the License.
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye#
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# or http://www.opensolaris.org/os/licensing.
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# See the License for the specific language governing permissions
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# and limitations under the License.
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye#
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# When distributing Covered Code, include this CDDL HEADER in each
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# If applicable, add the following below this CDDL HEADER, with the
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# fields enclosed by brackets "[]" replaced with your own identifying
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# information: Portions Copyright [yyyy] [name of copyright owner]
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye#
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye# CDDL HEADER END
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye#
eb1776903fd1f998009e97470a65fba8a499a0d9Lubos Kosco# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye#
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbyeinclude ../../make-rules/shared-macros.mk
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye
b4a94e1e9bfb77dcba635f9e3cfd4fd4276b64ccLubos KoscoCOMPONENT_NAME= sane-frontends
b4a94e1e9bfb77dcba635f9e3cfd4fd4276b64ccLubos KoscoCOMPONENT_VERSION= 1.0.14
b4a94e1e9bfb77dcba635f9e3cfd4fd4276b64ccLubos KoscoCOMPONENT_PROJECT_URL= http://www.sane-project.org/
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCOMPONENT_ARCHIVE_HASH= sha1:063e11df3e32d7a43161fd37026a4dc601d5482d
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCOMPONENT_ARCHIVE_URL= ftp://ftp2.sane-project.org/pub/sane/sane-frontends-1.0.14/$(COMPONENT_ARCHIVE)
e8a20bc0a36e5885fa67503ba58be9c29ef96500Vladimir Kotal
b4a94e1e9bfb77dcba635f9e3cfd4fd4276b64ccLubos Koscoinclude ../../make-rules/prep.mk
f91fda86b928fae2fbfda0e5691e031cdd9c36e4Lubos Koscoinclude ../../make-rules/configure.mk
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbyeinclude ../../make-rules/ips.mk
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCONFIGURE_OPTIONS += --with-sane-prefix=/usr
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCONFIGURE_OPTIONS += --disable-sanetest
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCONFIGURE_OPTIONS += --disable-gtktest
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCONFIGURE_OPTIONS += --disable-gimptest
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
6195dea0026d12e18f2a428779addb01aa54b234Trond NorbyeCONFIGURE_OPTIONS += LDFLAGS="-lsane"
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbyebuild: $(BUILD_32)
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbyeinstall: $(INSTALL_32)
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbyetest: $(NO_TESTS)
3b1a1989d239de3d3de177a27dcde79fb5d350dfKnut Anders Hatlen
3b1a1989d239de3d3de177a27dcde79fb5d350dfKnut Anders HatlenBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbyeinclude ../../make-rules/depend.mk
6195dea0026d12e18f2a428779addb01aa54b234Trond Norbye