1 1.5 tsutsui # $NetBSD: Makefile,v 1.5 2024/09/15 03:56:57 tsutsui Exp $ 2 1.1 tsubai 3 1.3 tv NOMAN= # defined 4 1.5 tsutsui PROG= macppc_installboot 5 1.5 tsutsui SRCS= installboot.c cd9660.c cd9660_util.c 6 1.1 tsubai 7 1.5 tsutsui .PATH.c: ${.CURDIR} 8 1.5 tsutsui .PATH.c: ${NETBSDSRCDIR}/usr.sbin/installboot ${NETBSDSRCDIR}/sys/fs/cd9660 9 1.5 tsutsui 10 1.5 tsutsui CPPFLAGS+= -I. -I${.CURDIR} 11 1.5 tsutsui #CPPFLAGS+= -DDEBUG 12 1.5 tsutsui 13 1.5 tsutsui .if !defined(HOSTPROGNAME) 14 1.5 tsutsui .if !make(obj) && !make(clean) && !make(cleandir) 15 1.5 tsutsui .BEGIN: 16 1.5 tsutsui -rm -rf fs 17 1.5 tsutsui ${HOST_INSTALL_DIR} fs 18 1.5 tsutsui ${HOST_INSTALL_DIR} fs/cd9660 19 1.5 tsutsui ${HOST_LN} -s ${NETBSDSRCDIR}/sys/fs/unicode.h fs 20 1.5 tsutsui ${HOST_LN} -s ${NETBSDSRCDIR}/sys/fs/cd9660/iso.h fs/cd9660 21 1.5 tsutsui ${HOST_LN} -s ${NETBSDSRCDIR}/sys/fs/cd9660/cd9660_extern.h fs/cd9660 22 1.5 tsutsui .endif 23 1.5 tsutsui 24 1.5 tsutsui cleandir distclean: cleaninc 25 1.5 tsutsui 26 1.5 tsutsui cleaninc: 27 1.5 tsutsui -rm -rf fs 28 1.5 tsutsui .endif # !defined(HOSTPROGNAME) 29 1.1 tsubai 30 1.1 tsubai .include <bsd.prog.mk> 31