Makefile revision 45916cd2fec6e79bca5dee0421bd39e3c2910d1e
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# CDDL HEADER START
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# The contents of this file are subject to the terms of the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# Common Development and Distribution License (the "License").
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# You may not use this file except in compliance with the License.
fcc9f7f86c2fa2ceb8a5c16dc934fea7fa6887f2Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcc9f7f86c2fa2ceb8a5c16dc934fea7fa6887f2Andreas Gustafsson# See the License for the specific language governing permissions
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# and limitations under the License.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# When distributing Covered Code, include this CDDL HEADER in each
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# If applicable, add the following below this CDDL HEADER, with the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# fields enclosed by brackets "[]" replaced with your own identifying
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# information: Portions Copyright [yyyy] [name of copyright owner]
fcc9f7f86c2fa2ceb8a5c16dc934fea7fa6887f2Andreas Gustafsson# CDDL HEADER END
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# Use is subject to license terms.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# ident "%Z%%M% %I% %E% SMI"
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# Makefile for Removable Media Mounter.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# identification functions are in src/cmd/fs.d/<fstype>.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric LuceACTSVOL= action_workman.so.${ACT_VERS} action_dvdvideo.so.${ACT_VERS}
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric LuceCPPFLAGS += -DACT_VERS=${ACT_VERS} -DIDENT_VERS=${IDENT_VERS}
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# to get the correct DSO flags used for compilation/linking
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# (should also use "-zdefs" for DYNFLAGS, but ACTS are not yet self-contained)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# for messaging catalog
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# Rules for making shared objects out of .c files. Works well if
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# we have a one-to-one mapping. Applies in all cases so far.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce ${CC} ${CPPFLAGS} ${CFLAGS} $(GSHARED) -o $@ $< $(DYNFLAGS) $(LDLIBS)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# install macros and rule