4632N/A#
4632N/A# CDDL HEADER START
4632N/A#
4632N/A# The contents of this file are subject to the terms of the
4632N/A# Common Development and Distribution License (the "License").
4632N/A# You may not use this file except in compliance with the License.
4632N/A#
4632N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4632N/A# or http://www.opensolaris.org/os/licensing.
4632N/A# See the License for the specific language governing permissions
4632N/A# and limitations under the License.
4632N/A#
4632N/A# When distributing Covered Code, include this CDDL HEADER in each
4632N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4632N/A# If applicable, add the following below this CDDL HEADER, with the
4632N/A# fields enclosed by brackets "[]" replaced with your own identifying
4632N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4632N/A#
4632N/A# CDDL HEADER END
4632N/A#
4632N/A#
4632N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
4632N/A# Use is subject to license terms.
4632N/A#
4632N/A
4632N/APROG = volrmmount
4632N/ALOCAL_OBJS = volrmmount.o
4632N/ARMVOLMGR_OBJS = rmm_common.o vold.o
4632N/AOBJS = $(LOCAL_OBJS) $(RMVOLMGR_OBJS)
4632N/ALOCAL_SRCS = $(LOCAL_OBJS:%.o=%.c)
4632N/ARMVOLGMR_SRCS = $(RMVOLMGR_OBJS:%.o=$(SRC)/cmd/rmvolmgr/%.c)
4632N/ASRCS = $(LOCAL_SRCS) $(RMVOLMGR_SRCS)
4632N/A
4632N/Ainclude $(SRC)/cmd/Makefile.cmd
4632N/Ainclude $(SRC)/cmd/hal/Makefile.hal
4632N/A
4632N/ALDLIBS += -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract
4632N/A
4632N/ACPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
4632N/ACPPFLAGS += -I$(ROOT)/usr/include/hal
4632N/ACPPFLAGS += -I$(SRC)/cmd/rmvolmgr
4632N/AC99MODE = $(C99_ENABLE)
4632N/A
4632N/ACERRWARN += -_gcc=-Wno-switch
4632N/ACERRWARN += -_gcc=-Wno-unused-variable
4632N/ACERRWARN += -_gcc=-Wno-parentheses
4632N/ACERRWARN += -_gcc=-Wno-uninitialized
4632N/ACERRWARN += -_gcc=-Wno-unused-function
4632N/A
4632N/A.KEEP_STATE:
4632N/A
4632N/Aall: $(PROG)
4632N/A
4632N/A$(PROG): $(OBJS)
4632N/A $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
4632N/A $(POST_PROCESS)
4632N/A
4632N/Ainstall: all $(ROOTPROG)
4632N/A
4632N/Armm_common.o: $(SRC)/cmd/rmvolmgr/rmm_common.c $(SRC)/cmd/rmvolmgr/rmm_common.h
4632N/A $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/rmm_common.c
4632N/A $(POST_PROCESS_O)
4632N/A
4632N/Avold.o: $(SRC)/cmd/rmvolmgr/vold.c $(SRC)/cmd/rmvolmgr/vold.h
4632N/A $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/vold.c
4632N/A $(POST_PROCESS_O)
4632N/A
4632N/Aclean:
4632N/A $(RM) $(OBJS)
4632N/A
4632N/Ainclude ../Makefile.targ
4632N/A