summaryrefslogtreecommitdiffstats
path: root/usr.bin/file/Makefile
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-03-18 18:00:03 +0000
committermpp <mpp@FreeBSD.org>1997-03-18 18:00:03 +0000
commit12c550bd9fb9772fef442bd692f0e0fdff9b2176 (patch)
tree242f53c3de28b074fc8111bd3719097383a78279 /usr.bin/file/Makefile
parentbc2c46da3707d1d74a24415b64d75db9b63036cb (diff)
downloadFreeBSD-src-12c550bd9fb9772fef442bd692f0e0fdff9b2176.zip
FreeBSD-src-12c550bd9fb9772fef442bd692f0e0fdff9b2176.tar.gz
Upgrade to file version 3.22.
Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz
Diffstat (limited to 'usr.bin/file/Makefile')
-rw-r--r--usr.bin/file/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile
index 624ab9e..fde51c9 100644
--- a/usr.bin/file/Makefile
+++ b/usr.bin/file/Makefile
@@ -1,6 +1,6 @@
# Makefile for file(1) cmd.
# Copyright (c) Ian F. Darwin 86/09/01 - see LEGAL.NOTICE.
-# @(#)$Id: Makefile,v 1.49 1995/10/27 23:12:33 christos Exp $
+# @(#)$Id: Makefile,v 1.55 1997/01/15 17:23:24 christos Exp $
#
# This software is not subject to any license of the American Telephone
# and Telegraph Company or of the Regents of the University of California.
@@ -21,11 +21,11 @@
# ever read sources, credits must appear in the documentation.
#
# 4. This notice may not be removed or altered.
-VERSION = 3.19
+VERSION = 3.22
SHELL = /bin/sh
#MAGIC = /etc/magic
MAGIC = /usr/local/etc/magic
-DEFS = -DMAGIC='"$(MAGIC)"' # -Dvoid=int
+DEFS = -DMAGIC='"$(MAGIC)"' -DBUILTIN_ELF # -Dvoid=int
CC = cc
COPTS = -O -g # newer compilers allow both; else drop -O
# For truly antique environments, use this for (dummy) include files:
@@ -70,10 +70,10 @@ LOCALOBJS = # localsrc/getopt.o localsrc/strtol.o \
LOCALINC = # localinc/*.h localinc/sys/*.h
SRCS = file.c apprentice.c fsmagic.c softmagic.c ascmagic.c \
- compress.c is_tar.c \
+ compress.c is_tar.c readelf.c internat.c \
print.c $(LOCALSRCS) $(LOCALINC)
OBJS = file.o apprentice.o fsmagic.o softmagic.o ascmagic.o \
- compress.o is_tar.o \
+ compress.o is_tar.o readelf.o internat.o \
print.o $(LOCALOBJS)
ALLSRC = LEGAL.NOTICE README MAINT PORTING $(SRCS) *.h \
@@ -121,12 +121,14 @@ magic.${MANFEXT} : Makefile magic.man
@rm -f $@
sed -e s@__CSECTION__@${MANCEXT}@g \
-e s@__FSECTION__@${MANFEXT}@g \
+ -e s@__VERSION__@${VERSION}@g \
-e s@__MAGIC__@${MAGIC}@g magic.man > $@
file.${MANCEXT} : Makefile file.man
@rm -f $@
sed -e s@__CSECTION__@${MANCEXT}@g \
-e s@__FSECTION__@${MANFEXT}@g \
+ -e s@__VERSION__@${VERSION}@g \
-e s@__MAGIC__@${MAGIC}@g file.man > $@
send: dist
OpenPOWER on IntegriCloud