1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2015 Joyent, Inc.
14#
15
16LIBRARY =	libvarpd.a
17VERS =		.1
18OBJECTS =	libvarpd.o \
19		libvarpd_arp.o \
20		libvarpd_client.o \
21		libvarpd_door.o \
22		libvarpd_overlay.o \
23		libvarpd_panic.o \
24		libvarpd_persist.o \
25		libvarpd_prop.o \
26		libvarpd_plugin.o \
27		libvarpd_util.o
28
29include ../../../Makefile.lib
30
31# install this library in the root filesystem
32include ../../../Makefile.rootfs
33
34LIBS =		$(DYNLIB)
35LDLIBS +=	-lc -lavl -lumem -lidspace -lnvpair -lmd -lrename
36CPPFLAGS +=	-I../common
37
38CSTD=		$(CSTD_GNU99)
39
40SRCDIR =	../common
41
42.KEEP_STATE:
43
44all:	$(LIBS)
45
46include ../../../Makefile.targ
47