33 include ../../../Makefile.cmd
34
35 #
36 # We cannot use the usual manifest rules here since we deliver
37 # manifests to two different locations, /lib/svc/manifest/network/forwarding.xml
38 # and /lib/svc/manifest/network/routing/legacy-routing.xml
39 #
40
41 ROOTSVCMANIFESTDIR= $(ROOTSVCNETWORK) $(ROOTSVCNETWORKROUTING)
42 ROOTSVCMANIFESTS= $(ROOTSVCNETWORKROUTING)/legacy-routing.xml \
43 $(ROOTSVCNETWORK)/forwarding.xml
44
45 include ../../Makefile.cmd-inet
46
47 $(ROOTSVCMANIFESTS) := FILEMODE= 444
48
49 ROOTUSRSBINLINKS= $(PROG:%=$(ROOTUSRSBIN)/%)
50
51 CPPFLAGS += -I../../../../common/svc -I$(CMDINETCOMMONDIR)
52 CERRWARN += -_gcc=-Wno-parentheses
53 CERRWARN += -_gcc=-Wno-uninitialized
54 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
55
56 LDLIBS += -lscf -luutil -lsocket
57
58 ROOTSBINPROG= $(ROOTFS_PROG:%=$(ROOTSBIN)/%)
59
60 .KEEP_STATE:
61
62 all: $(PROG)
63
64 install: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS) $(ROOTSVCMANIFESTS) \
65 $(ROOTSVCMETHOD)
66
67 $(ROOTUSRSBINLINKS):
68 -$(RM) $@; $(SYMLINK) ../../sbin/$(@F) $@
69
70 check: $(CHKMANIFEST)
71
72 clean:
73
|
33 include ../../../Makefile.cmd
34
35 #
36 # We cannot use the usual manifest rules here since we deliver
37 # manifests to two different locations, /lib/svc/manifest/network/forwarding.xml
38 # and /lib/svc/manifest/network/routing/legacy-routing.xml
39 #
40
41 ROOTSVCMANIFESTDIR= $(ROOTSVCNETWORK) $(ROOTSVCNETWORKROUTING)
42 ROOTSVCMANIFESTS= $(ROOTSVCNETWORKROUTING)/legacy-routing.xml \
43 $(ROOTSVCNETWORK)/forwarding.xml
44
45 include ../../Makefile.cmd-inet
46
47 $(ROOTSVCMANIFESTS) := FILEMODE= 444
48
49 ROOTUSRSBINLINKS= $(PROG:%=$(ROOTUSRSBIN)/%)
50
51 CPPFLAGS += -I../../../../common/svc -I$(CMDINETCOMMONDIR)
52 CERRWARN += -_gcc=-Wno-parentheses
53 CERRWARN += $(CNOWARN_UNINIT)
54 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
55
56 LDLIBS += -lscf -luutil -lsocket
57
58 ROOTSBINPROG= $(ROOTFS_PROG:%=$(ROOTSBIN)/%)
59
60 .KEEP_STATE:
61
62 all: $(PROG)
63
64 install: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS) $(ROOTSVCMANIFESTS) \
65 $(ROOTSVCMETHOD)
66
67 $(ROOTUSRSBINLINKS):
68 -$(RM) $@; $(SYMLINK) ../../sbin/$(@F) $@
69
70 check: $(CHKMANIFEST)
71
72 clean:
73
|