# # makefile of uudx # # $FreeBSD: head/converters/uudx/files/Makefile 340722 2014-01-22 17:00:46Z mat $ CFLAGS += -DBSD=1 -DEUC=1 -DUTIME_EXIST -DMKDIR_HAS_MODE PROGRAM = uudx MANPAGE = uudx.1 MANDIR = ${PREFIX}/man/ja/man1 SRC = uudx.c OBJ = uudx.o all: ${PROGRAM} ${PROGRAM}: ${OBJ} ${CC} ${CFLAGS} -o ${PROGRAM} ${OBJ} nkf -e ${MANPAGE} > ${MANPAGE}.tmp mv -f ${MANPAGE}.tmp ${MANPAGE} install: ${PROGRAM} ${BSD_INSTALL_PROGRAM} ${PROGRAM} ${DESTDIR}${PREFIX}/bin ${BSD_INSTALL_MAN} ${MANPAGE} ${DESTDIR}${MANDIR}