11556Srgrimes# @(#)Makefile 8.1 (Berkeley) 5/31/93 250471Speter# $FreeBSD$ 31556Srgrimes 41556Srgrimes# To install on versions prior to BSD 4.4 the following may have to be 51556Srgrimes# defined with CFLAGS += 61556Srgrimes# 71556Srgrimes# -DNET2_STAT Use NET2 or older stat structure. The version of the 81556Srgrimes# stat structure is easily determined by looking at the 91556Srgrimes# basic type of an off_t (often defined in the file: 101556Srgrimes# /usr/include/sys/types.h). If off_t is a long (and is 111556Srgrimes# NOT A quad) then you must define NET2_STAT. 121556Srgrimes# This define is important, as if you do have a quad_t 131556Srgrimes# off_t and define NET2_STAT, pax will compile but will 141556Srgrimes# NOT RUN PROPERLY. 151556Srgrimes# 161556Srgrimes# -DNET2_FTS Use the older NET2 fts. To identify the version, 171556Srgrimes# examine the file: /usr/include/fts.h. If FTS_COMFOLLOW 181556Srgrimes# is not defined then you must define NET2_FTS. 191556Srgrimes# Pax may not compile if this not (un)defined properly. 201556Srgrimes# 211556Srgrimes# -DNET2_REGEX Use the older regexp.h not regex.h. The regex version 221556Srgrimes# is determined by looking at the value returned by 231556Srgrimes# regexec() (man 3 regexec). If regexec return a 1 for 241556Srgrimes# success (and NOT a 0 for success) you have the older 251556Srgrimes# regex routines and must define NET2_REGEX. 261556Srgrimes# Pax may not compile if this not (un)defined properly. 271556Srgrimes 281556SrgrimesPROG= pax 2976351SkrisSRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \ 3076351Skris gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c \ 3176351Skris tables.c tar.c tty_subs.c 321556Srgrimes 331556Srgrimes.include <bsd.prog.mk> 34