#	@(#)Makefile	0.0 (Julian H. Stacey)	94 01 06
# ~jhs/src/odds/c/unix4dos/Makefile designed for FreeBSD	

install:
	@echo 'These files are not installed on unix, because putting my'
	@echo 'local old mini versions in when we already have'
	@echo 'proper versions in /bin etc, makes no sense, & can even '
	@echo 'confuse things like exmh that seem to fail using'
	@echo 'my /usr/local/bin/cp, to save mime zip enclosures.'

# Standard
J_SUBDIR += basename
P_SUBDIR += cat
J_SUBDIR += chmod
J_SUBDIR += cp		# for dos really, but compiles on unix, be wary !
P_SUBDIR += grep
J_SUBDIR += head
J_SUBDIR += hostname
# J_SUBDIR += login
#	login.c:60: conflicting types for `endpwent'
#	/usr/include/pwd.h:86: previous declaration of `endpwent'
#	login.c: In function `echo_set':
#	login.c:346: storage size of `screen' isn't known
#	login.c:349: `TIOCGETP' undeclared (first use this function)
#	login.c:349: (Each undeclared identifier is reported only once
#	login.c:349: for each function it appears in.)
#	login.c:354: `ECHO' undeclared (first use this function)
#	login.c:357: `TIOCSETP' undeclared (first use this function)
# JP_SUBDIR += ls
J_SUBDIR += logout
J_SUBDIR += lprset
J_SUBDIR += reset
# J_SUBDIR += rm
#	freebsd:	rm.c:31: dir.h: No such file or directory
# P_SUBDIR += rmkdir
#	int You must define either RMDIR or MKDIR ;
J_SUBDIR += set
J_SUBDIR += sleep
J_SUBDIR += split
P_SUBDIR += strings
P_SUBDIR += tail
# J_SUBDIR += tee
#	tee.c: In function `main':
#	tee.c:21: `_NFILE' undeclared (first use this function)
# X_SUBDIR += tee_joe
# tee_joe.o: Undefined symbol _vsl referenced from text segment
J_SUBDIR += touch
P_SUBDIR += uniq
JP_SUBDIR += wc
J_SUBDIR += who
# Special
# P_SUBDIR += nroff
# JP_SUBDIR += transfer
# P_SUBDIR += csh
# SUBDIR += make			# pjc tweaks on someone else's base

# DOS stuff
J_SUBDIR += lpr			# compiles on unix, but be very wary !
D_SUBDIR += stty
#	stty.o: Undefined symbol _outp referenced from text segment
D_SUBDIR += sh
#	sh.c:30: process.h: No such file or directory
#	sh.c:64: lib/getpwnam.c: No such file or directory
#	sh.c:196: unterminated `#if' conditional

# ========
SUBDIR += ${S_SUBDIR}	# shells
SUBDIR += ${X_SUBDIR}	# other contributors
SUBDIR += ${J_SUBDIR}	# Julian
SUBDIR += ${JP_SUBDIR}	# Julian + Phil
SUBDIR += ${P_SUBDIR}	# Phil
.if defined(TARGET_DOS)
SUBDIR += ${D_SUBDIR}
.endif

.include <berklix.mk>
