xref: /onnv-gate/usr/src/lib/libast/Makefile (revision 8462:6e341f5569ba)
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#
21*8462SApril.Chin@Sun.COM
224887Schin#
23*8462SApril.Chin@Sun.COM# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
244887Schin# Use is subject to license terms.
254887Schin#
264887Schin
27*8462SApril.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= 	libast.a
464887Schin
474887SchinHDRS=	\
484887Schin	align.h \
494887Schin	ast_botch.h \
504887Schin	ast_ccode.h \
514887Schin	ast_common.h \
524887Schin	ast_dir.h \
534887Schin	ast_dirent.h \
544887Schin	ast_fcntl.h \
554887Schin	ast_float.h \
564887Schin	ast_fs.h \
574887Schin	ast_getopt.h \
584887Schin	ast_iconv.h \
594887Schin	ast_lib.h \
604887Schin	ast_limits.h \
614887Schin	ast_map.h \
624887Schin	ast_mmap.h \
634887Schin	ast_mode.h \
64*8462SApril.Chin@Sun.COM	ast_namval.h \
65*8462SApril.Chin@Sun.COM	ast_ndbm.h \
664887Schin	ast_nl_types.h \
674887Schin	ast_param.h \
684887Schin	ast_standards.h \
694887Schin	ast_std.h \
704887Schin	ast_stdio.h \
714887Schin	ast_sys.h \
724887Schin	ast_time.h \
734887Schin	ast_tty.h \
744887Schin	ast_version.h \
754887Schin	ast_vfork.h \
764887Schin	ast_wait.h \
774887Schin	ast_wchar.h \
784887Schin	ast_windows.h \
794887Schin	ast.h \
804887Schin	bytesex.h \
814887Schin	ccode.h \
824887Schin	cdt.h \
834887Schin	debug.h \
844887Schin	dirent.h \
854887Schin	dt.h \
864887Schin	endian.h \
874887Schin	error.h \
884887Schin	find.h \
894887Schin	fnmatch.h \
904887Schin	fnv.h \
914887Schin	fs3d.h \
924887Schin	fts.h \
934887Schin	ftw.h \
944887Schin	ftwalk.h \
954887Schin	getopt.h \
964887Schin	glob.h \
974887Schin	hash.h \
984887Schin	hashkey.h \
994887Schin	hashpart.h \
1004887Schin	iconv.h \
101*8462SApril.Chin@Sun.COM	ip6.h \
1024887Schin	lc.h \
1034887Schin	ls.h \
1044887Schin	magic.h \
1054887Schin	magicid.h \
1064887Schin	mc.h \
1074887Schin	mime.h \
1084887Schin	mnt.h \
1094887Schin	modecanon.h \
1104887Schin	modex.h \
1114887Schin	namval.h \
1124887Schin	nl_types.h \
1134887Schin	option.h \
1144887Schin	preroot.h \
1154887Schin	proc.h \
1164887Schin	prototyped.h \
1174887Schin	re_comp.h \
1184887Schin	recfmt.h \
1194887Schin	regex.h \
1204887Schin	regexp.h \
1214887Schin	sfdisc.h \
1224887Schin	sfio_s.h \
1234887Schin	sfio_t.h \
1244887Schin	sfio.h \
125*8462SApril.Chin@Sun.COM	shcmd.h \
1264887Schin	sig.h \
1274887Schin	stack.h \
1284887Schin	stak.h \
1294887Schin	stdio.h \
1304887Schin	stk.h \
1314887Schin	swap.h \
1324887Schin	tar.h \
1334887Schin	times.h \
1344887Schin	tm.h \
1354887Schin	tmx.h \
1364887Schin	tok.h \
1374887Schin	tv.h \
1384887Schin	usage.h \
1394887Schin	vdb.h \
1404887Schin	vecargs.h \
1414887Schin	vmalloc.h \
1424887Schin	wait.h \
1434887Schin	wchar.h \
1444887Schin	wordexp.h
1454887Schin
1464887SchinHDRDIR32= $(MACH)/include/ast
1474887SchinHDRDIR64= $(MACH64)/include/ast
1484887Schininclude ../Makefile.asthdr
1494887Schin
1504887Schininstall_h: $(ROOTHDRS)
1514887Schin
1524887Schin# We don't check these header files because they're owned by AT&T/AST
1534887Schincheck:
1544887Schin
1554887Schin$(SUBDIRS):	FRC
1564887Schin	@cd $@; pwd; $(MAKE) $(TARGET)
1574887Schin
1584887SchinFRC:
1594887Schin
1604887Schininclude ../Makefile.targ
161