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