xref: /illumos-gate/usr/src/lib/libwrap/Makefile (revision d91236fe104c7ea63142e053b22a39c8a30d304b)
1#
2# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# ident	"%Z%%M%	%I%	%E% SMI"
6#
7
8include ../Makefile.lib
9
10HDRS =		tcpd.h
11CHECKHDRS =
12HDRDIR =	.
13SUBDIRS	=	$(MACH)
14
15all := 		TARGET = all
16clean :=	TARGET = clean
17clobber :=	TARGET = clobber
18install	:=	TARGET = install
19lint :=		TARGET = lint
20
21.KEEP_STATE:
22
23all clean clobber install lint: $(SUBDIRS)
24
25all install: THIRDPARTYLICENSE
26
27install_h:	$(ROOTHDRS)
28
29check:		$(CHECKHDRS)
30
31$(SUBDIRS): FRC
32	@cd $@; pwd; $(MAKE) $(TARGET)
33
34FRC:
35
36THIRDPARTYLICENSE: DISCLAIMER
37	$(GREP) -v '\*\*\*\*' DISCLAIMER > $@
38
39CLOBBERFILES += THIRDPARTYLICENSE
40
41include ../Makefile.targ
42