Makefile revision 67e3a03ed4a2813074d36330f062ed6e593a4937
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright#
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# ident "%Z%%M% %I% %E% SMI"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wrightinclude $(SRC)/Makefile.master
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude ../Makefile.com
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwSNOOPDIR = $(SRC)/cmd/cmd-inet/usr.sbin/snoop
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwSNOOPOBJS = nfs4_xdr.o
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwSNOOPSRCS = ${SNOOPOBJS:%.o=%.c}
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCLOBBERFILES += nfs/$(SNOOPOBJS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwRPCSVCDIR = $(SRC)/head/rpcsvc
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwRPCSVCOBJS = nfs_prot.o
8d7e41661dc4633488e93b13363137523ce59977jose borregoRPCSVCSRCS = ${RPCSVCOBJS:%o=%c}
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwCLOBBERFILES += nfs/$(RPCSVCOBJS) $(RPCSVCDIR)/$(RPCSVCSRCS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwfasttrap/tst.fasttrap.exe := LDLIBS += -ldtrace
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwfasttrap/tst.stack.exe := LDLIBS += -ldtrace
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwsysevent/tst.post.exe := LDLIBS += -lsysevent
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwsysevent/tst.post_chan.exe := LDLIBS += -lsysevent
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwustack/tst.bigstack.exe := COPTFLAG += -xO1
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwGCC = $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwnfs/%.o: $(SNOOPDIR)/%.c
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States $(COMPILE.c) -o $@ $< -I$(SNOOPDIR)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS_O)
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan Brownnfs/tst.call.exe: nfs/tst.call.o nfs/$(SNOOPOBJS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(LINK.c) -o $@ nfs/tst.call.o nfs/$(SNOOPOBJS) $(LDLIBS) -lnsl
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS) ; $(STRIP_STABS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw$(RPCSVCDIR)/%.c: $(RPCSVCDIR)/%.x
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(RPCGEN) -Cc $< > $@
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwnfs/$(RPCSVCOBJS): $(RPCSVCDIR)/$(RPCSVCSRCS)
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross $(COMPILE.c) -o $@ $(RPCSVCDIR)/$(RPCSVCSRCS)
1fdeec650620e8498c06f832ea4bd2292f7e9632joyce mcintosh $(POST_PROCESS_O)
fd9ee8b58485b20072eeef1310a88ff348d5e7fajoyce mcintoshnfs/tst.call3.exe: nfs/tst.call3.o nfs/$(RPCSVCOBJS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(LINK.c) -o $@ nfs/tst.call3.o nfs/$(RPCSVCOBJS) \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(LDLIBS) -lnsl -lrpcsvc
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS) ; $(STRIP_STABS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wrightpid/tst.gcc.exe: pid/tst.gcc.c
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(GCC) -o pid/tst.gcc.exe pid/tst.gcc.c $(LDFLAGS)
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas $(POST_PROCESS) ; $(STRIP_STABS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwusdt/tst.args.exe: usdt/tst.args.o usdt/args.o
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(LINK.c) -o usdt/tst.args.exe usdt/tst.args.o usdt/args.o $(LDLIBS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS) ; $(STRIP_STABS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwusdt/args.o: usdt/args.d usdt/tst.args.o
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(COMPILE.d) -o usdt/args.o -s usdt/args.d usdt/tst.args.o
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwusdt/tst.argmap.exe: usdt/tst.argmap.o usdt/argmap.o
c8ec8eea9849cac239663c46be8a7f5d2ba7ca00jose borrego $(LINK.c) -o usdt/tst.argmap.exe usdt/tst.argmap.o usdt/argmap.o \
fd9ee8b58485b20072eeef1310a88ff348d5e7fajoyce mcintosh $(LDLIBS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(POST_PROCESS) ; $(STRIP_STABS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
fd9ee8b58485b20072eeef1310a88ff348d5e7fajoyce mcintoshusdt/argmap.o: usdt/argmap.d usdt/tst.argmap.o
fd9ee8b58485b20072eeef1310a88ff348d5e7fajoyce mcintosh $(COMPILE.d) -o usdt/argmap.o -s usdt/argmap.d usdt/tst.argmap.o
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross
cb174861876aea6950a7ab4ce944aff84b1914cdjoyce mcintoshusdt/tst.forker.exe: usdt/tst.forker.o usdt/forker.o
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross $(LINK.c) -o usdt/tst.forker.exe usdt/tst.forker.o usdt/forker.o \
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego $(LDLIBS)
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright $(POST_PROCESS) ; $(STRIP_STABS)
29bd28862cfb8abbd3a0f0a4b17e08bbc3652836Alan Wright
faa1795a28a5c712eed6d0a3f84d98c368a316c6jbusdt/forker.o: usdt/forker.d usdt/tst.forker.o
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(COMPILE.d) -o usdt/forker.o -s usdt/forker.d usdt/tst.forker.o
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwusdt/tst.forker.o: usdt/forker.h
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwusdt/forker.h: usdt/forker.d
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(DTRACE) -h -s usdt/forker.d -o usdt/forker.h
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2easSUBDIRS = java_api
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2easinclude ../../Makefile.subdirs
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas