Home | History | Annotate | Line # | Download | only in makefs
Makefile revision 1.38
      1  1.38     hauke #	$NetBSD: Makefile,v 1.38 2022/04/06 22:25:00 hauke Exp $
      2   1.1     lukem #
      3   1.1     lukem 
      4  1.31  christos WARNS?=	5
      5  1.25     lukem 
      6   1.9     lukem .include <bsd.own.mk>
      7   1.9     lukem 
      8   1.1     lukem PROG=	makefs
      9  1.36   reinoud SRCS=	cd9660.c chfs.c ffs.c v7fs.c msdos.c udf.c\
     10  1.16    dyoung 	getid.c \
     11  1.24     pooka 	makefs.c misc.c \
     12  1.16    dyoung 	pack_dev.c \
     13  1.20        he 	spec.c \
     14  1.16    dyoung 	walk.c
     15   1.2     lukem MAN=	makefs.8
     16   1.1     lukem 
     17   1.9     lukem MKNODSRC=	${NETBSDSRCDIR}/sbin/mknod
     18   1.9     lukem MTREESRC=	${NETBSDSRCDIR}/usr.sbin/mtree
     19   1.1     lukem 
     20  1.33  christos CPPFLAGS+=	-I${.CURDIR} -I${MKNODSRC} -I${MTREESRC} -DMAKEFS
     21  1.35  christos #CPPFLAGS+=	-DMSDOSFS_DEBUG
     22  1.24     pooka .PATH:		${MKNODSRC} ${MTREESRC}
     23  1.24     pooka 
     24  1.24     pooka .include "${.CURDIR}/cd9660/Makefile.inc"
     25  1.30     ttoth .include "${.CURDIR}/chfs/Makefile.inc"
     26  1.24     pooka .include "${.CURDIR}/ffs/Makefile.inc"
     27  1.29      tron .include "${.CURDIR}/v7fs/Makefile.inc"
     28  1.32  christos .include "${.CURDIR}/msdos/Makefile.inc"
     29  1.36   reinoud .include "${.CURDIR}/udf/Makefile.inc"
     30  1.27      tron 
     31  1.27      tron .if !defined(HOSTPROG)
     32  1.38     hauke DPADD+= ${LIBUTIL} ${LIBM}
     33  1.38     hauke LDADD+= -lutil -lm
     34  1.37       mrg 
     35  1.37       mrg COPTS.cd9660.c+=		${GCC_NO_STRINGOP_TRUNCATION} ${GCC_NO_FORMAT_TRUNCATION}
     36  1.37       mrg COPTS.cd9660_conversion.c+=	${GCC_NO_FORMAT_TRUNCATION}
     37  1.37       mrg COPTS.udf.c+=			${GCC_NO_STRINGOP_TRUNCATION}
     38  1.37       mrg COPTS.v7fs_estimate.c+=		${GCC_NO_STRINGOP_TRUNCATION}
     39  1.37       mrg COPTS.v7fs_populate.c+=		${GCC_NO_STRINGOP_TRUNCATION} ${GCC_NO_FORMAT_TRUNCATION}
     40  1.21    bouyer .endif
     41   1.1     lukem 
     42   1.1     lukem .include <bsd.prog.mk>
     43  1.36   reinoud # DO NOT DELETE
     44