summary refs log tree commit diff
path: root/Src/Builtins/rlimits.mdd
blob: 9e6e9e5986a574e99a4f93d8045a557df7fc3748 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name=zsh/rlimits
link=either
load=yes

autofeatures="b:limit b:ulimit b:unlimit"
autofeatures_emu="b:ulimit"

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@ /dev/null > rlimits.h
	@if grep ZLIMTYPE_UNKNOWN rlimits.h >/dev/null; then \
	    echo >&2 WARNING: unknown limits: mail Src/Builtins/rlimits.h to developers; \
	else :; fi

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