summary refs log tree commit diff
path: root/Src/Builtins/rlimits.mdd
blob: 61e7113f32480de7f6f119740662aab3c570a4e8 (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@ /dev/null > 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