1*b30d1939SAndy Fiddaman#
2*b30d1939SAndy Fiddaman# This file and its contents are supplied under the terms of the
3*b30d1939SAndy Fiddaman# Common Development and Distribution License ("CDDL"), version 1.0.
4*b30d1939SAndy Fiddaman# You may only use this file in accordance with the terms of version
5*b30d1939SAndy Fiddaman# 1.0 of the CDDL.
6*b30d1939SAndy Fiddaman#
7*b30d1939SAndy Fiddaman# A full copy of the text of the CDDL should have accompanied this
8*b30d1939SAndy Fiddaman# source.  A copy of the CDDL is also available via the Internet at
9*b30d1939SAndy Fiddaman# http://www.illumos.org/license/CDDL.
10*b30d1939SAndy Fiddaman#
11*b30d1939SAndy Fiddaman
12*b30d1939SAndy Fiddaman#
13*b30d1939SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
14*b30d1939SAndy Fiddaman#
15*b30d1939SAndy Fiddaman
16*b30d1939SAndy Fiddaman# These macros should be kept synchronised with those in
17*b30d1939SAndy Fiddaman# usr/src/contrib/ast/src/lib/libcmd/Makefile
18*b30d1939SAndy Fiddaman
19*b30d1939SAndy FiddamanAST_LICENSE = since=1992,author=gsf+dgk
20*b30d1939SAndy FiddamanASTLIB= libcmd
21*b30d1939SAndy FiddamanASTSRC= $(C_AST)/src/lib/$(ASTLIB)
22*b30d1939SAndy FiddamanHDRGUARD= cmd
23*b30d1939SAndy Fiddaman
24*b30d1939SAndy FiddamanFEATURES= ids sockets symlink utsname
25*b30d1939SAndy FiddamanHEADERSRC= cmd.h
26*b30d1939SAndy FiddamanHEADERGEN= cmdext.h
28*b30d1939SAndy FiddamanLOBJDIRS=
29*b30d1939SAndy FiddamanLIBOBJS= \
30*b30d1939SAndy Fiddaman	basename.o cat.o chgrp.o cksum.o chmod.o chown.o cmdinit.o \
31*b30d1939SAndy Fiddaman	cmp.o comm.o cp.o cut.o date.o dirname.o expr.o fds.o \
32*b30d1939SAndy Fiddaman	fmt.o fold.o fts_fix.o getconf.o head.o id.o join.o lib.o ln.o \
33*b30d1939SAndy Fiddaman	logname.o md5sum.o mkdir.o mkfifo.o mktemp.o mv.o paste.o \
34*b30d1939SAndy Fiddaman	pathchk.o pids.o rev.o revlib.o rm.o rmdir.o stty.o sum.o \
35*b30d1939SAndy Fiddaman	sync.o tail.o tee.o tty.o uname.o uniq.o vmstate.o wc.o wclib.o