xref: /illumos-gate/usr/src/lib/libutempter/Makefile (revision e760f15095bdc9fa107e7c20ed2a5e4fb5865c1d)
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
12include		$(SRC)/lib/Makefile.lib
13
14SUBDIRS=	$(MACH) $(BUILD64) $(MACH64)
15
16all:=		TARGET= all
17clean:=		TARGET= clean
18clobber:=	TARGET= clobber
19install:=	TARGET= install
20
21HDRDIR=		common
22HDRS=		utempter.h
23
24.KEEP_STATE:
25
26all clean clobber install: $(SUBDIRS)
27
28check:		$(CHECKHDRS)
29
30install_h:	$(ROOTHDRS)
31
32$(SUBDIRS):	FRC
33		@cd $@; pwd; $(MAKE) $(TARGET)
34
35FRC:
36
37include		$(SRC)/lib/Makefile.targ
38