File:  [Research Unix] / researchv8dc / cmd / at / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv8, HEAD
researchv8 Dan Cross

# This makefile must be run as super-user

SPOOL=/usr/spool/at

all:	at atrun

at:	at.c
	cc -Od2 -o at at.c

atrun:	atrun.c
	cc -Od2 -o atrun atrun.c

install:	all
	rm /bin/at /etc/atrun
	strip at atrun
	mv at /usr/bin
	chown root /usr/bin/at
	chmod u+s,og-w /usr/bin/at
	cp atrun /usr/lib
	chown bin /usr/lib/atrun

clean:
	rm -f at atrun

dirs:
	rm -fr $(SPOOL)
	mkdir $(SPOOL) $(SPOOL)/past
	chown root $(SPOOL) $(SPOOL)/past
	chmod og-w $(SPOOL) $(SPOOL)/past
	>$(SPOOL)/lasttimedone
	chmod og-w $(SPOOL)/lasttimedone

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.