Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
15438N/A#
18727N/A# CDDL HEADER START
15438N/A#
15438N/A# The contents of this file are subject to the terms of the
15438N/A# Common Development and Distribution License, Version 1.0 only
15438N/A# (the "License"). You may not use this file except in compliance
15438N/A# with the License.
15438N/A#
15438N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15438N/A# or http://www.opensolaris.org/os/licensing.
15438N/A# See the License for the specific language governing permissions
15438N/A# and limitations under the License.
15438N/A#
15438N/A# When distributing Covered Code, include this CDDL HEADER in each
15438N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16255N/A# If applicable, add the following below this CDDL HEADER, with the
15438N/A# fields enclosed by brackets "[]" replaced with your own identifying
15438N/A# information: Portions Copyright [yyyy] [name of copyright owner]
15438N/A#
15438N/A# CDDL HEADER END
16255N/A#
16255N/A#
16255N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
16255N/A# Use is subject to license terms.
16255N/A#
16255N/A#ident "%Z%%M% %I% %E% SMI"
15438N/A#
16255N/A# cmd/cfgadm/Makefile
16255N/A
15438N/APROG= cfgadm
15438N/A
include ../Makefile.cmd
$(INTEL_BLD)CFLAGS += -_gcc=-fwritable-strings
$(INTEL_BLD)CFLAGS64 += -_gcc=-fwritable-strings
SED= sed
DCFILE= $(PROG).dc
XGETFLAGS += -a -x cfgadm.xcl
LDLIBS += -lcfgadm
LINTFLAGS += $(ENVLDFLAGS1) $(ENVLDFLAGS2) $(ENVLDFLAGS3) $(LDLIBS)
.KEEP_STATE:
all: $(PROG)
install: all $(ROOTUSRSBINPROG)
-$(RM) $(ROOTETCPROG)
$(SYMLINK) ../usr/sbin/$(PROG) $(ROOTETCPROG)
clean:
lint: lint_PROG
$(DCFILE): $(PROG).c
$(RM) $(DCFILE)
$(COMPILE.cpp) $(PROG).c | \
$(XGETTEXT) -t -
$(SED) -e '/^domain/d' messages.po > $@
$(RM) messages.po
include ../Makefile.targ