Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
4d237bbe075b1d2c19428cd954d721d65b31f67cwrowe#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
1a5f954324f2584984fc9cee7a7a8ebe8ef39aeajim#
b39ba1ea90cd1940dcd9e8d0f18c1ff02c187ac1jim# The contents of this file are subject to the terms of the
78a20a6e7ad3a0229900ee54c7d11a65f647b663niq# Common Development and Distribution License, Version 1.0 only
78a20a6e7ad3a0229900ee54c7d11a65f647b663niq# (the "License"). You may not use this file except in compliance
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd# with the License.
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd#
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd# or http://www.opensolaris.org/os/licensing.
d56bacbfefa5aa883ce5162a115747372fc38d13chrisd# See the License for the specific language governing permissions
e1a26e8050bf62459a7ef1c5064b714811767417rpluem# and limitations under the License.
e1a26e8050bf62459a7ef1c5064b714811767417rpluem#
e1a26e8050bf62459a7ef1c5064b714811767417rpluem# When distributing Covered Code, include this CDDL HEADER in each
fcee7ee83b1e48f2655c79f176d1ea7627e19937chrisd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcee7ee83b1e48f2655c79f176d1ea7627e19937chrisd# If applicable, add the following below this CDDL HEADER, with the
fcee7ee83b1e48f2655c79f176d1ea7627e19937chrisd# fields enclosed by brackets "[]" replaced with your own identifying
fcee7ee83b1e48f2655c79f176d1ea7627e19937chrisd# information: Portions Copyright [yyyy] [name of copyright owner]
53feccc94b923e12db1df6f7069676590097ba2frpluem#
53feccc94b923e12db1df6f7069676590097ba2frpluem# CDDL HEADER END
53feccc94b923e12db1df6f7069676590097ba2frpluem#
b39ba1ea90cd1940dcd9e8d0f18c1ff02c187ac1jim#
b39ba1ea90cd1940dcd9e8d0f18c1ff02c187ac1jim# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
b39ba1ea90cd1940dcd9e8d0f18c1ff02c187ac1jim# Use is subject to license terms.
b39ba1ea90cd1940dcd9e8d0f18c1ff02c187ac1jim#
d64dd2fd4516c2b1b664c5e59c0628d9aff26984covener# ident "%Z%%M% %I% %E% SMI"
d64dd2fd4516c2b1b664c5e59c0628d9aff26984covener#
d64dd2fd4516c2b1b664c5e59c0628d9aff26984covener# cmd/picl/plugins/sun4u/enchilada/envd/Makefile
ed0d39878e79220baaa50c15b79b1fdf877cb919niq#
1e911973bcb9df6701a4c16c037771ecf25ade13niqinclude $(SRC)/Makefile.psm
1e911973bcb9df6701a4c16c037771ecf25ade13niq
1e911973bcb9df6701a4c16c037771ecf25ade13niqLIBRARY= libpiclenvd.a
1e911973bcb9df6701a4c16c037771ecf25ade13niqVERS= .1
1e911973bcb9df6701a4c16c037771ecf25ade13niq
1e911973bcb9df6701a4c16c037771ecf25ade13niqOBJECTS= piclenvd.o piclenvsetup.o
a55905a382027bdcc3a29248db4176527d36aa9ajim
a55905a382027bdcc3a29248db4176527d36aa9ajim# include library definitions
a55905a382027bdcc3a29248db4176527d36aa9ajiminclude $(SRC)/lib/Makefile.lib
a55905a382027bdcc3a29248db4176527d36aa9ajim
5fbd1e97905738791e7359ccbc9b02e913948d2erpluemROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Blade-2500
5fbd1e97905738791e7359ccbc9b02e913948d2erpluem
5fbd1e97905738791e7359ccbc9b02e913948d2erplueminclude $(SRC)/cmd/picl/plugins/Makefile.com
5fbd1e97905738791e7359ccbc9b02e913948d2erpluem
ca33b922ae8ad1b24a8235b656b0ac6f82915355jimCPPFLAGS += -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
e74519466f1905e7a1b3d34396fbb82717153c90jimCPPFLAGS += -I$(SRC)/uts/sun4u/ -I$(SRC)/uts/common/
e74519466f1905e7a1b3d34396fbb82717153c90jimCPPFLAGS += -I$(SRC)/uts/sun4u/enchilada
e74519466f1905e7a1b3d34396fbb82717153c90jimCPPFLAGS += -I$(SRC)/cmd/picl/plugins/lib/picld_pluginutil
ca33b922ae8ad1b24a8235b656b0ac6f82915355jim
ca33b922ae8ad1b24a8235b656b0ac6f82915355jimSRCS= $(OBJECTS:%.o=%.c)
b842b65e0618c5535233b197f03dc917d184adb3jim
b842b65e0618c5535233b197f03dc917d184adb3jimLIBS = $(DYNLIB)
b842b65e0618c5535233b197f03dc917d184adb3jim
b842b65e0618c5535233b197f03dc917d184adb3jimROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
e47d58d5d983426584c8d16416c50f5c58070746dirkxROOTLIBDIR := OWNER = root
e47d58d5d983426584c8d16416c50f5c58070746dirkxROOTLIBDIR := GROUP = sys
e47d58d5d983426584c8d16416c50f5c58070746dirkx
e47d58d5d983426584c8d16416c50f5c58070746dirkxCONF= envmodel.conf
33aad3911b15cb5d523075f7df829274fe298a13dirkxROOTCONF= $(CONF:%=$(ROOTLIBDIR)/%)
33aad3911b15cb5d523075f7df829274fe298a13dirkx$(ROOTCONF) := FILEMODE = 0644
76f68128bb8fcea0f772d522c05dc7ec872040c2dirkxINFOS= envmodel.info
33aad3911b15cb5d523075f7df829274fe298a13dirkx
433dcb1fbaae82d36634f5120bff71a04296904ddirkxLINTSRC = $(LINTLIB:%.ln=%)
433dcb1fbaae82d36634f5120bff71a04296904ddirkxROOTLINTDIR = $(ROOTLIBDIR)
433dcb1fbaae82d36634f5120bff71a04296904ddirkxROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
433dcb1fbaae82d36634f5120bff71a04296904ddirkx
433dcb1fbaae82d36634f5120bff71a04296904ddirkxCLEANFILES= $(LINTOUT) $(LINTLIB)
433dcb1fbaae82d36634f5120bff71a04296904ddirkx
46a47c67296c52323632d5ae9d7c86bf87027a5frpluemCFLAGS += $(CCVERBOSE)
46a47c67296c52323632d5ae9d7c86bf87027a5frpluemDYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins
46a47c67296c52323632d5ae9d7c86bf87027a5frpluemLDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
edb2ad8387e30473e5be09714189441ef94d7f29rpluemLDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree
edb2ad8387e30473e5be09714189441ef94d7f29rpluemLDLIBS += -L$(SRC)/cmd/picl/plugins/lib/picld_pluginutil/$(MACH)
edb2ad8387e30473e5be09714189441ef94d7f29rpluemLDLIBS += -L$(ROOT)/usr/lib/picl/plugins -lpicldevtree -lpicltree
edb2ad8387e30473e5be09714189441ef94d7f29rpluemLDLIBS += -lpicld_pluginutil
56d3f6035b11f7d2074bcb8368dca5dfd12f9087jimLDLIBS += -ldevinfo -lc
56d3f6035b11f7d2074bcb8368dca5dfd12f9087jim
64bf71725ee015894b1724bc0dd198e5e24424ecrpluem.KEEP_STATE:
64bf71725ee015894b1724bc0dd198e5e24424ecrpluem
64bf71725ee015894b1724bc0dd198e5e24424ecrpluemSUBDIRS=
d7fcc79b0bee660d71b0cccfe9bbc2765ee6420erederpj
d7fcc79b0bee660d71b0cccfe9bbc2765ee6420erederpjPOFILE = piclenvd_enchilada.po
d7fcc79b0bee660d71b0cccfe9bbc2765ee6420erederpjPOFILES = $(SRCS:%.c=%.po)
d7fcc79b0bee660d71b0cccfe9bbc2765ee6420erederpj
d7fcc79b0bee660d71b0cccfe9bbc2765ee6420erederpjall := TARGET= all
d7fcc79b0bee660d71b0cccfe9bbc2765ee6420erederpjinstall := TARGET= install
5e48e0ef81c0736649fd7d2884837b32ed678750rpluemclean := TARGET= clean
5e48e0ef81c0736649fd7d2884837b32ed678750rpluemclobber := TARGET= clobber
5e48e0ef81c0736649fd7d2884837b32ed678750rpluemlint := TARGET= lint
cb9999606fbbda475b7b40e164699731521e9eb1niq_msg := TARGET= _msg
cb9999606fbbda475b7b40e164699731521e9eb1niq
cb9999606fbbda475b7b40e164699731521e9eb1niqall: $(LIBS) $(CONF) $(LIBLINKS)
33159d1d1291b676697c154830134500e793e66bcovener
33159d1d1291b676697c154830134500e793e66bcovenerinstall: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS) $(ROOTCONF)
33159d1d1291b676697c154830134500e793e66bcovener
33159d1d1291b676697c154830134500e793e66bcovener$(CONF): $(INFOS)
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx $(RM) $@
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx $(CPP) envmodel.info > $@
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx
40beb03c240a9c60805388592f1005d9bf9d2362fuankg
65cb7f00eca6689c8a89dc809359991ade1285bcwrowe$(POFILE): $(POFILES)
65cb7f00eca6689c8a89dc809359991ade1285bcwrowe $(CAT) $(POFILES) > $(POFILE)
65cb7f00eca6689c8a89dc809359991ade1285bcwrowe
65cb7f00eca6689c8a89dc809359991ade1285bcwrowe_msg: $(MSGDOMAIN) $(POFILE)
65cb7f00eca6689c8a89dc809359991ade1285bcwrowe $(RM) $(MSGDOMAIN)/$(POFILE)
475311484e1d0f01d41e0f48bfecf1f4bca2ff07rpluem $(CP) $(POFILE) $(MSGDOMAIN)/$(POFILE)
475311484e1d0f01d41e0f48bfecf1f4bca2ff07rpluem
475311484e1d0f01d41e0f48bfecf1f4bca2ff07rpluem$(MSGDOMAIN):
ef79eba84348e4f8c99402de06afa2237a856049rpluem $(INS.dir)
ef79eba84348e4f8c99402de06afa2237a856049rpluem
ef79eba84348e4f8c99402de06afa2237a856049rpluem
0d529159d06aec095a1e0612e2d629c98dc75512rpluem$(LIBLINKS): FRC
0d529159d06aec095a1e0612e2d629c98dc75512rpluem $(RM) $@; $(SYMLINK) $(DYNLIB) $@
0d529159d06aec095a1e0612e2d629c98dc75512rpluem
39c7699ec0799d394d3f67145d4a12ed82f587b8jorton# include library targets
39c7699ec0799d394d3f67145d4a12ed82f587b8jortoninclude $(SRC)/lib/Makefile.targ
39c7699ec0799d394d3f67145d4a12ed82f587b8jortoninclude $(SRC)/cmd/picl/plugins/Makefile.targ
3511969853863eeb6e80018afe63831e5bf81447rpluem
3511969853863eeb6e80018afe63831e5bf81447rpluem$(ROOTLINTDIR)/%: ../%
3511969853863eeb6e80018afe63831e5bf81447rpluem $(INS.file)
c6d33447e28403a90ad817dba4df75fae785be28pquerna
c6d33447e28403a90ad817dba4df75fae785be28pquernalint:
439ccf2a084e1da566548931c585cbcc3a9e7f4cminfrin $(LINT.c) $(SRCS)
439ccf2a084e1da566548931c585cbcc3a9e7f4cminfrin
439ccf2a084e1da566548931c585cbcc3a9e7f4cminfrin$(SUBDIRS): FRC
439ccf2a084e1da566548931c585cbcc3a9e7f4cminfrin @cd $@; pwd; $(MAKE) $(TARGET)
439ccf2a084e1da566548931c585cbcc3a9e7f4cminfrin
439ccf2a084e1da566548931c585cbcc3a9e7f4cminfrinFRC:
4ede070ca63bd4c48045e35a7192582769770290jorton