Home | History | Annotate | Line # | Download | only in bin
      1 #	$NetBSD: Makefile,v 1.3 2024/05/31 20:41:50 tsutsui Exp $
      2 #	$OpenBSD: Makefile,v 1.8 2022/07/11 03:11:49 daniel Exp $
      3 
      4 # NOTE: The mkhybrid distrib also makes an "mkisofs" which is the same binary
      5 # linked. When we know mkhybrid makes distrib CDs ok we should modify this
      6 # to make mkisofs as a link to this, rather than the (earlier) version in
      7 # the tree.
      8 
      9 DIST=	${NETBSDSRCDIR}/external/gpl2/mkhybrid/dist
     10 
     11 PROG=	mkhybrid
     12 MAN=	mkhybrid.8
     13 BINDIR=	/usr/sbin
     14 
     15 .PATH:	${DIST}
     16 SRCS=	mkisofs.c tree.c write.c hash.c rock.c multi.c \
     17 	joliet.c match.c name.c eltorito.c \
     18 	apple.c volume.c desktop.c mac_label.c		
     19 SRCS+=	getopt.c getopt1.c
     20 
     21 .PATH:	${DIST}/libhfs_iso
     22 SRCS+=	block.c btree.c data.c file.c hfs.c low.c lvolume.c node.c record.c
     23 
     24 .PATH:	${DIST}/libfile
     25 SRCS+=	apprentice.c lfile.c softmagic.c
     26 
     27 CPPFLAGS+=-DSYSTEM_ID_DEFAULT=\"NetBSD\" -DAPPLE_HYB -DVANILLA_AUTOCONF \
     28 	-DHAVE_CONFIG_H \
     29 	-I${DIST} -I${DIST}/include \
     30 	-I${DIST}/libhfs_iso \
     31 	-I${DIST}/libfile
     32 
     33 .include <bsd.prog.mk>
     34