17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
23 #
24 #
25
26 LIBRARY = libipadm.a
27 VERS = .1
28 OBJECTS = libipadm.o ipadm_prop.o ipadm_persist.o ipadm_addr.o ipadm_if.o \
29 ipadm_ndpd.o ipadm_ngz.o
30
31 include ../../Makefile.lib
32
33 # install this library in the root filesystem
34 include ../../Makefile.rootfs
35
36 LIBS = $(DYNLIB) $(LINTLIB)
37 LDLIBS += -lc -lnsl -linetutil -lsocket -ldlpi -lnvpair -ldhcpagent \
38 -ldladm -lsecdb
39
40 SRCDIR = ../common
41 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
42
43 CFLAGS += $(CCVERBOSE)
44 CERRWARN += -_gcc=-Wno-switch
45 CERRWARN += -_gcc=-Wno-uninitialized
46 CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
47
48 .KEEP_STATE:
49
50 all: $(LIBS)
51
52 lint: lintcheck
53
54 include $(SRC)/lib/Makefile.targ
|
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
23 #
24 #
25
26 LIBRARY = libipadm.a
27 VERS = .1
28 OBJECTS = libipadm.o ipadm_prop.o ipadm_persist.o ipadm_addr.o ipadm_if.o \
29 ipadm_ndpd.o ipadm_ngz.o
30
31 include ../../Makefile.lib
32
33 # install this library in the root filesystem
34 include ../../Makefile.rootfs
35
36 LIBS = $(DYNLIB) $(LINTLIB)
37 LDLIBS += -lnsl -linetutil -lsocket -ldlpi -lnvpair -ldhcpagent \
38 -ldladm -lsecdb -lipmp -lcmdutils -lc
39
40 SRCDIR = ../common
41 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
42
43 CFLAGS += $(CCVERBOSE)
44 CERRWARN += -_gcc=-Wno-switch
45 CERRWARN += -_gcc=-Wno-uninitialized
46 CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
47
48 .KEEP_STATE:
49
50 all: $(LIBS)
51
52 lint: lintcheck
53
54 include $(SRC)/lib/Makefile.targ
|