Makefile revision 225736
1145132Sanholt# @(#)Makefile 8.1 (Berkeley) 5/31/93 2145132Sanholt# $FreeBSD: stable/9/bin/pax/Makefile 205940 2010-03-30 23:10:56Z delphij $ 3145132Sanholt 4145132Sanholt# To install on versions prior to BSD 4.4 the following may have to be 5145132Sanholt# defined with CFLAGS += 6145132Sanholt# 7145132Sanholt# -DNET2_STAT Use NET2 or older stat structure. The version of the 8145132Sanholt# stat structure is easily determined by looking at the 9145132Sanholt# basic type of an off_t (often defined in the file: 10145132Sanholt# /usr/include/sys/types.h). If off_t is a long (and is 11145132Sanholt# NOT A quad) then you must define NET2_STAT. 12145132Sanholt# This define is important, as if you do have a quad_t 13145132Sanholt# off_t and define NET2_STAT, pax will compile but will 14145132Sanholt# NOT RUN PROPERLY. 15145132Sanholt# 16145132Sanholt# -DNET2_FTS Use the older NET2 fts. To identify the version, 17145132Sanholt# examine the file: /usr/include/fts.h. If FTS_COMFOLLOW 18145132Sanholt# is not defined then you must define NET2_FTS. 19145132Sanholt# Pax may not compile if this not (un)defined properly. 20145132Sanholt# 21145132Sanholt# -DNET2_REGEX Use the older regexp.h not regex.h. The regex version 22145132Sanholt# is determined by looking at the value returned by 23145132Sanholt# regexec() (man 3 regexec). If regexec return a 1 for 24145132Sanholt# success (and NOT a 0 for success) you have the older 25145132Sanholt# regex routines and must define NET2_REGEX. 26145132Sanholt# Pax may not compile if this not (un)defined properly. 27145132Sanholt 28145132SanholtPROG= pax 29145132SanholtSRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \ 30145132Sanholt gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c \ 31152909Sanholt tables.c tar.c tty_subs.c 32152909Sanholt 33152909Sanholt.include <bsd.prog.mk> 34182080Srnoland