Makefile revision e0ad97e30ea0a9af63c42d71690b5f387c763420
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# CDDL HEADER START
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# The contents of this file are subject to the terms of the
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# Common Development and Distribution License (the "License").
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# You may not use this file except in compliance with the License.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# See the License for the specific language governing permissions
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# CDDL HEADER END
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Use is subject to license terms.
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews# svccfg has a name clash with main() and libl.so.1. However, svccfg must
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# still export a number of "yy*" (libl) interfaces. Reduce all other symbols
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# to local scope.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLOBBERFILES += svccfg_lex.c svccfg_grammar.c svccfg_grammar.h \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSVCCFG_EXTRA_LIBS = -lxml2 -lscf -ll -luutil -lumem -lmd5
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinLIBTECLA = $(SRC)/lib/libtecla # just for the header
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinlint := SVCCFG_EXTRA_LIBS = -lscf -ll -luutil -lumem -lmd5
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @cd $(LIBUUTIL)/native; pwd; $(MAKE) $(MFLAGS) install
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @cd $(LIBSCF)/native; pwd; $(MAKE) $(MFLAGS) install
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(RM) $(MYOBJS) $(MYOBJS:%.o=%-native.o) $(LNTS)