Makefile revision 82629e3015252bf18319ba3815c773df23e21436
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht#
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# CDDL HEADER START
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht#
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# The contents of this file are subject to the terms of the
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# Common Development and Distribution License (the "License").
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# You may not use this file except in compliance with the License.
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht#
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# or http://www.opensolaris.org/os/licensing.
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# See the License for the specific language governing permissions
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# and limitations under the License.
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht#
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# When distributing Covered Code, include this CDDL HEADER in each
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4362fb588a5a649734707c1d3b777856da4bcb37Simon Ulbricht# If applicable, add the following below this CDDL HEADER, with the
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# fields enclosed by brackets "[]" replaced with your own identifying
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht# information: Portions Copyright [yyyy] [name of copyright owner]
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht#
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht# CDDL HEADER END
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht#
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht#
024d83266148fc53f9d6f82bedd0b8cb4a6213a9Simon Ulbricht# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
846ef0914b29a4806ca0444c116fd3cf267c4fb7Christian Maeder# Use is subject to license terms.
846ef0914b29a4806ca0444c116fd3cf267c4fb7Christian Maeder#
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht#
8600e22385bce13c5d1048f7b955f9394a5d94d6Simon Ulbricht
4d1df661384f74cd15d2ceba8a9a3c4760e9ddfbSimon UlbrichtMACHCOBJS = libv12n.o
8600e22385bce13c5d1048f7b955f9394a5d94d6Simon Ulbricht
79eb29c05606f195fe9c6fdca02bcaa458dde17dSimon UlbrichtCMNOBJS= mdesc_findname.o \
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht mdesc_findnodeprop.o \
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht mdesc_fini.o \
804459c3af78eeee3fd3c940c74594febd030dacSimon Ulbricht mdesc_getpropval.o \
c51cb4bddcd39a87711e238c0c562d67451476dbSimon Ulbricht mdesc_getpropstr.o \
4d1df661384f74cd15d2ceba8a9a3c4760e9ddfbSimon Ulbricht mdesc_init_intern.o \
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht mdesc_nodecount.o \
4362fb588a5a649734707c1d3b777856da4bcb37Simon Ulbricht mdesc_rootnode.o \
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon Ulbricht mdesc_scandag.o
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht
846ef0914b29a4806ca0444c116fd3cf267c4fb7Christian MaederOBJS += $(CMNOBJS)
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbrichtinclude ../Makefile.com
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbrichtinclude ../../Makefile.lib.64
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht
94968509d2764786208bd34b59a93c7cbe3aa6dbSimon UlbrichtC99MODE = $(C99_ENABLE)
e4d1479434761dc3eb8d17b6c75de4eb24866f0bSimon Ulbricht
024d83266148fc53f9d6f82bedd0b8cb4a6213a9Simon UlbrichtLDLIBS += -luuid -lc
024d83266148fc53f9d6f82bedd0b8cb4a6213a9Simon Ulbricht
024d83266148fc53f9d6f82bedd0b8cb4a6213a9Simon UlbrichtCPPFLAGS += -I. -I$(SRC)/lib/libds/common -I$(SRC)/cmd/ldmad
024d83266148fc53f9d6f82bedd0b8cb4a6213a9Simon Ulbricht
fe6a19b07759bc4190e88dda76a211d86bf32062Simon Ulbrichtinstall: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
fe6a19b07759bc4190e88dda76a211d86bf32062Simon Ulbricht
fe6a19b07759bc4190e88dda76a211d86bf32062Simon Ulbrichtpics/%.o: $(SRC)/common/mdesc/%.c
5212c904eb65bed7c08f5c6e54df9618125d2939Simon Ulbricht $(COMPILE.c) -o $@ $<
21f01439b3d87ccc385d3bce73afb2d187d14d05Simon Ulbricht $(POST_PROCESS_O)
21f01439b3d87ccc385d3bce73afb2d187d14d05Simon Ulbricht