Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
c20e7e3e6b1dd174c025487ceef713f07d77ba4bneil_a_wilson#
c20e7e3e6b1dd174c025487ceef713f07d77ba4bneil_a_wilson# CDDL HEADER START
c20e7e3e6b1dd174c025487ceef713f07d77ba4bneil_a_wilson#
c20e7e3e6b1dd174c025487ceef713f07d77ba4bneil_a_wilson# The contents of this file are subject to the terms of the
e4ff5e7757146c139160c3e78f4ac5ee1584dde5coulbeck# Common Development and Distribution License, Version 1.0 only
e4ff5e7757146c139160c3e78f4ac5ee1584dde5coulbeck# (the "License"). You may not use this file except in compliance
267e43ad6455f631dfdb9e552909a137b9e4f087boli# with the License.
267e43ad6455f631dfdb9e552909a137b9e4f087boli#
267e43ad6455f631dfdb9e552909a137b9e4f087boli# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78ebdb0fc9f2a940f8385300ee5b4952d225b899boli# or http://www.opensolaris.org/os/licensing.
a89f073e2246d8dc081ec584f19bbcd813b9a44cneil_a_wilson# See the License for the specific language governing permissions
a89f073e2246d8dc081ec584f19bbcd813b9a44cneil_a_wilson# and limitations under the License.
a89f073e2246d8dc081ec584f19bbcd813b9a44cneil_a_wilson#
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilson# When distributing Covered Code, include this CDDL HEADER in each
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift# If applicable, add the following below this CDDL HEADER, with the
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilson# fields enclosed by brackets "[]" replaced with your own identifying
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift# information: Portions Copyright [yyyy] [name of copyright owner]
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift#
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilson# CDDL HEADER END
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# Use is subject to license terms.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilson# ident "%Z%%M% %I% %E% SMI"
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilson#
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swiftLIBRARY= libpsvcplugin_psr.a
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilsonVERS= .1
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilson
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilsonOBJECTS= psvcplugin.o
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilson
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift# include library definitions
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swiftinclude $(SRC)/lib/Makefile.lib
89bb69f651eab9fd3f4091800e226342444f2fb2neil_a_wilsoninclude $(SRC)/Makefile.psm
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swiftinclude $(SRC)/cmd/picl/plugins/Makefile.com
267e43ad6455f631dfdb9e552909a137b9e4f087boli
03839fc8bfcf7f63ca2b9d3a48faabf94642b00bduganSRCS= $(OBJECTS:%.o=%.c)
03839fc8bfcf7f63ca2b9d3a48faabf94642b00bdugan
03839fc8bfcf7f63ca2b9d3a48faabf94642b00bduganLIBS = $(DYNLIB)
03839fc8bfcf7f63ca2b9d3a48faabf94642b00bdugan
03839fc8bfcf7f63ca2b9d3a48faabf94642b00bduganROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-480R
03839fc8bfcf7f63ca2b9d3a48faabf94642b00bdugan
267e43ad6455f631dfdb9e552909a137b9e4f087boliROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
267e43ad6455f631dfdb9e552909a137b9e4f087boli
267e43ad6455f631dfdb9e552909a137b9e4f087boliCLEANFILES= $(LINTOUT) $(LINTLIB)
78ebdb0fc9f2a940f8385300ee5b4952d225b899boli
ae8010f9ddf526c96a9274296e01f6aa3f122d72neil_a_wilsonCPPFLAGS += -I$(SRC)/uts/sun4u
3effb6e09816d45ff07f200fec2b6ecb9588fa7fneil_a_wilsonCPPFLAGS += -I$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
3effb6e09816d45ff07f200fec2b6ecb9588fa7fneil_a_wilsonCPPFLAGS += -D_REENTRANT
3effb6e09816d45ff07f200fec2b6ecb9588fa7fneil_a_wilson
3effb6e09816d45ff07f200fec2b6ecb9588fa7fneil_a_wilsonCFLAGS += $(CCVERBOSE)
3effb6e09816d45ff07f200fec2b6ecb9588fa7fneil_a_wilsonLDLIBS += -L$(SRC)/lib/libpicl/$(MACH) -L$(SRC)/lib/libpicltree/$(MACH)
5068612b175360889317ffea5826e816c2abbe08neil_a_wilsonLDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
5068612b175360889317ffea5826e816c2abbe08neil_a_wilsonLDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcplugin
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swiftDYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift
5068612b175360889317ffea5826e816c2abbe08neil_a_wilsonLDLIBS += -lc -lpicltree -lpicl -lpsvcobj -lpsvcplugin
5068612b175360889317ffea5826e816c2abbe08neil_a_wilson
5068612b175360889317ffea5826e816c2abbe08neil_a_wilsonLINTFLAGS +=
5068612b175360889317ffea5826e816c2abbe08neil_a_wilson
af6117fa729925b9e6cccbda589fecbb83f2b70fneil_a_wilson.KEEP_STATE:
af6117fa729925b9e6cccbda589fecbb83f2b70fneil_a_wilson
af6117fa729925b9e6cccbda589fecbb83f2b70fneil_a_wilsonSUBDIRS=
af6117fa729925b9e6cccbda589fecbb83f2b70fneil_a_wilson
af6117fa729925b9e6cccbda589fecbb83f2b70fneil_a_wilsonPOFILE= psvcplugin.po
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swiftPOFILE_RENAME= psvcplugin_cstone.po
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift
af6117fa729925b9e6cccbda589fecbb83f2b70fneil_a_wilsonall := TARGET= all
af6117fa729925b9e6cccbda589fecbb83f2b70fneil_a_wilsoninstall := TARGET= install
af6117fa729925b9e6cccbda589fecbb83f2b70fneil_a_wilsonclean := TARGET= clean
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swiftclobber := TARGET= clobber
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swiftlint := TARGET= lint
af6117fa729925b9e6cccbda589fecbb83f2b70fneil_a_wilson_msg := TARGET= _msg
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilsonall: $(LIBS) $(LIBLINKS)
f43bf60164dfc1ac60e5332f7a17ca1425c88268matthew
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilsoninstall: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
f43bf60164dfc1ac60e5332f7a17ca1425c88268matthew
f43bf60164dfc1ac60e5332f7a17ca1425c88268matthew_msg: $(MSGDOMAIN) $(POFILE)
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson $(RM) $(MSGDOMAIN)/$(POFILE)
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson $(CP) $(POFILE) $(MSGDOMAIN)/$(POFILE_RENAME)
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson$(MSGDOMAIN):
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson $(INS.dir)
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson$(LIBLINKS): FRC
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson $(RM) $(LIBLINKS); $(SYMLINK) $(DYNLIB) $(LIBLINKS)
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson# include library targets
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilsoninclude $(SRC)/cmd/picl/plugins/Makefile.targ
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilsoninclude $(SRC)/lib/Makefile.targ
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilsonlint :
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson $(LINT.c) $(SRCS)
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift$(SUBDIRS): FRC
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swift @cd $@; pwd; $(MAKE) $(TARGET)
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swiftFRC:
7ea3e4667fd4a40f7792638bc429b36d8066557aneil_a_wilson