Makefile revision 45916cd2fec6e79bca5dee0421bd39e3c2910d1e
80383d03604b92a452564592e84c2bf831077a41Automatic Updater# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Common Development and Distribution License (the "License").
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9016767f4e15191b7c763b8a4ad36a57dc2705a2Mark Andrews# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
9016767f4e15191b7c763b8a4ad36a57dc2705a2Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
9016767f4e15191b7c763b8a4ad36a57dc2705a2Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9016767f4e15191b7c763b8a4ad36a57dc2705a2Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# fields enclosed by brackets "[]" replaced with your own identifying
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# ident "%Z%%M% %I% %E% SMI"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSRCS = format.c main.c token.c toktable.c printaudit.c prio.c $(XLATEDIR)/adt_xlate.c
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinOBJS = format.o main.o token.o toktable.o printaudit.o prio.o adt_xlate.o
ad671240d635376dd8681550eebee799d2e3d1fdAutomatic UpdaterCPPFLAGS += -D_PRAUDIT -I$(SRC)/lib/libbsm/common
ad671240d635376dd8681550eebee799d2e3d1fdAutomatic UpdaterCPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
ad671240d635376dd8681550eebee799d2e3d1fdAutomatic UpdaterLAZYLIBS = $(ZLAZYLOAD) -ltsol $(ZNOLAZYLOAD)
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater $(CC) -o $(PROG) $(OBJS) $(LDFLAGS) $(LDLIBS)
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater# has strings but doesn't use gettext
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(XGETTEXT) $(XGETFLAGS) $(XLATEDIR)/adt_xlate.c
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater $(SED) "/^domain/d" < messages.po > adt_xlate.po