Makefile revision 1607
402N/A###############################################################################
402N/A#
402N/A# synergy application to share input devices across computers
402N/A#
402N/A# Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
402N/A#
402N/A# Permission is hereby granted, free of charge, to any person obtaining a
402N/A# copy of this software and associated documentation files (the "Software"),
402N/A# to deal in the Software without restriction, including without limitation
402N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
402N/A# and/or sell copies of the Software, and to permit persons to whom the
402N/A# Software is furnished to do so, subject to the following conditions:
402N/A#
402N/A# The above copyright notice and this permission notice (including the next
402N/A# paragraph) shall be included in all copies or substantial portions of the
402N/A# Software.
402N/A#
402N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
402N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
402N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
402N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
402N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
402N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
402N/A# DEALINGS IN THE SOFTWARE.
402N/A#
402N/A#
402N/A
402N/A# Package name used in tarballs
402N/AMODULE_NAME=synergy
402N/A
402N/A# pkg(5) name we deliver the files in (override default)
402N/AMODULE_PKGNAME=desktop/synergy
402N/AMODULE_PKGNAME_SET=yes
402N/A
402N/A# Package classification (override default)
402N/AMODULE_PKGCLASS=Applications/System Utilities
402N/AMODULE_PKGCLASS_SET=yes
402N/A
402N/A# Package metadata
402N/AUPSTREAM = Synergy
402N/AUPSTREAM_URL = http://synergy-foss.org/
402N/AUPSTREAM_SET = yes
402N/AGIT_URL = https://github.com/synergy/synergy.git
402N/AGIT_URL_SET = yes
402N/A
402N/AMODULE_LICENSE = GPLv2
402N/AMODULE_LICENSE_SET = yes
402N/AMODULE_LICENSE_PREPEND = $(GPL_CHOICE_FILE)
402N/A
402N/AMODULE_DESC = the Synergy mouse and keyboard sharing system
402N/AORACLE_TPNO = 3822
402N/A
402N/A# Version number (used in path names)
402N/AMODULE_VERSION=1.3.4
402N/A
402N/A# Checksums for upstream tarball
402N/ATARBALL_MD5 = 2c565afe5f920d363eef38dd97449b73
402N/ATARBALL_SHA1 = 17b2dc2611974189ad0d54367b6c96b7932d9e32
402N/A
402N/A# Where to install synergy files
402N/AMODULE_PREFIX=/usr
402N/AMODULE_PREFIX_SET=yes
402N/A
402N/A# Source tarball
402N/ASOURCE_TARBALL_NAME=synergy-plus-$(MODULE_VERSION).tar.gz
402N/ASOURCE_TARBALL_NAME_SET=yes
402N/ASOURCE_DIRNAME=synergy-plus-$(MODULE_VERSION)
402N/ASOURCE_DIRNAME_SET=yes
402N/A
402N/ASOURCE_URL=http://synergy-plus.googlecode.com/files/$(SOURCE_TARBALL_NAME)
402N/ASOURCE_URL_SET=yes
402N/A
402N/A# Patches to apply to source after unpacking, in order
402N/ASOURCE_PATCHES = CConfig.cpp.patch LP64.patch CPLUSPLUS2011.patch
402N/A
402N/A# Man pages to apply Sun footer to & attributes to list
402N/A#SUNTOUCHED_MANPAGES=man/*.man
402N/AMODULE_STABILITY=Committed
402N/A
402N/ACXX_VERSION_FLAGS = -std=sun03 -xlang=c99
402N/ACXX_VERSION_FLAGS_SET = yes
402N/A
402N/AMODULE_CXXFLAGS = -library=no%Cstd -library=Crun
402N/AMODULE_CXXFLAGS += $(OPTIM) -xspace -template=extdef
402N/AMODULE_CXXFLAGS += -features=except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
402N/AMODULE_CXXFLAGS += -instances=global -template=geninlinefuncs -verbose=template
402N/AMODULE_CXXFLAGS += -xbuiltin=%none
402N/AMODULE_CXXFLAGS += -Qoption ccfe ++boolflag:sunwcch=false
402N/AMODULE_CXXFLAGS += -Qoption ccfe -features=gcc
402N/AMODULE_CXXFLAGS += -Qoption ccfe -features=zla
402N/AMODULE_CXXFLAGS += -D_XPG5 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
402N/AMODULE_CXXFLAGS += -DPIC -KPIC -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1
402N/AMODULE_CPPFLAGS = -DSYSAPI_UNIX=1 \
402N/A -DWINAPI_XWINDOWS=1 \
402N/A -I/usr/include/stdcxx4/ansi \
402N/A -I/usr/include/stdcxx4/tr1 \
402N/A -I/usr/include/stdcxx4 \
402N/A -I$(PROTODIR)$(X11_INCLUDES_DIR) \
402N/A -I$(PROTODIR)/usr/include \
402N/A -I$(PROTODIR)/usr/include/freetype2
402N/AMODULE_LDFLAGS = -L$(PROTODIR)/usr/lib$(ARCHLIBSUBDIR) \
402N/A -L$(PROTODIR)$(X11_DIR)/lib$(ARCHLIBSUBDIR) \
402N/A -R$(X11_DIR)/lib$(ARCHLIBSUBDIR) \
402N/A -KPIC -Bdynamic $(ZDISCARD_UNUSED_DEP) \
402N/A -lstdcxx4 -lCrun
402N/AMODULE_LD_OPTIONS = $(ZDISCARD_UNUSED_DEP)
402N/AINSTALL = /usr/bin/ginstall -c
402N/AMODULE_MAKE=$(GNUMAKE)
402N/AMODULE_MAKE_SET=yes
402N/A
402N/AMODULE_ENV = \
402N/A SHELL="/bin/ksh93" \
402N/A CC="$(CC)" \
402N/A CXX="$(CXX)" \
402N/A CXXFLAGS="$(CXXFLAGS) $(MODULE_CXXFLAGS)" \
402N/A CPPFLAGS="$(MODULE_CPPFLAGS)" \
402N/A CPP="$(CC) -E $(MODULE_CPPFLAGS) $(CPPFLAGS)" \
402N/A CXXCPP="$(CXX) -E $(MODULE_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS)" \
402N/A LDFLAGS="$(PROG_LDFLAGS) $(MODULE_LDFLAGS)" \
402N/A LD="$(CXX) $(CXXFLAGS) $(LDFLAGS)" \
402N/A CXXLD="$(CXX) $(MODULE_CXXFLAGS) $(CXXFLAGS) $(MODULE_LDFLAGS) $(LDFLAGS)" \
402N/A INSTALL="$(INSTALL)" \
402N/A MAKE=$(GNUMAKE) \
402N/A GNUMAKE=$(GNUMAKE) \
402N/A LD_OPTIONS="$(LD_OPTIONS)"
402N/A
402N/AMODULE_CONFIG_OPTS = --disable-debug
402N/A
402N/AMODULE_CONFIG_ENV = $(MODULE_ENV)
402N/AMODULE_BUILD_ENV = $(CONFIG_ENV)
402N/A
402N/Ainclude ../Makefile.inc
402N/A