24 #
25 # Copyright (c) 2018, Joyent, Inc.
26
27 MODULE = fabric-xlate
28 CLASS = common
29 SRCS = fabric-xlate.c fx_epkt.c fx_fabric.c fx_fire.c fx_subr.c
30
31 include ../../Makefile.plugin
32
33 CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(KMFDIR)/include -I.
34 CPPFLAGS += -I$(SRC)/uts/sun4v/io/px
35 INCDIRS = $(SRC)/uts/common
36 CFLAGS += -I$(INCDIRS)
37 LINTFLAGS += -I$(INCDIRS)
38
39 LDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm
40 LDLIBS += -luutil -lxml2 -L$(ROOTLIB)/fm -ltopo
41
42 CERRWARN += -_gcc=-Wno-parentheses
43 CERRWARN += -_gcc=-Wno-switch
44 CERRWARN += -_gcc=-Wno-uninitialized
45
46 # not linted
47 SMATCH=off
|
24 #
25 # Copyright (c) 2018, Joyent, Inc.
26
27 MODULE = fabric-xlate
28 CLASS = common
29 SRCS = fabric-xlate.c fx_epkt.c fx_fabric.c fx_fire.c fx_subr.c
30
31 include ../../Makefile.plugin
32
33 CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(KMFDIR)/include -I.
34 CPPFLAGS += -I$(SRC)/uts/sun4v/io/px
35 INCDIRS = $(SRC)/uts/common
36 CFLAGS += -I$(INCDIRS)
37 LINTFLAGS += -I$(INCDIRS)
38
39 LDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm
40 LDLIBS += -luutil -lxml2 -L$(ROOTLIB)/fm -ltopo
41
42 CERRWARN += -_gcc=-Wno-parentheses
43 CERRWARN += -_gcc=-Wno-switch
44 CERRWARN += $(CNOWARN_UNINIT)
45
46 # not linted
47 SMATCH=off
|