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# 21*7c2fbfb3SApril Chin 22da2e3ebdSchin# 23*7c2fbfb3SApril Chin# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24da2e3ebdSchin# Use is subject to license terms. 25da2e3ebdSchin# 26da2e3ebdSchin 27*7c2fbfb3SApril 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= libast.a 46da2e3ebdSchin 47da2e3ebdSchinHDRS= \ 48da2e3ebdSchin align.h \ 49da2e3ebdSchin ast_botch.h \ 50da2e3ebdSchin ast_ccode.h \ 51da2e3ebdSchin ast_common.h \ 52da2e3ebdSchin ast_dir.h \ 53da2e3ebdSchin ast_dirent.h \ 54da2e3ebdSchin ast_fcntl.h \ 55da2e3ebdSchin ast_float.h \ 56da2e3ebdSchin ast_fs.h \ 57da2e3ebdSchin ast_getopt.h \ 58da2e3ebdSchin ast_iconv.h \ 59da2e3ebdSchin ast_lib.h \ 60da2e3ebdSchin ast_limits.h \ 61da2e3ebdSchin ast_map.h \ 62da2e3ebdSchin ast_mmap.h \ 63da2e3ebdSchin ast_mode.h \ 64*7c2fbfb3SApril Chin ast_namval.h \ 65*7c2fbfb3SApril Chin ast_ndbm.h \ 66da2e3ebdSchin ast_nl_types.h \ 67da2e3ebdSchin ast_param.h \ 68da2e3ebdSchin ast_standards.h \ 69da2e3ebdSchin ast_std.h \ 70da2e3ebdSchin ast_stdio.h \ 71da2e3ebdSchin ast_sys.h \ 72da2e3ebdSchin ast_time.h \ 73da2e3ebdSchin ast_tty.h \ 74da2e3ebdSchin ast_version.h \ 75da2e3ebdSchin ast_vfork.h \ 76da2e3ebdSchin ast_wait.h \ 77da2e3ebdSchin ast_wchar.h \ 78da2e3ebdSchin ast_windows.h \ 79da2e3ebdSchin ast.h \ 80da2e3ebdSchin bytesex.h \ 81da2e3ebdSchin ccode.h \ 82da2e3ebdSchin cdt.h \ 83da2e3ebdSchin debug.h \ 84da2e3ebdSchin dirent.h \ 85da2e3ebdSchin dt.h \ 86da2e3ebdSchin endian.h \ 87da2e3ebdSchin error.h \ 88da2e3ebdSchin find.h \ 89da2e3ebdSchin fnmatch.h \ 90da2e3ebdSchin fnv.h \ 91da2e3ebdSchin fs3d.h \ 92da2e3ebdSchin fts.h \ 93da2e3ebdSchin ftw.h \ 94da2e3ebdSchin ftwalk.h \ 95da2e3ebdSchin getopt.h \ 96da2e3ebdSchin glob.h \ 97da2e3ebdSchin hash.h \ 98da2e3ebdSchin hashkey.h \ 99da2e3ebdSchin hashpart.h \ 100da2e3ebdSchin iconv.h \ 101*7c2fbfb3SApril Chin ip6.h \ 102da2e3ebdSchin lc.h \ 103da2e3ebdSchin ls.h \ 104da2e3ebdSchin magic.h \ 105da2e3ebdSchin magicid.h \ 106da2e3ebdSchin mc.h \ 107da2e3ebdSchin mime.h \ 108da2e3ebdSchin mnt.h \ 109da2e3ebdSchin modecanon.h \ 110da2e3ebdSchin modex.h \ 111da2e3ebdSchin namval.h \ 112da2e3ebdSchin nl_types.h \ 113da2e3ebdSchin option.h \ 114da2e3ebdSchin preroot.h \ 115da2e3ebdSchin proc.h \ 116da2e3ebdSchin prototyped.h \ 117da2e3ebdSchin re_comp.h \ 118da2e3ebdSchin recfmt.h \ 119da2e3ebdSchin regex.h \ 120da2e3ebdSchin regexp.h \ 121da2e3ebdSchin sfdisc.h \ 122da2e3ebdSchin sfio_s.h \ 123da2e3ebdSchin sfio_t.h \ 124da2e3ebdSchin sfio.h \ 125*7c2fbfb3SApril Chin shcmd.h \ 126da2e3ebdSchin sig.h \ 127da2e3ebdSchin stack.h \ 128da2e3ebdSchin stak.h \ 129da2e3ebdSchin stdio.h \ 130da2e3ebdSchin stk.h \ 131da2e3ebdSchin swap.h \ 132da2e3ebdSchin tar.h \ 133da2e3ebdSchin times.h \ 134da2e3ebdSchin tm.h \ 135da2e3ebdSchin tmx.h \ 136da2e3ebdSchin tok.h \ 137da2e3ebdSchin tv.h \ 138da2e3ebdSchin usage.h \ 139da2e3ebdSchin vdb.h \ 140da2e3ebdSchin vecargs.h \ 141da2e3ebdSchin vmalloc.h \ 142da2e3ebdSchin wait.h \ 143da2e3ebdSchin wchar.h \ 144da2e3ebdSchin wordexp.h 145da2e3ebdSchin 146da2e3ebdSchinHDRDIR32= $(MACH)/include/ast 147da2e3ebdSchinHDRDIR64= $(MACH64)/include/ast 148da2e3ebdSchininclude ../Makefile.asthdr 149da2e3ebdSchin 150da2e3ebdSchininstall_h: $(ROOTHDRS) 151da2e3ebdSchin 152da2e3ebdSchin# We don't check these header files because they're owned by AT&T/AST 153da2e3ebdSchincheck: 154da2e3ebdSchin 155da2e3ebdSchin$(SUBDIRS): FRC 156da2e3ebdSchin @cd $@; pwd; $(MAKE) $(TARGET) 157da2e3ebdSchin 158da2e3ebdSchinFRC: 159da2e3ebdSchin 160da2e3ebdSchininclude ../Makefile.targ 161