about summary refs log tree commit diff
path: root/Src/Builtins/rlimits.mdd
blob: 44a92906c46c5f9443170a4af62cee7bb3bfd1fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name=zsh/rlimits

autobins="limit ulimit unlimit"

objects="rlimits.o"

:<<\Make
rlimits.o rlimits..o: rlimits.h

# this file will not be made if limits are unavailable
rlimits.h: rlimits.awk @RLIMITS_INC_H@
	$(AWK) -f $(sdir)/rlimits.awk @RLIMITS_INC_H@ > rlimits.h
	@if grep ZLIMTYPE_UNKNOWN rlimits.h >/dev/null; then \
	    echo >&2 WARNING: unknown limits: mail rlimits.h to developers; \
	else :; fi

clean-here: clean.rlimits
clean.rlimits:
	rm -f rlimits.h
Make