Home | History | Annotate | Line # | Download | only in newgrp
Makefile revision 1.2
      1  1.2  christos #	$NetBSD: Makefile,v 1.2 2007/10/17 21:07:49 christos Exp $
      2  1.1  ginsbach #
      3  1.1  ginsbach 
      4  1.1  ginsbach .include <bsd.own.mk>
      5  1.1  ginsbach 
      6  1.1  ginsbach PROG=	newgrp
      7  1.2  christos SRCS=	newgrp.c grutil.c
      8  1.1  ginsbach BINOWN=	root
      9  1.1  ginsbach BINMODE=4555
     10  1.2  christos WARNS=	4
     11  1.1  ginsbach 
     12  1.2  christos .PATH.c: ${.CURDIR}/../su
     13  1.2  christos CPPFLAGS+=-I${.CURDIR}/../su
     14  1.2  christos CPPFLAGS+=-DGRUTIL_ACCEPT_GROUP_NUMBERS
     15  1.2  christos CPPFLAGS+=-DGRUTIL_ALLOW_GROUP_ERRORS	# for POSIX.1 compliance
     16  1.1  ginsbach CPPFLAGS+=-DLOGIN_CAP
     17  1.1  ginsbach 
     18  1.1  ginsbach DPADD+=	${LIBCRYPT} ${LIBUTIL}
     19  1.1  ginsbach LDADD+= -lcrypt -lutil
     20  1.1  ginsbach 
     21  1.1  ginsbach .if (${USE_KERBEROS} != "no")
     22  1.1  ginsbach CPPFLAGS+=-DKERBEROS
     23  1.1  ginsbach .endif
     24  1.1  ginsbach 
     25  1.1  ginsbach .include <bsd.prog.mk>
     26