xref: /titanic_50/usr/src/lib/libast/Makefile (revision 67e3a03ed4a2813074d36330f062ed6e593a4937)
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# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27
28SHELL=/usr/bin/ksh
29
30include		../Makefile.lib
31
32SUBDIRS =	$(MACH)
33$(BUILD64)SUBDIRS += $(MACH64)
34
35all :=		TARGET= all
36clean :=	TARGET= clean
37clobber :=	TARGET= clobber
38install :=	TARGET= install
39lint :=		TARGET= lint
40_msg := 	TARGET= _msg
41
42.KEEP_STATE:
43
44all clean clobber install lint _msg: $(SUBDIRS)
45
46LIBRARY= 	libast.a
47
48HDRS=	\
49	align.h \
50	ast_botch.h \
51	ast_ccode.h \
52	ast_common.h \
53	ast_dir.h \
54	ast_dirent.h \
55	ast_fcntl.h \
56	ast_float.h \
57	ast_fs.h \
58	ast_getopt.h \
59	ast_iconv.h \
60	ast_lib.h \
61	ast_limits.h \
62	ast_map.h \
63	ast_mmap.h \
64	ast_mode.h \
65	ast_nl_types.h \
66	ast_param.h \
67	ast_standards.h \
68	ast_std.h \
69	ast_stdio.h \
70	ast_sys.h \
71	ast_time.h \
72	ast_tty.h \
73	ast_types.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	lc.h \
102	ls.h \
103	magic.h \
104	magicid.h \
105	mc.h \
106	mime.h \
107	mnt.h \
108	modecanon.h \
109	modex.h \
110	namval.h \
111	nl_types.h \
112	option.h \
113	preroot.h \
114	proc.h \
115	prototyped.h \
116	re_comp.h \
117	recfmt.h \
118	regex.h \
119	regexp.h \
120	sfdisc.h \
121	sfio_s.h \
122	sfio_t.h \
123	sfio.h \
124	sig.h \
125	stack.h \
126	stak.h \
127	stdio.h \
128	stk.h \
129	swap.h \
130	tar.h \
131	times.h \
132	tm.h \
133	tmx.h \
134	tok.h \
135	tv.h \
136	usage.h \
137	vdb.h \
138	vecargs.h \
139	vmalloc.h \
140	wait.h \
141	wchar.h \
142	wordexp.h
143
144HDRDIR32= $(MACH)/include/ast
145HDRDIR64= $(MACH64)/include/ast
146include ../Makefile.asthdr
147
148install_h: $(ROOTHDRS)
149
150# We don't check these header files because they're owned by AT&T/AST
151check:
152
153$(SUBDIRS):	FRC
154	@cd $@; pwd; $(MAKE) $(TARGET)
155
156FRC:
157
158include ../Makefile.targ
159