xref: /titanic_51/usr/src/lib/libshell/Makefile (revision 34f9b3eef6fdadbda0a846aa4d68691ac40eace5)
1da2e3ebdSchin#
2da2e3ebdSchin# CDDL HEADER START
3da2e3ebdSchin#
4da2e3ebdSchin# The contents of this file are subject to the terms of the
5da2e3ebdSchin# Common Development and Distribution License (the "License").
6da2e3ebdSchin# You may not use this file except in compliance with the License.
7da2e3ebdSchin#
8da2e3ebdSchin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9da2e3ebdSchin# or http://www.opensolaris.org/os/licensing.
10da2e3ebdSchin# See the License for the specific language governing permissions
11da2e3ebdSchin# and limitations under the License.
12da2e3ebdSchin#
13da2e3ebdSchin# When distributing Covered Code, include this CDDL HEADER in each
14da2e3ebdSchin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15da2e3ebdSchin# If applicable, add the following below this CDDL HEADER, with the
16da2e3ebdSchin# fields enclosed by brackets "[]" replaced with your own identifying
17da2e3ebdSchin# information: Portions Copyright [yyyy] [name of copyright owner]
18da2e3ebdSchin#
19da2e3ebdSchin# CDDL HEADER END
20da2e3ebdSchin#
217c2fbfb3SApril Chin
22da2e3ebdSchin#
23*34f9b3eeSRoland Mainz# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24da2e3ebdSchin# Use is subject to license terms.
25da2e3ebdSchin#
26da2e3ebdSchin
277c2fbfb3SApril ChinSHELL=/usr/bin/ksh93
28da2e3ebdSchin
29da2e3ebdSchininclude		../Makefile.lib
30da2e3ebdSchin
31da2e3ebdSchinSUBDIRS =	$(MACH)
32da2e3ebdSchin$(BUILD64)SUBDIRS += $(MACH64)
33da2e3ebdSchin
34da2e3ebdSchinall :=		TARGET= all
35da2e3ebdSchinclean :=	TARGET= clean
36da2e3ebdSchinclobber :=	TARGET= clobber
37da2e3ebdSchininstall :=	TARGET= install
38da2e3ebdSchinlint :=		TARGET= lint
39da2e3ebdSchin_msg := 	TARGET= _msg
40da2e3ebdSchin
41da2e3ebdSchin.KEEP_STATE:
42da2e3ebdSchin
43da2e3ebdSchinall clean clobber install lint _msg: $(SUBDIRS)
44da2e3ebdSchin
45da2e3ebdSchinLIBRARY= 	libshell.a
46da2e3ebdSchin
47da2e3ebdSchinHDRS= \
48da2e3ebdSchin	history.h \
49da2e3ebdSchin	nval.h \
50da2e3ebdSchin	shell.h
51da2e3ebdSchin
52da2e3ebdSchinHDRDIR32= $(MACH)/include/ast
53da2e3ebdSchinHDRDIR64= $(MACH64)/include/ast
54da2e3ebdSchininclude ../Makefile.asthdr
55da2e3ebdSchin
56da2e3ebdSchininstall_h: $(ROOTHDRS)
57da2e3ebdSchin
58da2e3ebdSchin# We don't check these header files because they're owned by AT&T/AST
59da2e3ebdSchincheck:
60da2e3ebdSchin
61da2e3ebdSchin$(SUBDIRS):	FRC
62da2e3ebdSchin	@cd $@; pwd; $(MAKE) $(TARGET)
63da2e3ebdSchin
64da2e3ebdSchinFRC:
65da2e3ebdSchin
66da2e3ebdSchininclude Makefile.demo
67*34f9b3eeSRoland Mainzinclude Makefile.doc
68da2e3ebdSchin
69da2e3ebdSchininclude ../Makefile.targ
70