File:  [Research Unix] / researchv10no / cmd / at / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

# 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  -o atrun atrun.c

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

clean:
	rm -f at atrun

dirs:
	rm -fr $(SPOOL)
	mkdir $(SPOOL) $(SPOOL)/past
	/etc/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.