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