34 ipgpc \
35 dscpmk \
36 tokenmt \
37 tswtclmt
38
39 TYPES= $(MODS:%=%.types)
40
41 ROOTLIBIPQOSCONF= $(ROOTLIB)/ipqosconf
42 ROOTLIBIPQOSCONFTYPES = $(TYPES:%=$(ROOTLIBIPQOSCONF)/%)
43
44 include ../../../Makefile.cmd
45 include ../../Makefile.cmd-inet
46
47 $(ROOTUSRSBIN)/$(PROG) := FILEMODE= 0755
48 $(ROOTLIBIPQOSCONFTYPES) := FILEMODE= 0444
49
50 #pull in prototype for strtok_r
51 CPPFLAGS += -D__EXTENSIONS__
52 CERRWARN += -_gcc=-Wno-switch
53 CERRWARN += -_gcc=-Wno-parentheses
54 CERRWARN += -_gcc=-Wno-uninitialized
55
56 # not linted
57 SMATCH=off
58
59 LDLIBS += -lsocket -lnsl -lnvpair -lipp
60
61 .KEEP_STATE:
62
63 .INIT: $(HDRS)
64
65 all: $(PROG)
66
67 $(PROG): $(OBJS) $(HDRS)
68 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
69 $(POST_PROCESS)
70
71 install: all $(ROOTUSRSBINPROG) $(ROOTLIBIPQOSCONF) .WAIT \
72 $(ROOTLIBIPQOSCONFTYPES)
73
74 $(ROOTLIBIPQOSCONF):
|
34 ipgpc \
35 dscpmk \
36 tokenmt \
37 tswtclmt
38
39 TYPES= $(MODS:%=%.types)
40
41 ROOTLIBIPQOSCONF= $(ROOTLIB)/ipqosconf
42 ROOTLIBIPQOSCONFTYPES = $(TYPES:%=$(ROOTLIBIPQOSCONF)/%)
43
44 include ../../../Makefile.cmd
45 include ../../Makefile.cmd-inet
46
47 $(ROOTUSRSBIN)/$(PROG) := FILEMODE= 0755
48 $(ROOTLIBIPQOSCONFTYPES) := FILEMODE= 0444
49
50 #pull in prototype for strtok_r
51 CPPFLAGS += -D__EXTENSIONS__
52 CERRWARN += -_gcc=-Wno-switch
53 CERRWARN += -_gcc=-Wno-parentheses
54 CERRWARN += $(CNOWARN_UNINIT)
55
56 # not linted
57 SMATCH=off
58
59 LDLIBS += -lsocket -lnsl -lnvpair -lipp
60
61 .KEEP_STATE:
62
63 .INIT: $(HDRS)
64
65 all: $(PROG)
66
67 $(PROG): $(OBJS) $(HDRS)
68 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
69 $(POST_PROCESS)
70
71 install: all $(ROOTUSRSBINPROG) $(ROOTLIBIPQOSCONF) .WAIT \
72 $(ROOTLIBIPQOSCONFTYPES)
73
74 $(ROOTLIBIPQOSCONF):
|