Makefile.com revision e1c679fa4b0ab8c4bcaa6263974ca0c46e5b027f
f7c21e46c4b5fdae516b91374c24a87671f83ea3Andreas Gustafsson#
3827c16dceef0d16ac877f5aae5e66affdc1fcceEric Luce# CDDL HEADER START
fafd1d771905532e8dc3efa2ce90ce4c9e74af61Eric Luce#
3827c16dceef0d16ac877f5aae5e66affdc1fcceEric Luce# The contents of this file are subject to the terms of the
f78762623b007d383ef0fddeaacb356d179e7467Brian Wellington# Common Development and Distribution License (the "License").
3827c16dceef0d16ac877f5aae5e66affdc1fcceEric Luce# You may not use this file except in compliance with the License.
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce#
3a44b7b9fd81c4ac61eca3ee580f10be5be70df3Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3a44b7b9fd81c4ac61eca3ee580f10be5be70df3Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
3a44b7b9fd81c4ac61eca3ee580f10be5be70df3Andreas Gustafsson# See the License for the specific language governing permissions
3a44b7b9fd81c4ac61eca3ee580f10be5be70df3Andreas Gustafsson# and limitations under the License.
3a44b7b9fd81c4ac61eca3ee580f10be5be70df3Andreas Gustafsson#
3a44b7b9fd81c4ac61eca3ee580f10be5be70df3Andreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
3a44b7b9fd81c4ac61eca3ee580f10be5be70df3Andreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3a44b7b9fd81c4ac61eca3ee580f10be5be70df3Andreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
3a44b7b9fd81c4ac61eca3ee580f10be5be70df3Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# information: Portions Copyright [yyyy] [name of copyright owner]
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce#
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# CDDL HEADER END
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce#
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce#
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# Use is subject to license terms.
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce#
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce# ident "%Z%%M% %I% %E% SMI"
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce#
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceLIBRARY = libfmd_msg.a
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceVERS = .1
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
6867b9d347b8c00d56d6e357232d069ab7fb11aaAndreas GustafssonLIBSRCS = fmd_msg.c
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceOBJECTS = $(LIBSRCS:%.c=%.o)
476b122633468e6b0b9d4afc28c4b7abf11a61d9Andreas Gustafsson
476b122633468e6b0b9d4afc28c4b7abf11a61d9Andreas Gustafssoninclude ../../../Makefile.lib
476b122633468e6b0b9d4afc28c4b7abf11a61d9Andreas Gustafssoninclude ../../Makefile.lib
476b122633468e6b0b9d4afc28c4b7abf11a61d9Andreas Gustafsson
71cb12b5aa79314700af9401b139865e64d544ffAndreas GustafssonSRCS = $(LIBSRCS:%.c=../common/%.c)
476b122633468e6b0b9d4afc28c4b7abf11a61d9Andreas GustafssonLIBS = $(DYNLIB) $(LINTLIB)
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceSRCDIR = ../common
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceCPPFLAGS += -I../common -I.
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceCFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceCFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceLDLIBS += -lnvpair -lgen -lc
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceLINTFLAGS = -msux
55c73d07349b0be7d800f39fcc30eba6ab760129Eric LuceLINTFLAGS64 = -msux -Xarch=$(MACH64:sparcv9=v9)
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
6867b9d347b8c00d56d6e357232d069ab7fb11aaAndreas Gustafsson$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
6867b9d347b8c00d56d6e357232d069ab7fb11aaAndreas Gustafsson$(LINTLIB) := LINTFLAGS = -nsvx
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce$(LINTLIB) := LINTFLAGS64 = -nsvx -Xarch=$(MACH64:sparcv9=v9)
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce.KEEP_STATE:
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luceall: $(LIBS)
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Lucelint: $(LINTLIB) lintcheck
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luceinclude ../../../Makefile.targ
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luceinclude ../../Makefile.targ
55c73d07349b0be7d800f39fcc30eba6ab760129Eric Luce