| 1 |
# $MirOS: src/bin/pax/Makefile,v 1.4 2006/08/18 18:21:36 tg Exp $ |
| 2 |
# $OpenBSD: Makefile,v 1.10 2001/05/26 00:32:20 millert Exp $ |
| 3 |
|
| 4 |
# To install on versions prior to BSD 4.4 the following may have to be |
| 5 |
# defined with CFLAGS += |
| 6 |
# |
| 7 |
# -DLONG_OFF_T Define this if the base type of an off_t is a long (and is |
| 8 |
# NOT a quad). (This is often defined in the file |
| 9 |
# /usr/include/sys/types.h). |
| 10 |
# This define is important, as if you do have a quad_t |
| 11 |
# off_t and define LONG_OFF_T, pax will compile but will |
| 12 |
# NOT RUN PROPERLY. |
| 13 |
# |
| 14 |
|
| 15 |
PROG= pax |
| 16 |
SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c\ |
| 17 |
gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c tables.c\ |
| 18 |
tar.c tty_subs.c |
| 19 |
MAN= pax.1 tar.1 cpio.1 |
| 20 |
LINKS= ${BINDIR}/pax ${BINDIR}/tar ${BINDIR}/pax ${BINDIR}/cpio |
| 21 |
|
| 22 |
.if (${MACHINE_OS} == "Interix") || (${MACHINE_OS} == "Linux") |
| 23 |
CPPFLAGS+= -DLONG_OFF_T |
| 24 |
.endif |
| 25 |
|
| 26 |
.include <bsd.prog.mk> |