xref: /illumos-gate/usr/src/lib/libwrap/Makefile (revision 355b4669e025ff377602b6fc7caaf30dbc218371)
1#
2# Copyright 2004 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
15ROOTHDRDIR =	$(ROOTSFWINCLUDE)
16
17all := 		TARGET = all
18clean :=	TARGET = clean
19clobber :=	TARGET = clobber
20install	:=	TARGET = install
21lint :=		TARGET = lint
22
23.KEEP_STATE:
24
25all clean clobber install lint: $(SUBDIRS)
26
27install_h:	$(ROOTHDRS)
28
29check:		$(CHECKHDRS)
30
31$(SUBDIRS): FRC
32	@cd $@; pwd; $(MAKE) $(TARGET)
33
34FRC:
35
36$(ROOTHDRS): $(ROOTHDRDIR)
37
38$(ROOTHDRDIR): $(ROOTSFW)
39	$(INS.dir)
40
41$(ROOTSFW):
42	$(INS.dir)
43
44include ../Makefile.targ
45