Makefile revision 5a7763bf3e9db4cfe6cb523b096cb74af71e3793
3488e51e244adfc756837287fbfbcc03eca8bf7avboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# CDDL HEADER START
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# The contents of this file are subject to the terms of the
b341a780162d809b187a8f35a10bba7642b69798vboxsync# Common Development and Distribution License (the "License").
b341a780162d809b187a8f35a10bba7642b69798vboxsync# You may not use this file except in compliance with the License.
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4d8718ac025b1924b596f0d0dd0ea50e21fe5995vboxsync# or http://www.opensolaris.org/os/licensing.
b341a780162d809b187a8f35a10bba7642b69798vboxsync# See the License for the specific language governing permissions
b341a780162d809b187a8f35a10bba7642b69798vboxsync# and limitations under the License.
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# When distributing Covered Code, include this CDDL HEADER in each
b341a780162d809b187a8f35a10bba7642b69798vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b341a780162d809b187a8f35a10bba7642b69798vboxsync# If applicable, add the following below this CDDL HEADER, with the
b341a780162d809b187a8f35a10bba7642b69798vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
b341a780162d809b187a8f35a10bba7642b69798vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# CDDL HEADER END
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync#
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync# Use is subject to license terms.
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync#
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync#ident "%Z%%M% %I% %E% SMI"
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync#
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync#
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync# cmd/fwflash/plugins/transport/sparc
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync#
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync
36545c63b2aab948161e4a712913a4f2dce17d2fvboxsyncSRCS= ses.c
f36543a0783c9fadf211ea3e98ef6578f5736ccdvboxsync
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncOBJECTS= $(SRCS:%.c=%.o)
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncPLUGINS= $(SRCS:%.c=%.so)
cfa82602cc477153717a0875667946520e6fee76vboxsyncPOFILES= ses.po
4bc74a1db929517da626b12e61cc468fa0947927vboxsyncIDENTPOFILE= fwflash_transport_identify_ses.po
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncLINTFILE= ses.ln
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncCLEANFILES= $(OBJECTS)
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncCLOBBERFILES= $(PLUGINS) $(POFILES) $(IDENTPOFILE) $(LINTFILE)
fe1218b4b94953a1ac6a5a8c8f59f3208cc66e3fvboxsync
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsync
5ad4f48b2792391dd4a1aea599953037dfc8f456vboxsyncall: $(PLUGINS)
11d098987ab9ae67a6530ac1b3256d192f03aca9vboxsync_msg msg: $(IDENTPOFILE)
cb48b678483eed76053da41c3f0f2600eeeed5f4vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsyncinclude $(SRC)/Makefile.master
97ee63da05448fd776f88e95864d3b958d298dd7vboxsyncinclude $(SRC)/cmd/fwflash/Makefile.com
cd1ce370c056a0c36a34b23281583353b8a51bc4vboxsync
f7422473f089cb7f3b8be1c3fc223c441627d15cvboxsyncCFLAGS += -g -D_POSIX_PTHREAD_SEMANTICS
f7422473f089cb7f3b8be1c3fc223c441627d15cvboxsyncDYNFLAGS += -Bdynamic
346af0930020342df40a1ca8d13eb185ad48067evboxsyncLDLIBS += -L$(ROOT)/usr/lib/scsi -ldevinfo -lumem -lc -lscsi -lses
f7422473f089cb7f3b8be1c3fc223c441627d15cvboxsyncLDFLAGS += -R/usr/lib/scsi
d1e0bb6198393c6a797ba3ab4363c55ca5a76988vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncBUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(LDFLAGS) $(LDLIBS)
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync$(PLUGINS) := FILEMODE = 0555
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncinstall: $(ROOTLIBFWFLASHPLUGINS) \
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync $(ROOTLIBFWFLASHPLUGINS)/ses.so
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncclobber clean:
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync $(RM) $(CLEANFILES) $(CLOBBERFILES)
b341a780162d809b187a8f35a10bba7642b69798vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsynclint: lint_SRCS
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsync%.o: ../common/%.c
b341a780162d809b187a8f35a10bba7642b69798vboxsync $(COMPILE.c) $<
f7422473f089cb7f3b8be1c3fc223c441627d15cvboxsync $(POST_PROCESS_O)
b341a780162d809b187a8f35a10bba7642b69798vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync%.so: %.o
b341a780162d809b187a8f35a10bba7642b69798vboxsync $(BUILD.SO) $<
b341a780162d809b187a8f35a10bba7642b69798vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsync
f7422473f089cb7f3b8be1c3fc223c441627d15cvboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# Message catalog
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync$(POFILES): ../common/$(SRCS)
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(RM) messages.po
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(XGETTEXT) $(XGETFLAGS) \
b341a780162d809b187a8f35a10bba7642b69798vboxsync `($(GREP) -l gettext ../common/ses.c || echo /dev/null)`
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(SED) "/^domain/d" messages.po > $@
b341a780162d809b187a8f35a10bba7642b69798vboxsync $(RM) messages.po
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsync$(IDENTPOFILE): $(POFILES)
b341a780162d809b187a8f35a10bba7642b69798vboxsync $(RM) $@
b341a780162d809b187a8f35a10bba7642b69798vboxsync cat $(POFILES) > $@
b341a780162d809b187a8f35a10bba7642b69798vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsynclint_SRCS: ../common/$(SRCS:%.c=%.ln)
b341a780162d809b187a8f35a10bba7642b69798vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsyncmsg: $(IDENTPOFILE)
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync