44 $(NATIVE_BUILD)VERS =
45 $(NATIVE_BUILD)LIBS = $(DYNLIB)
46
47 LDLIBS_i386 += -lsmbios
48 LDLIBS += -luutil -lc -lgen -lnvpair
49 LDLIBS += $(LDLIBS_$(MACH))
50
51 SRCDIR = ../common
52 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
53
54 COMDIR = ../../../common/svc
55
56 CFLAGS += $(CCVERBOSE) -Wp,$(CSTD_GNU99)
57 CPPFLAGS += -I../inc -I../../common/inc -I$(COMDIR) -I$(ROOTHDRDIR)
58 $(NOT_RELEASE_BUILD) CPPFLAGS += -DFASTREBOOT_DEBUG
59
60 CERRWARN += -_gcc=-Wno-switch
61 CERRWARN += -_gcc=-Wno-char-subscripts
62 CERRWARN += -_gcc=-Wno-unused-label
63 CERRWARN += -_gcc=-Wno-parentheses
64 CERRWARN += -_gcc=-Wno-uninitialized
65
66 # not linted
67 SMATCH=off
68
69 #
70 # For native builds, we compile and link against the native version
71 # of libuutil.
72 #
73 LIBUUTIL = $(SRC)/lib/libuutil
74 MY_NATIVE_CPPFLAGS =\
75 -DNATIVE_BUILD $(DTEXTDOM) \
76 -I../inc -I$(COMDIR) -I$(LIBUUTIL)/common -I$(ROOTHDRDIR)
77 MY_NATIVE_LDLIBS = -L$(LIBUUTIL)/native -R$(LIBUUTIL)/native -luutil -lc -lgen \
78 -lnsl -lnvpair
79 MY_NATIVE_LDLIBS_i386 = -lsmbios
80 MY_NATIVE_LDLIBS += $(MY_NATIVE_LDLIBS_$(MACH))
81
82 .KEEP_STATE:
83
84 all:
|
44 $(NATIVE_BUILD)VERS =
45 $(NATIVE_BUILD)LIBS = $(DYNLIB)
46
47 LDLIBS_i386 += -lsmbios
48 LDLIBS += -luutil -lc -lgen -lnvpair
49 LDLIBS += $(LDLIBS_$(MACH))
50
51 SRCDIR = ../common
52 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
53
54 COMDIR = ../../../common/svc
55
56 CFLAGS += $(CCVERBOSE) -Wp,$(CSTD_GNU99)
57 CPPFLAGS += -I../inc -I../../common/inc -I$(COMDIR) -I$(ROOTHDRDIR)
58 $(NOT_RELEASE_BUILD) CPPFLAGS += -DFASTREBOOT_DEBUG
59
60 CERRWARN += -_gcc=-Wno-switch
61 CERRWARN += -_gcc=-Wno-char-subscripts
62 CERRWARN += -_gcc=-Wno-unused-label
63 CERRWARN += -_gcc=-Wno-parentheses
64 CERRWARN += $(CNOWARN_UNINIT)
65
66 # not linted
67 SMATCH=off
68
69 #
70 # For native builds, we compile and link against the native version
71 # of libuutil.
72 #
73 LIBUUTIL = $(SRC)/lib/libuutil
74 MY_NATIVE_CPPFLAGS =\
75 -DNATIVE_BUILD $(DTEXTDOM) \
76 -I../inc -I$(COMDIR) -I$(LIBUUTIL)/common -I$(ROOTHDRDIR)
77 MY_NATIVE_LDLIBS = -L$(LIBUUTIL)/native -R$(LIBUUTIL)/native -luutil -lc -lgen \
78 -lnsl -lnvpair
79 MY_NATIVE_LDLIBS_i386 = -lsmbios
80 MY_NATIVE_LDLIBS += $(MY_NATIVE_LDLIBS_$(MACH))
81
82 .KEEP_STATE:
83
84 all:
|