Makefile revision e1adf50c175098121bb2d0ddc73adb34d502328e
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington#
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# CDDL HEADER START
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington#
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# The contents of this file are subject to the terms of the
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# Common Development and Distribution License (the "License").
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# You may not use this file except in compliance with the License.
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington#
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# or http://www.opensolaris.org/os/licensing.
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# See the License for the specific language governing permissions
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# and limitations under the License.
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington#
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# When distributing Covered Code, include this CDDL HEADER in each
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# If applicable, add the following below this CDDL HEADER, with the
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# fields enclosed by brackets "[]" replaced with your own identifying
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# information: Portions Copyright [yyyy] [name of copyright owner]
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington#
89c76a8c99f25ef6d24c3642f95dde19c5fd4d05Phill Cunnington# CDDL HEADER END
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington#
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington#
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# Use is subject to license terms.
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL#
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington# ident "%Z%%M% %I% %E% SMI"
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington#
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTELinclude $(SRC)/Makefile.master
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunningtoninclude ../Makefile.com
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill CunningtonSNOOPDIR = $(SRC)/cmd/cmd-inet/usr.sbin/snoop
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill CunningtonSNOOPOBJS = nfs4_xdr.o
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill CunningtonSNOOPSRCS = ${SNOOPOBJS:%.o=%.c}
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill CunningtonCLOBBERFILES += nfs/$(SNOOPOBJS)
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill CunningtonRPCSVCDIR = $(SRC)/head/rpcsvc
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill CunningtonRPCSVCOBJS = nfs_prot.o
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill CunningtonRPCSVCSRCS = ${RPCSVCOBJS:%o=%c}
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill CunningtonCLOBBERFILES += nfs/$(RPCSVCOBJS) $(RPCSVCDIR)/$(RPCSVCSRCS)
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunningtonfasttrap/tst.fasttrap.exe := LDLIBS += -ldtrace
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunningtonfasttrap/tst.stack.exe := LDLIBS += -ldtrace
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunningtonproc/tst.sigwait.exe := LDLIBS += -lrt
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunningtonsysevent/tst.post.exe := LDLIBS += -lsysevent
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunningtonsysevent/tst.post_chan.exe := LDLIBS += -lsysevent
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunningtonustack/tst.bigstack.exe := COPTFLAG += -xO1
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill CunningtonGCC = $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTELnfs/%.o: $(SNOOPDIR)/%.c
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(COMPILE.c) -o $@ $< -I$(SNOOPDIR)
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(POST_PROCESS_O)
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTELnfs/tst.call.exe: nfs/tst.call.o nfs/$(SNOOPOBJS)
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(LINK.c) -o $@ nfs/tst.call.o nfs/$(SNOOPOBJS) $(LDLIBS) -lnsl
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(POST_PROCESS) ; $(STRIP_STABS)
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL$(RPCSVCDIR)/%.c: $(RPCSVCDIR)/%.x
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(RPCGEN) -Cc $< > $@
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTELnfs/$(RPCSVCOBJS): $(RPCSVCDIR)/$(RPCSVCSRCS)
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(COMPILE.c) -o $@ $(RPCSVCDIR)/$(RPCSVCSRCS)
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(POST_PROCESS_O)
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTELnfs/tst.call3.exe: nfs/tst.call3.o nfs/$(RPCSVCOBJS)
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(LINK.c) -o $@ nfs/tst.call3.o nfs/$(RPCSVCOBJS) \
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(LDLIBS) -lnsl -lrpcsvc
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(POST_PROCESS) ; $(STRIP_STABS)
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTELpid/tst.gcc.exe: pid/tst.gcc.c
d1c16f8500040c90d86b23fdf3c3b17c2e1a582fQuentin CASTEL $(GCC) -o pid/tst.gcc.exe pid/tst.gcc.c $(LDFLAGS)
4a029e70f735f97925ee27e4de6d7dbea88bd6c9Phill Cunnington $(POST_PROCESS) ; $(STRIP_STABS)
usdt/tst.args.exe: usdt/tst.args.o usdt/args.o
$(LINK.c) -o usdt/tst.args.exe usdt/tst.args.o usdt/args.o $(LDLIBS)
$(POST_PROCESS) ; $(STRIP_STABS)
usdt/args.o: usdt/args.d usdt/tst.args.o
$(COMPILE.d) -o usdt/args.o -s usdt/args.d usdt/tst.args.o
usdt/tst.argmap.exe: usdt/tst.argmap.o usdt/argmap.o
$(LINK.c) -o usdt/tst.argmap.exe usdt/tst.argmap.o usdt/argmap.o \
$(LDLIBS)
$(POST_PROCESS) ; $(STRIP_STABS)
usdt/argmap.o: usdt/argmap.d usdt/tst.argmap.o
$(COMPILE.d) -o usdt/argmap.o -s usdt/argmap.d usdt/tst.argmap.o
usdt/tst.forker.exe: usdt/tst.forker.o usdt/forker.o
$(LINK.c) -o usdt/tst.forker.exe usdt/tst.forker.o usdt/forker.o \
$(LDLIBS)
$(POST_PROCESS) ; $(STRIP_STABS)
usdt/forker.o: usdt/forker.d usdt/tst.forker.o
$(COMPILE.d) -o usdt/forker.o -s usdt/forker.d usdt/tst.forker.o
usdt/tst.forker.o: usdt/forker.h
usdt/forker.h: usdt/forker.d
$(DTRACE) -h -s usdt/forker.d -o usdt/forker.h
SUBDIRS = java_api
include ../../Makefile.subdirs