xref: /onnv-gate/usr/src/lib/libshell/Makefile (revision 10898:1883b621b3ea)
14887Schin#
24887Schin# CDDL HEADER START
34887Schin#
44887Schin# The contents of this file are subject to the terms of the
54887Schin# Common Development and Distribution License (the "License").
64887Schin# You may not use this file except in compliance with the License.
74887Schin#
84887Schin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94887Schin# or http://www.opensolaris.org/os/licensing.
104887Schin# See the License for the specific language governing permissions
114887Schin# and limitations under the License.
124887Schin#
134887Schin# When distributing Covered Code, include this CDDL HEADER in each
144887Schin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154887Schin# If applicable, add the following below this CDDL HEADER, with the
164887Schin# fields enclosed by brackets "[]" replaced with your own identifying
174887Schin# information: Portions Copyright [yyyy] [name of copyright owner]
184887Schin#
194887Schin# CDDL HEADER END
204887Schin#
218462SApril.Chin@Sun.COM
224887Schin#
23*10898Sroland.mainz@nrubsig.org# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
244887Schin# Use is subject to license terms.
254887Schin#
264887Schin
278462SApril.Chin@Sun.COMSHELL=/usr/bin/ksh93
284887Schin
294887Schininclude		../Makefile.lib
304887Schin
314887SchinSUBDIRS =	$(MACH)
324887Schin$(BUILD64)SUBDIRS += $(MACH64)
334887Schin
344887Schinall :=		TARGET= all
354887Schinclean :=	TARGET= clean
364887Schinclobber :=	TARGET= clobber
374887Schininstall :=	TARGET= install
384887Schinlint :=		TARGET= lint
394887Schin_msg := 	TARGET= _msg
404887Schin
414887Schin.KEEP_STATE:
424887Schin
434887Schinall clean clobber install lint _msg: $(SUBDIRS)
444887Schin
454887SchinLIBRARY= 	libshell.a
464887Schin
474887SchinHDRS= \
484887Schin	history.h \
494887Schin	nval.h \
504887Schin	shell.h
514887Schin
524887SchinHDRDIR32= $(MACH)/include/ast
534887SchinHDRDIR64= $(MACH64)/include/ast
544887Schininclude ../Makefile.asthdr
554887Schin
564887Schininstall_h: $(ROOTHDRS)
574887Schin
584887Schin# We don't check these header files because they're owned by AT&T/AST
594887Schincheck:
604887Schin
614887Schin$(SUBDIRS):	FRC
624887Schin	@cd $@; pwd; $(MAKE) $(TARGET)
634887Schin
644887SchinFRC:
654887Schin
664887Schininclude Makefile.demo
67*10898Sroland.mainz@nrubsig.orginclude Makefile.doc
684887Schin
694887Schininclude ../Makefile.targ
70