xref: /illumos-gate/usr/src/lib/varpd/libvarpd/Makefile (revision 20a7641f9918de8574b8b3b47dbe35c4bfc78df1)
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
16include		../../Makefile.lib
17
18HDRS =		libvarpd.h libvarpd_client.h libvarpd_provider.h
19HDRDIR =	common
20SUBDIRS =	$(MACH)
21$(BUILD64)SUBDIRS +=	$(MACH64)
22
23TYPECHECK_LIB =	libvarpd.so.1
24TYPELIST = \
25	varpd_client_instance_arg_t \
26	varpd_client_nprops_arg_t \
27	varpd_client_propinfo_arg_t \
28	varpd_client_eresp_t \
29	varpd_persist_header_t \
30	overlay_targ_cache_entry_t \
31	overlay_targ_cache_t \
32	overlay_targ_cache_iter_t
33
34all :=		TARGET = all
35clean :=	TARGET = clean
36clobber :=	TARGET = clobber
37install :=	TARGET = install
38
39.KEEP_STATE:
40
41all clean clobber: $(SUBDIRS)
42
43install:	$(SUBDIRS) $(VARPD_MAPFILES) install_h
44
45install_h:	$(ROOTHDRS)
46
47check:		$(CHECKHDRS) $(TYPECHECK)
48
49$(SUBDIRS):  FRC
50	@cd $@; pwd; $(MAKE) $(TARGET)
51
52FRC:
53
54include ../../Makefile.targ
55