xref: /illumos-gate/usr/src/lib/varpd/libvarpd/Makefile.com (revision 6446bd46ed1b4e9f69da153665f82181ccaedad5)
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
38CERRWARN +=	-erroff=E_STRUCT_DERIVED_FROM_FLEX_MBR
39
40CSTD=		$(CSTD_GNU99)
41
42SRCDIR =	../common
43
44.KEEP_STATE:
45
46all:	$(LIBS)
47
48include ../../../Makefile.targ
49