Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
1b05bdb88b90d3c947351f262d7ae7d68f0a4a6fTill Mossakowski# CDDL HEADER START
c06dd8856a03b72f6b3f69e874f8700f10cb8522Christian Maeder# The contents of this file are subject to the terms of the
c06dd8856a03b72f6b3f69e874f8700f10cb8522Christian Maeder# Common Development and Distribution License (the "License").
c06dd8856a03b72f6b3f69e874f8700f10cb8522Christian Maeder# You may not use this file except in compliance with the License.
1b05bdb88b90d3c947351f262d7ae7d68f0a4a6fTill Mossakowski# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1b05bdb88b90d3c947351f262d7ae7d68f0a4a6fTill Mossakowski# or http://www.opensolaris.org/os/licensing.
1b05bdb88b90d3c947351f262d7ae7d68f0a4a6fTill Mossakowski# See the License for the specific language governing permissions
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# and limitations under the License.
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# When distributing Covered Code, include this CDDL HEADER in each
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# If applicable, add the following below this CDDL HEADER, with the
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# CDDL HEADER END
e3c9174a782e90f965a0b080c22861c3ef5af12dTill Mossakowski# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
e3c9174a782e90f965a0b080c22861c3ef5af12dTill Mossakowski# Use is subject to license terms.
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# fsdb has a name clash with main() and libl.so.1. However, fsdb must
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# still export a number of "yy*" (libl) interfaces. Reduce all other symbols
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# to local scope.
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian MaederMAPFILES += $(MAPFILE.INT) $(MAPFILE.LEX) $(MAPFILE.NGB)
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian MaederCPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian MaederCERRWARN += -_gcc=-Wno-implicit-function-declaration
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maederfsdb : fsdb_yacc.o fsdb_lex.o ud_lib.o fsdb.o $(MAPFILES)
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder $(LINK.c) -o $@ fsdb.o fsdb_yacc.o fsdb_lex.o \
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder $(RM) ud_lib.c ud_lib.h fsdb.o ud_lib.o fsdb_yacc.o fsdb_lex.o
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder $(RM) fsdb_yacc.c fsdb_lex.c y.tab.c y.tab.h lex.yy.c
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# for messaging catalog
95c3e5d11dcee331dc3876a9bf0c1d6daa38e2caChristian Maeder# for messaging catalog