53 COMDIR = ../../../common/svc
54
55 CFLAGS += $(CCVERBOSE) -Wp,-xc99=%all
56 CPPFLAGS += -I../inc -I../../common/inc -I$(COMDIR) -I$(ROOTHDRDIR)
57 $(NOT_RELEASE_BUILD) CPPFLAGS += -DFASTREBOOT_DEBUG
58
59 CERRWARN += -_gcc=-Wno-switch
60 CERRWARN += -_gcc=-Wno-char-subscripts
61 CERRWARN += -_gcc=-Wno-unused-label
62 CERRWARN += -_gcc=-Wno-parentheses
63 CERRWARN += -_gcc=-Wno-uninitialized
64
65 #
66 # For native builds, we compile and link against the native version
67 # of libuutil.
68 #
69 LIBUUTIL = $(SRC)/lib/libuutil
70 MY_NATIVE_CPPFLAGS =\
71 -DNATIVE_BUILD $(DTEXTDOM) \
72 -I../inc -I$(COMDIR) -I$(LIBUUTIL)/common -I$(ROOTHDRDIR)
73 MY_NATIVE_LDLIBS = -L$(LIBUUTIL)/native -R$(LIBUUTIL)/native -luutil -lc -lgen \
74 -lnsl -lnvpair
75 MY_NATIVE_LDLIBS_i386 = -lsmbios
76 MY_NATIVE_LDLIBS += $(MY_NATIVE_LDLIBS_$(MACH))
77
78 .KEEP_STATE:
79
80 all:
81
82 lint: lintcheck
83
84 include ../../Makefile.targ
|
53 COMDIR = ../../../common/svc
54
55 CFLAGS += $(CCVERBOSE) -Wp,-xc99=%all
56 CPPFLAGS += -I../inc -I../../common/inc -I$(COMDIR) -I$(ROOTHDRDIR)
57 $(NOT_RELEASE_BUILD) CPPFLAGS += -DFASTREBOOT_DEBUG
58
59 CERRWARN += -_gcc=-Wno-switch
60 CERRWARN += -_gcc=-Wno-char-subscripts
61 CERRWARN += -_gcc=-Wno-unused-label
62 CERRWARN += -_gcc=-Wno-parentheses
63 CERRWARN += -_gcc=-Wno-uninitialized
64
65 #
66 # For native builds, we compile and link against the native version
67 # of libuutil.
68 #
69 LIBUUTIL = $(SRC)/lib/libuutil
70 MY_NATIVE_CPPFLAGS =\
71 -DNATIVE_BUILD $(DTEXTDOM) \
72 -I../inc -I$(COMDIR) -I$(LIBUUTIL)/common -I$(ROOTHDRDIR)
73 MY_NATIVE_LDLIBS = -L$(LIBUUTIL)/native -R$(LIBUUTIL)/native \
74 -L$(NATIVE_ADJUNCT)/usr/lib -R$(NATIVE_ADJUNCT)/usr/lib \
75 -luutil -lc -lgen -lnsl -lnvpair
76 MY_NATIVE_LDLIBS_i386 = -lsmbios
77 MY_NATIVE_LDLIBS += $(MY_NATIVE_LDLIBS_$(MACH))
78
79 .KEEP_STATE:
80
81 all:
82
83 lint: lintcheck
84
85 include ../../Makefile.targ
|