Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
5d92fff82718cd018f0b61a10b9ad4d2b8064c95rpluem#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
8f066564bfc0fd6ddc6ca4b2f2410615554597d1jim#
8f066564bfc0fd6ddc6ca4b2f2410615554597d1jim# The contents of this file are subject to the terms of the
3e2582713ed6883683272fbc628a27419d0ed543minfrin# Common Development and Distribution License (the "License").
3e2582713ed6883683272fbc628a27419d0ed543minfrin# You may not use this file except in compliance with the License.
3e2582713ed6883683272fbc628a27419d0ed543minfrin#
3e2582713ed6883683272fbc628a27419d0ed543minfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2c132b1e3610da2fb9e6b3594a313efa3ff29e22minfrin# or http://www.opensolaris.org/os/licensing.
2c132b1e3610da2fb9e6b3594a313efa3ff29e22minfrin# See the License for the specific language governing permissions
2c132b1e3610da2fb9e6b3594a313efa3ff29e22minfrin# and limitations under the License.
a46801e6532423aa7bd184471eb49158d7c9ae62sf#
a46801e6532423aa7bd184471eb49158d7c9ae62sf# When distributing Covered Code, include this CDDL HEADER in each
a46801e6532423aa7bd184471eb49158d7c9ae62sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
808a26d70f28498b9d7252a70d9fb23def781901minfrin# If applicable, add the following below this CDDL HEADER, with the
808a26d70f28498b9d7252a70d9fb23def781901minfrin# fields enclosed by brackets "[]" replaced with your own identifying
ef12246b88300687bf1faaf56d115dd8d8d82761jorton# information: Portions Copyright [yyyy] [name of copyright owner]
6f9bf764bc79571d1da19dfbbd78527fca278a8eminfrin#
6f9bf764bc79571d1da19dfbbd78527fca278a8eminfrin# CDDL HEADER END
6f9bf764bc79571d1da19dfbbd78527fca278a8eminfrin#
6f9bf764bc79571d1da19dfbbd78527fca278a8eminfrin#
7d59a9f282af9dce031b61062a0d941641101237rpluem# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
7d59a9f282af9dce031b61062a0d941641101237rpluem# Use is subject to license terms.
7d59a9f282af9dce031b61062a0d941641101237rpluem#
e63e8b4b886d2144fed7946d0fbe8d27386be2dcjorton
e63e8b4b886d2144fed7946d0fbe8d27386be2dcjortonPROG = volrmmount
e63e8b4b886d2144fed7946d0fbe8d27386be2dcjortonLOCAL_OBJS = volrmmount.o
223c64b836fbc2bc8611da9604379dfe13f56abasfRMVOLMGR_OBJS = rmm_common.o vold.o
223c64b836fbc2bc8611da9604379dfe13f56abasfOBJS = $(LOCAL_OBJS) $(RMVOLMGR_OBJS)
223c64b836fbc2bc8611da9604379dfe13f56abasfLOCAL_SRCS = $(LOCAL_OBJS:%.o=%.c)
bf507cc1e6ad55303c3d436c6ca153f46c788be6sfRMVOLGMR_SRCS = $(RMVOLMGR_OBJS:%.o=$(SRC)/cmd/rmvolmgr/%.c)
bf507cc1e6ad55303c3d436c6ca153f46c788be6sfSRCS = $(LOCAL_SRCS) $(RMVOLMGR_SRCS)
bf507cc1e6ad55303c3d436c6ca153f46c788be6sf
bf507cc1e6ad55303c3d436c6ca153f46c788be6sfinclude $(SRC)/cmd/Makefile.cmd
93cf7fc650197b941ae31a7c7e51e901b129e954igalicinclude $(SRC)/cmd/hal/Makefile.hal
93cf7fc650197b941ae31a7c7e51e901b129e954igalic
93cf7fc650197b941ae31a7c7e51e901b129e954igalicLDLIBS += -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract
a1b1c78faf7969affb320f5c8eb270ffa21314c4rjung
a1b1c78faf7969affb320f5c8eb270ffa21314c4rjungCPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
a1b1c78faf7969affb320f5c8eb270ffa21314c4rjungCPPFLAGS += -I$(ROOT)/usr/include/hal
a2558ec3af4391b7da7fe61e1e53383bbd0174b9jortonCPPFLAGS += -I$(SRC)/cmd/rmvolmgr
a2558ec3af4391b7da7fe61e1e53383bbd0174b9jortonC99MODE = $(C99_ENABLE)
a2558ec3af4391b7da7fe61e1e53383bbd0174b9jorton
a2558ec3af4391b7da7fe61e1e53383bbd0174b9jortonCERRWARN += -_gcc=-Wno-switch
8d6b3720340d0bd7f8d25e2a8563527e97a48df8jortonCERRWARN += -_gcc=-Wno-unused-variable
8d6b3720340d0bd7f8d25e2a8563527e97a48df8jortonCERRWARN += -_gcc=-Wno-parentheses
8d6b3720340d0bd7f8d25e2a8563527e97a48df8jortonCERRWARN += -_gcc=-Wno-uninitialized
8d6b3720340d0bd7f8d25e2a8563527e97a48df8jortonCERRWARN += -_gcc=-Wno-unused-function
48e4b65042d94992c50f1db6c0b0cdbd99ca77e8sf
48e4b65042d94992c50f1db6c0b0cdbd99ca77e8sf.KEEP_STATE:
48e4b65042d94992c50f1db6c0b0cdbd99ca77e8sf
48e4b65042d94992c50f1db6c0b0cdbd99ca77e8sfall: $(PROG)
48e4b65042d94992c50f1db6c0b0cdbd99ca77e8sf
48e4b65042d94992c50f1db6c0b0cdbd99ca77e8sf$(PROG): $(OBJS)
47ae8ca3c79d279b2e5424d6b8cf5e4e61ea968fjim $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
47ae8ca3c79d279b2e5424d6b8cf5e4e61ea968fjim $(POST_PROCESS)
47ae8ca3c79d279b2e5424d6b8cf5e4e61ea968fjim
47ae8ca3c79d279b2e5424d6b8cf5e4e61ea968fjiminstall: all $(ROOTPROG)
47ae8ca3c79d279b2e5424d6b8cf5e4e61ea968fjim
397df70abe0bdd78a84fb6c38c02641bcfeadceasfrmm_common.o: $(SRC)/cmd/rmvolmgr/rmm_common.c $(SRC)/cmd/rmvolmgr/rmm_common.h
397df70abe0bdd78a84fb6c38c02641bcfeadceasf $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/rmm_common.c
397df70abe0bdd78a84fb6c38c02641bcfeadceasf $(POST_PROCESS_O)
9b5fe1d4ec48643fb819bbce9dc80f93f444fb48sf
9b5fe1d4ec48643fb819bbce9dc80f93f444fb48sfvold.o: $(SRC)/cmd/rmvolmgr/vold.c $(SRC)/cmd/rmvolmgr/vold.h
9b5fe1d4ec48643fb819bbce9dc80f93f444fb48sf $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/vold.c
dd9f60fdfeb73f829fe0b260b7975b4b22be0838sf $(POST_PROCESS_O)
dd9f60fdfeb73f829fe0b260b7975b4b22be0838sf
dd9f60fdfeb73f829fe0b260b7975b4b22be0838sfclean:
135e1d6a301398168e3b2e5125508828591e1673niq $(RM) $(OBJS)
135e1d6a301398168e3b2e5125508828591e1673niq
135e1d6a301398168e3b2e5125508828591e1673niqinclude ../Makefile.targ
135e1d6a301398168e3b2e5125508828591e1673niq