Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
3a9c3ec5357b36fc34766cb8166168311af3562frbb#
3a9c3ec5357b36fc34766cb8166168311af3562frbb# CDDL HEADER START
393bfaab1beb2410959a4a5e91f58446f01bac09rbb#
c10fe96ac7d024918e26af6c8ba5470273b75bb2jwoolley# The contents of this file are subject to the terms of the
01e8aca9299a0b872414c24c8b7724d6f88ae665ianh# Common Development and Distribution License (the "License").
01e8aca9299a0b872414c24c8b7724d6f88ae665ianh# You may not use this file except in compliance with the License.
01e8aca9299a0b872414c24c8b7724d6f88ae665ianh#
f783dff0c8b69344a6b67e97f16b91f8b0790799dougm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f783dff0c8b69344a6b67e97f16b91f8b0790799dougm# or http://www.opensolaris.org/os/licensing.
f783dff0c8b69344a6b67e97f16b91f8b0790799dougm# See the License for the specific language governing permissions
f783dff0c8b69344a6b67e97f16b91f8b0790799dougm# and limitations under the License.
f783dff0c8b69344a6b67e97f16b91f8b0790799dougm#
6362515725d2b6d66ac3b26531f8c53ac75f8c20wrowe# When distributing Covered Code, include this CDDL HEADER in each
6362515725d2b6d66ac3b26531f8c53ac75f8c20wrowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f783dff0c8b69344a6b67e97f16b91f8b0790799dougm# If applicable, add the following below this CDDL HEADER, with the
6362515725d2b6d66ac3b26531f8c53ac75f8c20wrowe# fields enclosed by brackets "[]" replaced with your own identifying
6362515725d2b6d66ac3b26531f8c53ac75f8c20wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron#
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron# CDDL HEADER END
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron#
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron#
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron# Use is subject to license terms.
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron#
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron
98ae9b96926a3dd99b195d7628c7e527e720f6acaaronPROG = volrmmount
98ae9b96926a3dd99b195d7628c7e527e720f6acaaronLOCAL_OBJS = volrmmount.o
9379749d811388a7d0e3410940ddd6743a33d330jimRMVOLMGR_OBJS = rmm_common.o vold.o
9379749d811388a7d0e3410940ddd6743a33d330jimOBJS = $(LOCAL_OBJS) $(RMVOLMGR_OBJS)
9379749d811388a7d0e3410940ddd6743a33d330jimLOCAL_SRCS = $(LOCAL_OBJS:%.o=%.c)
9379749d811388a7d0e3410940ddd6743a33d330jimRMVOLGMR_SRCS = $(RMVOLMGR_OBJS:%.o=$(SRC)/cmd/rmvolmgr/%.c)
f37499bf7da81cd6b697d4667233137957426428jerenkrantzSRCS = $(LOCAL_SRCS) $(RMVOLMGR_SRCS)
f37499bf7da81cd6b697d4667233137957426428jerenkrantz
421dc1d123c9adda60e024f93fb614bfada8b9e5wroweinclude $(SRC)/cmd/Makefile.cmd
b8c2b4dfc363e33a8a1c2464802c3fb05cab86bbwroweinclude $(SRC)/cmd/hal/Makefile.hal
421dc1d123c9adda60e024f93fb614bfada8b9e5wrowe
421dc1d123c9adda60e024f93fb614bfada8b9e5wroweLDLIBS += -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract
83d91d60d00dc345bfbcbc48ff206db4a6b23b2eaaron
83d91d60d00dc345bfbcbc48ff206db4a6b23b2eaaronCPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
83d91d60d00dc345bfbcbc48ff206db4a6b23b2eaaronCPPFLAGS += -I$(ROOT)/usr/include/hal
83d91d60d00dc345bfbcbc48ff206db4a6b23b2eaaronCPPFLAGS += -I$(SRC)/cmd/rmvolmgr
83d91d60d00dc345bfbcbc48ff206db4a6b23b2eaaronC99MODE = $(C99_ENABLE)
83d91d60d00dc345bfbcbc48ff206db4a6b23b2eaaron
c10fe96ac7d024918e26af6c8ba5470273b75bb2jwoolleyCERRWARN += -_gcc=-Wno-switch
c10fe96ac7d024918e26af6c8ba5470273b75bb2jwoolleyCERRWARN += -_gcc=-Wno-unused-variable
c10fe96ac7d024918e26af6c8ba5470273b75bb2jwoolleyCERRWARN += -_gcc=-Wno-parentheses
83ca150ef902e9692972aa923e893bc6406d20f1ianhCERRWARN += -_gcc=-Wno-uninitialized
f37499bf7da81cd6b697d4667233137957426428jerenkrantzCERRWARN += -_gcc=-Wno-unused-function
cbfbf9598d686b11afc7a9f9d91a8facfdfa7216trawick
7a8a0744e378f2343c3ee6787fac0f8f959d2141brianp.KEEP_STATE:
7a8a0744e378f2343c3ee6787fac0f8f959d2141brianp
7a8a0744e378f2343c3ee6787fac0f8f959d2141brianpall: $(PROG)
7a8a0744e378f2343c3ee6787fac0f8f959d2141brianp
7a8a0744e378f2343c3ee6787fac0f8f959d2141brianp$(PROG): $(OBJS)
f5ce2873c97c12a34d6b03d2771b9250b7bbfe55wrowe $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
f5ce2873c97c12a34d6b03d2771b9250b7bbfe55wrowe $(POST_PROCESS)
f5ce2873c97c12a34d6b03d2771b9250b7bbfe55wrowe
f5ce2873c97c12a34d6b03d2771b9250b7bbfe55wroweinstall: all $(ROOTPROG)
f5ce2873c97c12a34d6b03d2771b9250b7bbfe55wrowe
f5ce2873c97c12a34d6b03d2771b9250b7bbfe55wrowermm_common.o: $(SRC)/cmd/rmvolmgr/rmm_common.c $(SRC)/cmd/rmvolmgr/rmm_common.h
f5ce2873c97c12a34d6b03d2771b9250b7bbfe55wrowe $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/rmm_common.c
f5ce2873c97c12a34d6b03d2771b9250b7bbfe55wrowe $(POST_PROCESS_O)
73cba74a34576f7ece4bd98fd58c8a932a178e6daaron
73cba74a34576f7ece4bd98fd58c8a932a178e6daaronvold.o: $(SRC)/cmd/rmvolmgr/vold.c $(SRC)/cmd/rmvolmgr/vold.h
73cba74a34576f7ece4bd98fd58c8a932a178e6daaron $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/vold.c
73cba74a34576f7ece4bd98fd58c8a932a178e6daaron $(POST_PROCESS_O)
73cba74a34576f7ece4bd98fd58c8a932a178e6daaron
73cba74a34576f7ece4bd98fd58c8a932a178e6daaronclean:
73cba74a34576f7ece4bd98fd58c8a932a178e6daaron $(RM) $(OBJS)
29c30db45f6a469017e16b606611e460cc1a1f2caaron
29c30db45f6a469017e16b606611e460cc1a1f2caaroninclude ../Makefile.targ
29c30db45f6a469017e16b606611e460cc1a1f2caaron