Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
550N/A#
550N/A# CDDL HEADER START
550N/A#
550N/A# The contents of this file are subject to the terms of the
550N/A# Common Development and Distribution License (the "License").
550N/A# You may not use this file except in compliance with the License.
550N/A#
550N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
550N/A# or http://www.opensolaris.org/os/licensing.
550N/A# See the License for the specific language governing permissions
550N/A# and limitations under the License.
550N/A#
550N/A# When distributing Covered Code, include this CDDL HEADER in each
550N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
550N/A# If applicable, add the following below this CDDL HEADER, with the
550N/A# fields enclosed by brackets "[]" replaced with your own identifying
550N/A# information: Portions Copyright [yyyy] [name of copyright owner]
550N/A#
550N/A# CDDL HEADER END
550N/A#
550N/A#
550N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
550N/A# Use is subject to license terms.
550N/A#
550N/A
550N/APROG= bart
550N/ASRCS= rules.c create.c compare.c main.c lutbl.c
550N/AOBJS= rules.o create.o compare.o main.o lutbl.o
550N/ABART= bart
550N/A
550N/Ainclude ../Makefile.cmd
550N/A
550N/ALDLIBS += -lsec -lmd
550N/ACERRWARN += -_gcc=-Wno-parentheses
550N/ACERRWARN += -_gcc=-Wno-uninitialized
550N/A
550N/A#
550N/A# for messaging catalog
550N/A#
550N/A
550N/APOFILE= bart.po
550N/ADCFILE= bart.dc
550N/A
550N/AROOTBINBART= $(BART:%=$(ROOTBIN)/%)
550N/AROOTLIBDIFFH= $(DIFFH:%=$(ROOTLIB)/%)
550N/A
550N/A.KEEP_STATE:
550N/A
550N/Aall: $(PROG)
550N/A
550N/A$(PROG): $(OBJS)
550N/A $(CC) -o $(PROG) $(OBJS) $(LDFLAGS) $(LDLIBS)
550N/A $(POST_PROCESS)
550N/A
550N/Aclean:
550N/A $(RM) $(OBJS)
550N/A
550N/A
550N/A#
550N/A# Use private rule
#
$(POFILE):
$(RM) $@
$(COMPILE.cpp) $(SRCS) > bart.po.i
$(XGETTEXT) $(XGETFLAGS) bart.po.i
sed "/^domain/d" messages.po > $@
$(RM) bart.po.i messages.po
$(DCFILE):
$(RM) $@
$(COMPILE.cpp) $(SRCS) > bart.dc.i
$(XGETTEXT) -c TRANSLATION_NOTE_FOR_DC -t bart.dc.i
sed "/^domain/d" messages.po > $@
$(RM) bart.dc.i messages.po
install: all $(ROOTBINBART) $(ROOTLIBDIFFH)
clean:
lint: lint_SRCS
include ../Makefile.targ