summaryrefslogtreecommitdiffstats
path: root/converters/uudx/files/Makefile
blob: c34d155526ae8dddfd0566769adb7d34b85dc830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# makefile of uudx
#

CFLAGS += -DBSD=1 -DEUC=1 -DUTIME_EXIST -DMKDIR_HAS_MODE
PROGRAM = uudx
MANPAGE = uudx.1
MANDIR = ${PREFIX}/man/ja_JP.EUC/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}
	${INSTALL} -c -s ${PROGRAM} ${PREFIX}/bin
	mkdir -p ${MANDIR}
	${INSTALL} -c ${MANPAGE} ${MANDIR}
.if !defined(NOMANCOMPRESS)
	gzip -9nf ${MANDIR}/${MANPAGE}

.endif
OpenPOWER on IntegriCloud