xref: /titanic_52/usr/src/cmd/smbios/Makefile (revision 174bc6499d233e329ecd3d98a880a7b07df16bfa)
184ab085aSmws#
284ab085aSmws# CDDL HEADER START
384ab085aSmws#
484ab085aSmws# The contents of this file are subject to the terms of the
524fe0b3bSjmcp# Common Development and Distribution License (the "License").
624fe0b3bSjmcp# You may not use this file except in compliance with the License.
784ab085aSmws#
884ab085aSmws# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
984ab085aSmws# or http://www.opensolaris.org/os/licensing.
1084ab085aSmws# See the License for the specific language governing permissions
1184ab085aSmws# and limitations under the License.
1284ab085aSmws#
1384ab085aSmws# When distributing Covered Code, include this CDDL HEADER in each
1484ab085aSmws# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1584ab085aSmws# If applicable, add the following below this CDDL HEADER, with the
1684ab085aSmws# fields enclosed by brackets "[]" replaced with your own identifying
1784ab085aSmws# information: Portions Copyright [yyyy] [name of copyright owner]
1884ab085aSmws#
1984ab085aSmws# CDDL HEADER END
2084ab085aSmws#
2184ab085aSmws#
2224fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2384ab085aSmws# Use is subject to license terms.
2484ab085aSmws#
2584ab085aSmws
2684ab085aSmwsPROG = smbios
2784ab085aSmwsOBJS = smbios.o
2884ab085aSmwsSRCS = $(OBJS:%.o=%.c)
2984ab085aSmws
3084ab085aSmwsinclude ../Makefile.cmd
3184ab085aSmws
3284ab085aSmwsCFLAGS += $(CCVERBOSE)
33*174bc649SRobert MustacchiLDLIBS += -lsmbios -ljedec
3484ab085aSmws
3584ab085aSmwsFILEMODE = 0555
3684ab085aSmwsSTRIPFLAG =
3784ab085aSmws
3884ab085aSmws.KEEP_STATE:
3984ab085aSmws
4084ab085aSmwsall: $(PROG)
4184ab085aSmws
4284ab085aSmws$(PROG): $(OBJS)
4384ab085aSmws	$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
4484ab085aSmws	$(POST_PROCESS)
4584ab085aSmws
4684ab085aSmwsclean:
4784ab085aSmws	$(RM) $(OBJS)
4884ab085aSmws
4984ab085aSmwsinstall: $(ROOTUSRSBINPROG)
5084ab085aSmws
5184ab085aSmwslint: lint_SRCS
5284ab085aSmws
5384ab085aSmwsinclude ../Makefile.targ
54