26
27 LIBRARY = libipadm.a
28 VERS = .1
29 OBJECTS = libipadm.o ipadm_prop.o ipadm_persist.o ipadm_addr.o ipadm_if.o \
30 ipadm_ndpd.o ipadm_ngz.o
31
32 include ../../Makefile.lib
33
34 # install this library in the root filesystem
35 include ../../Makefile.rootfs
36
37 LIBS = $(DYNLIB) $(LINTLIB)
38 LDLIBS += -lc -linetutil -lsocket -ldlpi -lnvpair -ldhcpagent \
39 -ldladm -lsecdb -ldhcputil
40
41 SRCDIR = ../common
42 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
43
44 CFLAGS += $(CCVERBOSE)
45 CERRWARN += -_gcc=-Wno-switch
46 CERRWARN += -_gcc=-Wno-uninitialized
47 CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
48
49 # not linted
50 SMATCH=off
51
52 .KEEP_STATE:
53
54 all: $(LIBS)
55
56 lint: lintcheck
57
58 include $(SRC)/lib/Makefile.targ
|
26
27 LIBRARY = libipadm.a
28 VERS = .1
29 OBJECTS = libipadm.o ipadm_prop.o ipadm_persist.o ipadm_addr.o ipadm_if.o \
30 ipadm_ndpd.o ipadm_ngz.o
31
32 include ../../Makefile.lib
33
34 # install this library in the root filesystem
35 include ../../Makefile.rootfs
36
37 LIBS = $(DYNLIB) $(LINTLIB)
38 LDLIBS += -lc -linetutil -lsocket -ldlpi -lnvpair -ldhcpagent \
39 -ldladm -lsecdb -ldhcputil
40
41 SRCDIR = ../common
42 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
43
44 CFLAGS += $(CCVERBOSE)
45 CERRWARN += -_gcc=-Wno-switch
46 CERRWARN += $(CNOWARN_UNINIT)
47 CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
48
49 # not linted
50 SMATCH=off
51
52 .KEEP_STATE:
53
54 all: $(LIBS)
55
56 lint: lintcheck
57
58 include $(SRC)/lib/Makefile.targ
|