Makefile revision 2
5cd4555ad444fd391002ae32450572054369fd42Rob Austein#
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# The contents of this file are subject to the terms of the
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews# Common Development and Distribution License (the "License").
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# You may not use this file except in compliance with the License.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# or http://www.opensolaris.org/os/licensing.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# See the License for the specific language governing permissions
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# and limitations under the License.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# If applicable, add the following below this CDDL HEADER, with the
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# information: Portions Copyright [yyyy] [name of copyright owner]
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# CDDL HEADER END
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater#
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMACHCOBJS = libv12n.o
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCMNOBJS= mdesc_findname.o \
acb4f5236966c2b680b949c1eda826948b24fc23Mark Andrews mdesc_findnodeprop.o \
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews mdesc_fini.o \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein mdesc_getpropval.o \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein mdesc_getpropstr.o \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein mdesc_init_intern.o \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein mdesc_nodecount.o \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein mdesc_rootnode.o \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein mdesc_scandag.o
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark AndrewsOBJS += $(CMNOBJS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../Makefile.com
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../../Makefile.lib.64
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinC99MODE = $(C99_ENABLE)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinLDLIBS += -luuid -lc
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCPPFLAGS += -I. -I$(SRC)/lib/libds/common -I$(SRC)/cmd/ldmad
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininstall: stubinstall all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinstubinstall: stub $(STUBROOTLIBS64) $(STUBROOTLINKS64)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinpics/%.o: $(SRC)/common/mdesc/%.c
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(COMPILE.c) -o $@ $<
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(POST_PROCESS_O)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein