22 #
23
24 # Needed for ROOTFS_LIBDIR definition
25 include ../../../../lib/Makefile.lib
26
27 PROG= ipmgmtd
28 OBJS= ipmgmt_main.o ipmgmt_door.o ipmgmt_persist.o ipmgmt_util.o
29 SRCS= $(OBJS:.o=.c)
30 SVCMETHOD= net-ipmgmt
31 MANIFEST= network-ipmgmt.xml
32 CFGFILES= ipadm.conf
33
34 # Needed for ROOTETC definition
35 include ../../../Makefile.cmd
36
37 ROOTCFGDIR= $(ROOTETC)/ipadm
38 ROOTCFGFILES= $(CFGFILES:%=$(ROOTCFGDIR)/%)
39 ROOTMANIFESTDIR= $(ROOTSVCNETWORK)
40
41 CERRWARN += -_gcc=-Wno-switch
42 CERRWARN += -_gcc=-Wno-uninitialized
43
44 $(ROOTCFGFILES) := OWNER= ipadm
45 $(ROOTCFGFILES) := GROUP= sys
46 $(ROOTCFGFILES) := FILEMODE= 644
47
48 ROOTCMDDIR= $(ROOTFS_LIBDIR)/inet
49
50 LDLIBS += -lipadm -lnvpair -lsecdb -lnsl -lumem -lscf
51
52 #
53 # Instrument ipmgmtd with CTF data to ease debugging.
54 #
55 CTFCONVERT_HOOK = && $(CTFCONVERT_O)
56 CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
57 $(OBJS) := CFLAGS += $(CTF_FLAGS)
58
59 .KEEP_STATE:
60
61 .PARALLEL:
62
|
22 #
23
24 # Needed for ROOTFS_LIBDIR definition
25 include ../../../../lib/Makefile.lib
26
27 PROG= ipmgmtd
28 OBJS= ipmgmt_main.o ipmgmt_door.o ipmgmt_persist.o ipmgmt_util.o
29 SRCS= $(OBJS:.o=.c)
30 SVCMETHOD= net-ipmgmt
31 MANIFEST= network-ipmgmt.xml
32 CFGFILES= ipadm.conf
33
34 # Needed for ROOTETC definition
35 include ../../../Makefile.cmd
36
37 ROOTCFGDIR= $(ROOTETC)/ipadm
38 ROOTCFGFILES= $(CFGFILES:%=$(ROOTCFGDIR)/%)
39 ROOTMANIFESTDIR= $(ROOTSVCNETWORK)
40
41 CERRWARN += -_gcc=-Wno-switch
42 CERRWARN += $(CNOWARN_UNINIT)
43
44 $(ROOTCFGFILES) := OWNER= ipadm
45 $(ROOTCFGFILES) := GROUP= sys
46 $(ROOTCFGFILES) := FILEMODE= 644
47
48 ROOTCMDDIR= $(ROOTFS_LIBDIR)/inet
49
50 LDLIBS += -lipadm -lnvpair -lsecdb -lnsl -lumem -lscf
51
52 #
53 # Instrument ipmgmtd with CTF data to ease debugging.
54 #
55 CTFCONVERT_HOOK = && $(CTFCONVERT_O)
56 CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
57 $(OBJS) := CFLAGS += $(CTF_FLAGS)
58
59 .KEEP_STATE:
60
61 .PARALLEL:
62
|