xref: /titanic_41/usr/src/lib/libast/Makefile (revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27SHELL=/usr/bin/ksh93
28
29include		../Makefile.lib
30
31SUBDIRS =	$(MACH)
32$(BUILD64)SUBDIRS += $(MACH64)
33
34all :=		TARGET= all
35clean :=	TARGET= clean
36clobber :=	TARGET= clobber
37install :=	TARGET= install
38lint :=		TARGET= lint
39_msg := 	TARGET= _msg
40
41.KEEP_STATE:
42
43all clean clobber install lint _msg: $(SUBDIRS)
44
45LIBRARY= 	libast.a
46
47HDRS=	\
48	align.h \
49	ast_botch.h \
50	ast_ccode.h \
51	ast_common.h \
52	ast_dir.h \
53	ast_dirent.h \
54	ast_fcntl.h \
55	ast_float.h \
56	ast_fs.h \
57	ast_getopt.h \
58	ast_iconv.h \
59	ast_lib.h \
60	ast_limits.h \
61	ast_map.h \
62	ast_mmap.h \
63	ast_mode.h \
64	ast_namval.h \
65	ast_ndbm.h \
66	ast_nl_types.h \
67	ast_param.h \
68	ast_standards.h \
69	ast_std.h \
70	ast_stdio.h \
71	ast_sys.h \
72	ast_time.h \
73	ast_tty.h \
74	ast_version.h \
75	ast_vfork.h \
76	ast_wait.h \
77	ast_wchar.h \
78	ast_windows.h \
79	ast.h \
80	bytesex.h \
81	ccode.h \
82	cdt.h \
83	debug.h \
84	dirent.h \
85	dt.h \
86	endian.h \
87	error.h \
88	find.h \
89	fnmatch.h \
90	fnv.h \
91	fs3d.h \
92	fts.h \
93	ftw.h \
94	ftwalk.h \
95	getopt.h \
96	glob.h \
97	hash.h \
98	hashkey.h \
99	hashpart.h \
100	iconv.h \
101	ip6.h \
102	lc.h \
103	ls.h \
104	magic.h \
105	magicid.h \
106	mc.h \
107	mime.h \
108	mnt.h \
109	modecanon.h \
110	modex.h \
111	namval.h \
112	nl_types.h \
113	option.h \
114	preroot.h \
115	proc.h \
116	prototyped.h \
117	re_comp.h \
118	recfmt.h \
119	regex.h \
120	regexp.h \
121	sfdisc.h \
122	sfio_s.h \
123	sfio_t.h \
124	sfio.h \
125	shcmd.h \
126	sig.h \
127	stack.h \
128	stak.h \
129	stdio.h \
130	stk.h \
131	swap.h \
132	tar.h \
133	times.h \
134	tm.h \
135	tmx.h \
136	tok.h \
137	tv.h \
138	usage.h \
139	vdb.h \
140	vecargs.h \
141	vmalloc.h \
142	wait.h \
143	wchar.h \
144	wordexp.h
145
146HDRDIR32= $(MACH)/include/ast
147HDRDIR64= $(MACH64)/include/ast
148include ../Makefile.asthdr
149
150install_h: $(ROOTHDRS)
151
152# We don't check these header files because they're owned by AT&T/AST
153check:
154
155$(SUBDIRS):	FRC
156	@cd $@; pwd; $(MAKE) $(TARGET)
157
158FRC:
159
160include ../Makefile.targ
161