sbin/*_hammer2: Fix/cleanup Makefile
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 16 Aug 2019 15:10:04 +0000 (00:10 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 16 Aug 2019 15:10:04 +0000 (00:10 +0900)
sbin/mount_hammer2/Makefile
sbin/newfs_hammer2/Makefile

index 3d28a03..a743c5c 100644 (file)
@@ -1,7 +1,7 @@
 PROG=  mount_hammer2
 MAN=   mount_hammer2.8
 
-CFLAGS+= -I${.CURDIR}/..
+CFLAGS+= -I${.CURDIR}/../../sys
 CFLAGS+= -I${.CURDIR}/../../crypto/libressl/include
 LDADD=  -lutil
 DPADD=  ${LIBUTIL}
index 92c6931..6dc677e 100644 (file)
@@ -1,10 +1,9 @@
-#
-#
 PROG=  newfs_hammer2
+SRCS=  newfs_hammer2.c
 MAN=   newfs_hammer2.8
+
 CFLAGS+= -I${.CURDIR}/../../sys
-cFLAGS+= -DXXH_NAMESPACE=h2_
-SRCS= newfs_hammer2.c
+CFLAGS+= -DXXH_NAMESPACE=h2_
 
 .PATH: ${.CURDIR}/../../sys/libkern ${.CURDIR}/../../sys/vfs/hammer2/xxhash
 SRCS+= icrc32.c xxhash.c