# RCSid:
#	$Id: Makefile,v 1.21 2009/12/18 18:43:10 sjg Exp $
#
#	@(#) Copyright (c) 1995 Simon J. Gerraty
#
#	This file is provided in the hope that it will
#	be of use.  There is absolutely NO WARRANTY.
#	Permission to copy, redistribute or otherwise
#	use this file is hereby granted provided that 
#	the above copyright notice and this notice are
#	left intact. 
#      
#	Please send copies of changes and bug-fixes to:
#	sjg@crufty.net
#

# build dmalloc first so we can use its presence to
# turn on dmalloc.h
.if ${MACHINE} != "hp-ux" || ${CC} != "cc"
# HP-UX bundled cc cannot compile this (yet).
SUBDIR= dmalloc 
.endif
SUBDIR+= sjg dbug skey

.include "../Makefile.inc"

.if ${host_os} == "netbsd" || ${host_os} == "freebsd"
COMPATDIRS=
.else
COMPATDIRS+= netbsd
.if ${host_os} != "linux"
COMPATDIRS+= compat
.endif
.endif

SUBDIR+=  ${COMPATDIRS}

.include <subdir.mk>
