mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 02:42:54 -05:00
Leave -Wcast-align disabled, at least for now, since there are numerous instances of that warning in places where buffer pointers are cast to pointers to various filesystem structures. Fixing this properly would be too much work for too little gain. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
42 lines
669 B
Makefile
42 lines
669 B
Makefile
# $FreeBSD$
|
|
|
|
SRCDIR:=${.PARSEDIR:tA}
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= makefs
|
|
|
|
CFLAGS+=-I${SRCDIR}
|
|
|
|
SRCS= cd9660.c \
|
|
ffs.c \
|
|
makefs.c \
|
|
msdos.c \
|
|
mtree.c \
|
|
walk.c
|
|
MAN= makefs.8
|
|
|
|
NO_WCAST_ALIGN=
|
|
CSTD= c11
|
|
|
|
.include "${SRCDIR}/cd9660/Makefile.inc"
|
|
.include "${SRCDIR}/ffs/Makefile.inc"
|
|
.include "${SRCDIR}/msdos/Makefile.inc"
|
|
|
|
CFLAGS+=-DHAVE_STRUCT_STAT_ST_FLAGS=1
|
|
|
|
.PATH: ${SRCTOP}/contrib/mtree
|
|
CFLAGS+=-I${SRCTOP}/contrib/mtree
|
|
SRCS+= getid.c misc.c spec.c
|
|
|
|
.PATH: ${SRCTOP}/contrib/mknod
|
|
CFLAGS+=-I${SRCTOP}/contrib/mknod
|
|
SRCS+= pack_dev.c
|
|
|
|
CFLAGS+= -I${SRCTOP}/lib/libnetbsd
|
|
LIBADD= netbsd util sbuf
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|