27 PROG = rmvolmgr
28 OBJS = rmm_common.o rmvolmgr.o vold.o
29 SRCS = $(OBJS:%.o=%.c)
30
31 MANIFEST = rmvolmgr.xml
32 SVCMETHOD = svc-rmvolmgr
33
34 include ../Makefile.cmd
35 include ../hal/Makefile.hal
36
37 POFILE=rmvolmgr_all.po
38 POFILES=$(OBJS:%.o=%.po)
39
40 LDLIBS += -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract -lscf
41
42 CPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
43 CPPFLAGS += -I$(ROOT)/usr/include/hal
44 CSTD = $(CSTD_GNU99)
45
46 CERRWARN += -_gcc=-Wno-switch
47 CERRWARN += -_gcc=-Wno-uninitialized
48 CERRWARN += -_gcc=-Wno-unused-variable
49 CERRWARN += -_gcc=-Wno-parentheses
50 CERRWARN += -_gcc=-Wno-unused-function
51
52 # not linted
53 SMATCH=off
54
55 ROOTCMDDIR = $(ROOTLIB)
56 ROOTMANIFESTDIR = $(ROOTSVCSYSTEMFILESYSTEM)
57 $(ROOTMANIFEST) := FILEMODE = 444
58 $(ROOTLIBSVCMETHOD)/svc-rmvolmgr:= FILEMODE = 555
59
60 .KEEP_STATE:
61
62 all: $(PROG)
63
64 $(PROG): $(OBJS)
65 $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
66 $(POST_PROCESS)
67
|
27 PROG = rmvolmgr
28 OBJS = rmm_common.o rmvolmgr.o vold.o
29 SRCS = $(OBJS:%.o=%.c)
30
31 MANIFEST = rmvolmgr.xml
32 SVCMETHOD = svc-rmvolmgr
33
34 include ../Makefile.cmd
35 include ../hal/Makefile.hal
36
37 POFILE=rmvolmgr_all.po
38 POFILES=$(OBJS:%.o=%.po)
39
40 LDLIBS += -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract -lscf
41
42 CPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
43 CPPFLAGS += -I$(ROOT)/usr/include/hal
44 CSTD = $(CSTD_GNU99)
45
46 CERRWARN += -_gcc=-Wno-switch
47 CERRWARN += $(CNOWARN_UNINIT)
48 CERRWARN += -_gcc=-Wno-unused-variable
49 CERRWARN += -_gcc=-Wno-parentheses
50 CERRWARN += -_gcc=-Wno-unused-function
51
52 # not linted
53 SMATCH=off
54
55 ROOTCMDDIR = $(ROOTLIB)
56 ROOTMANIFESTDIR = $(ROOTSVCSYSTEMFILESYSTEM)
57 $(ROOTMANIFEST) := FILEMODE = 444
58 $(ROOTLIBSVCMETHOD)/svc-rmvolmgr:= FILEMODE = 555
59
60 .KEEP_STATE:
61
62 all: $(PROG)
63
64 $(PROG): $(OBJS)
65 $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
66 $(POST_PROCESS)
67
|