xref: /illumos-gate/usr/src/cmd/ast/libshell/Makefile.iffe (revision 431a74760e42d5af1054ef3d5de0e389ea277476)
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
16include ../Makefile.com
17include ../../Makefile.iffe
18
19FEATURE/acct FEATURE/execargs FEATURE/pstat:
20	PATH=$(AST_TOOLS):$$PATH \
21	    $(AST_IFFE) $(IFFEFLAGS) -c '$(IFFEC)' def $(@F)
22FEATURE/math := IFFE_EXTRA = $(ASTSRC)/data/math.tab
23
24cleaniffe: FRC
25	$(RM) $(FEATURES:%=FEATURE/%)
26
27generate: cleaniffe $(FEATURES:%=FEATURE/%)
28