Makefile revision 048b02791572fec28722a0c06dec096503552ca7
536N/A#
536N/A# CDDL HEADER START
1339N/A#
536N/A# The contents of this file are subject to the terms of the
1422N/A# Common Development and Distribution License (the "License").
536N/A# You may not use this file except in compliance with the License.
536N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/A# Copyright (c) 2011, Joyent, Inc. All rights reserved.
536N/A#
536N/A
536N/APROG = svcs
536N/AOBJS = svcs.o explain.o
536N/AMYOBJS = notify_params.o
536N/ASRCS = $(OBJS:%.o=%.c) $(MYOBJS:%.o=../common/%.c)
970N/APOFILES = $(OBJS:.o=.po)
970N/A
970N/Ainclude ../../Makefile.cmd
970N/Ainclude ../../Makefile.ctf
1339N/A
1339N/APOFILE = $(PROG)_all.po
1360N/ALDLIBS += -lcontract -lscf -luutil -lumem -lnvpair -lzonecfg
1339N/ACPPFLAGS += -I ../common
536N/A
536N/Alint := LINTFLAGS = -mux
536N/A
536N/A.KEEP_STATE:
1422N/A
1422N/Aall: $(PROG)
1422N/A
1422N/A%.o: ../common/%.c
536N/A $(COMPILE.c) $(OUTPUT_OPTION) $<
536N/A $(POST_PROCESS_O)
536N/A
536N/A$(PROG): $(OBJS) $(MYOBJS)
536N/A $(LINK.c) -o $@ $(OBJS) $(MYOBJS) $(LDLIBS)
1422N/A $(POST_PROCESS)
1422N/A
536N/A$(POFILE): $(POFILES)
536N/A cat $(POFILES) > $(POFILE)
536N/A
1422N/Ainstall: all $(ROOTPROG)
1422N/A
1422N/Aclean:
1422N/A $(RM) $(OBJS) $(MYOBJS)
536N/A
536N/Alint: lint_SRCS
965N/A
965N/Ainclude ../../Makefile.targ
536N/A