summaryrefslogtreecommitdiffstats
path: root/usr.bin/file/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-10-08 22:57:03 +0000
committerobrien <obrien@FreeBSD.org>2001-10-08 22:57:03 +0000
commit16c9c17233ba578113fb89dd59c9f2cd80631c20 (patch)
tree677d0760d182e634d2be32bf55cad26ab746d8c1 /usr.bin/file/Makefile
parent0d5a8d884bddae26fcf5e0d97d1ae71a38288aab (diff)
downloadFreeBSD-src-16c9c17233ba578113fb89dd59c9f2cd80631c20.zip
FreeBSD-src-16c9c17233ba578113fb89dd59c9f2cd80631c20.tar.gz
Update for FILE v3.37.
FreeBSD no longer needs the daylight hack. (we really should sync our timezone code up ...)
Diffstat (limited to 'usr.bin/file/Makefile')
-rw-r--r--usr.bin/file/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile
index b6a0131..3a1e4b0 100644
--- a/usr.bin/file/Makefile
+++ b/usr.bin/file/Makefile
@@ -25,7 +25,7 @@ SRCDIR= ${.CURDIR}/../../contrib/file
PROG= file
MAN= file.1 magic.5
SRCS= file.c apprentice.c fsmagic.c softmagic.c ascmagic.c \
- compress.c is_tar.c readelf.c print-hacked.c
+ compress.c is_tar.c readelf.c print.c
# compress.c is_tar.c readelf.c internat.c print.c
MAGICPATH= /usr/share/misc
@@ -53,13 +53,9 @@ magic.mime.mgc: mkmagic magic.mime
./mkmagic magic.mime.PITA
mv magic.mime.PITA.mgc magic.mime.mgc
-CLEANFILES+= print-hacked.c
-print-hacked.c: print.c
- sed -e 's|daylight|0/*daylight*/|g' ${.ALLSRC} > ${.TARGET}
-
CLEANFILES+= mkmagic
build-tools: mkmagic
-mkmagic: apprentice.c print-hacked.c
+mkmagic: apprentice.c print.c
${CC} -DHAVE_CONFIG_H -DCOMPILE_ONLY \
-I${.CURDIR} -I${SRCDIR} -o ${.TARGET} ${.ALLSRC}
OpenPOWER on IntegriCloud