Makefile revision 493
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews###############################################################################
205c10066a0acfeac52d1a135671f41d207b8557Automatic Updater#
205c10066a0acfeac52d1a135671f41d207b8557Automatic Updater# SM 1.x Makefile
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater#
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater# Use subject to license terms.
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater#
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# Permission is hereby granted, free of charge, to any person obtaining a
2ec4ab21838e218863d052ebfa3e106e04f50820Evan Hunt# copy of this software and associated documentation files (the
ea854b585041ad19f70f7af15e08144ef2c2bd1bMark Andrews# "Software"), to deal in the Software without restriction, including
78cb74fab4665da2e2641ba909c6f59f74cc4193Automatic Updater# without limitation the rights to use, copy, modify, merge, publish,
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# distribute, and/or sell copies of the Software, and to permit persons
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# to whom the Software is furnished to do so, provided that the above
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# copyright notice(s) and this permission notice appear in all copies of
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# the Software and that both the above copyright notice(s) and this
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# permission notice appear in supporting documentation.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
58be84825d7f5de30e50eb7206b37227ecd8055bAutomatic Updater# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
831f79c4310a7d38fc3475ccfff531b2b2535641Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Except as contained in this notice, the name of a copyright holder
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# shall not be used in advertising or otherwise to promote the sale, use
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# or other dealings in this Software without prior written authorization
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# of the copyright holder.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# @(#)Makefile 1.2 08/08/08
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Package name used in tarballs
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_NAME=libSM
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Version number (used in path names)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_VERSION=1.0.3
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Patches to apply to source after unpacking, in order
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSOURCE_PATCHES = libsm.globals.h.patch libsm.SMlibint.h.patch libsm.sm_client.c.patch libsm.sm_manager.c.patch
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Library name (used for specfiles/mapfiles)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntLIBNAME=SM
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater# Man pages to apply Sun footer to & attributes to list
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntSUNTOUCHED_MANPAGES=
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSUN_PACKAGE=SUNWxwplt
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_STABILITY=Committed
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_MTLEVEL=Unsafe
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterLIB_MAN_SUFFIX=3SM
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# Command line options to GNU autoconf configure script
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterMODULE_CONFIG_OPTS = --enable-unix-transport \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater --enable-tcp-transport \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater --enable-IPv6
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# Use specfile to make mapfile & link with it
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark AndrewsMODULE_BUILD_DEPS = $(BUILD_DIR)/$(SPECMAP)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterMODULE_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
129090f0f6f91753b4a085ab635e28549fd018adAutomatic Updater# pkg-config files that need to have -R added
129090f0f6f91753b4a085ab635e28549fd018adAutomatic UpdaterFIX_PC_FILES=sm.pc.in
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
d7a77415c13bb2fc2d1acb857486d97e4466e3b8Automatic Updaterinclude ../Makefile.inc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews