]> git.armaanb.net Git - opendoas.git/blobdiff - Makefile
timestamp: error out if fstat and lstat st_ino and st_dev are not the same
[opendoas.git] / Makefile
index 59c4ee76d5d3824587243666f3b14a0657d17c6d..9cca8ca26322cae9607ecb6de5ba2ad00b1f142d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,16 @@
 #      $OpenBSD: Makefile,v 1.9 2014/01/13 01:41:00 tedu Exp $
 
-SRCS=  parse.y doas.c
+SRCS=  parse.y doas.c env.c
 
 PROG=  doas
 MAN=   doas.1 doas.conf.5
 
 BINOWN= root
-BINGRP= wheel
-BINMODE=4511
+BINGRP= root
+BINMODE=4111
 
 CFLAGS+= -I${CURDIR}
-COPTS+= -Wall -Wextra -Werror -pedantic -std=c11
-LDFLAGS+= -lpam
+COPTS+=        -Wall -Wextra -Werror -pedantic
+YFLAGS=
 
 include bsd.prog.mk
-
-/etc/pam.d/doas: pam.d__doas
-       cp $< $@
-install: /etc/pam.d/doas