27 #
28
29 PROG= hotplugd
30 OBJS= hotplugd.o \
31 hotplugd_impl.o \
32 hotplugd_door.o \
33 hotplugd_info.o \
34 hotplugd_rcm.o
35 SRCS= $(OBJS:.o=.c)
36 SVCMETHOD= svc-hotplug
37 MANIFEST= hotplug.xml
38
39 include ../Makefile.cmd
40
41 ROOTCMDDIR= $(ROOTLIB)
42 ROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
43 $(ROOTMANIFEST) := FILEMODE= 444
44
45 CPPFLAGS += -I$(SRC)/lib/libhotplug/common
46 CERRWARN += -_gcc=-Wno-parentheses
47 CERRWARN += -_gcc=-Wno-uninitialized
48 LDLIBS += -ldevinfo -lhotplug -lnvpair -lsecdb -lrcm -lbsm
49
50 .KEEP_STATE:
51
52 all: $(PROG)
53
54 $(PROG): $(OBJS)
55 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
56 $(POST_PROCESS)
57
58 .PARALLEL: $(OBJS)
59
60 install: all $(ROOTCMD) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
61
62 clean:
63 $(RM) $(PROG) $(OBJS) $(LLOBJS)
64
65 check: $(CHKMANIFEST)
66 $(CSTYLE) -pP $(SRCS:%=%)
67
|
27 #
28
29 PROG= hotplugd
30 OBJS= hotplugd.o \
31 hotplugd_impl.o \
32 hotplugd_door.o \
33 hotplugd_info.o \
34 hotplugd_rcm.o
35 SRCS= $(OBJS:.o=.c)
36 SVCMETHOD= svc-hotplug
37 MANIFEST= hotplug.xml
38
39 include ../Makefile.cmd
40
41 ROOTCMDDIR= $(ROOTLIB)
42 ROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
43 $(ROOTMANIFEST) := FILEMODE= 444
44
45 CPPFLAGS += -I$(SRC)/lib/libhotplug/common
46 CERRWARN += -_gcc=-Wno-parentheses
47 CERRWARN += $(CNOWARN_UNINIT)
48 LDLIBS += -ldevinfo -lhotplug -lnvpair -lsecdb -lrcm -lbsm
49
50 .KEEP_STATE:
51
52 all: $(PROG)
53
54 $(PROG): $(OBJS)
55 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
56 $(POST_PROCESS)
57
58 .PARALLEL: $(OBJS)
59
60 install: all $(ROOTCMD) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
61
62 clean:
63 $(RM) $(PROG) $(OBJS) $(LLOBJS)
64
65 check: $(CHKMANIFEST)
66 $(CSTYLE) -pP $(SRCS:%=%)
67
|