Makefile revision 127212
1# Makefile for libarchive. 2# 3# $FreeBSD: head/lib/libarchive/Makefile 127212 2004-03-19 22:37:06Z kientzle $ 4 5LIB= archive 6SHLIB_MAJOR= 1 7 8# I'm not yet ready for a shared version of this library, as 9# there are still a couple of API changes still in the works. 10NOSHLIBS= 1 11 12SRCS= archive_check_magic.c \ 13 archive_entry.c \ 14 archive_read.c \ 15 archive_read_data_into_buffer.c \ 16 archive_read_data_into_fd.c \ 17 archive_read_extract.c \ 18 archive_read_open_file.c \ 19 archive_read_support_compression_all.c \ 20 archive_read_support_compression_bzip2.c \ 21 archive_read_support_compression_gzip.c \ 22 archive_read_support_compression_none.c \ 23 archive_read_support_format_all.c \ 24 archive_read_support_format_cpio.c \ 25 archive_read_support_format_gnutar.c \ 26 archive_read_support_format_tar.c \ 27 archive_string.c \ 28 archive_string_sprintf.c \ 29 archive_util.c \ 30 archive_write.c \ 31 archive_write_open_file.c \ 32 archive_write_set_compression_bzip2.c \ 33 archive_write_set_compression_gzip.c \ 34 archive_write_set_compression_none.c \ 35 archive_write_set_format.c \ 36 archive_write_set_format_by_name.c \ 37 archive_write_set_format_cpio.c \ 38 archive_write_set_format_pax.c \ 39 archive_write_set_format_shar.c \ 40 archive_write_set_format_ustar.c 41 42MAN = archive_entry.3 \ 43 archive_read.3 \ 44 archive_util.3 \ 45 archive_write.3 \ 46 libarchive.3 \ 47 tar.5 48 49MLINKS += archive_entry.3 archive_entry_clear.3 50MLINKS += archive_entry.3 archive_entry_clone.3 51MLINKS += archive_entry.3 archive_entry_copy_stat.3 52MLINKS += archive_entry.3 archive_entry_dup.3 53MLINKS += archive_entry.3 archive_entry_free.3 54MLINKS += archive_entry.3 archive_entry_gname.3 55MLINKS += archive_entry.3 archive_entry_hardlink.3 56MLINKS += archive_entry.3 archive_entry_new.3 57MLINKS += archive_entry.3 archive_entry_pathname.3 58MLINKS += archive_entry.3 archive_entry_set_devmajor.3 59MLINKS += archive_entry.3 archive_entry_set_devminor.3 60MLINKS += archive_entry.3 archive_entry_set_gid.3 61MLINKS += archive_entry.3 archive_entry_set_gname.3 62MLINKS += archive_entry.3 archive_entry_set_hardlink.3 63MLINKS += archive_entry.3 archive_entry_set_mode.3 64MLINKS += archive_entry.3 archive_entry_set_pathname.3 65MLINKS += archive_entry.3 archive_entry_set_symlink.3 66MLINKS += archive_entry.3 archive_entry_set_tartype.3 67MLINKS += archive_entry.3 archive_entry_set_uid.3 68MLINKS += archive_entry.3 archive_entry_set_uname.3 69MLINKS += archive_entry.3 archive_entry_size.3 70MLINKS += archive_entry.3 archive_entry_stat.3 71MLINKS += archive_entry.3 archive_entry_symlink.3 72MLINKS += archive_entry.3 archive_entry_tartype.3 73MLINKS += archive_entry.3 archive_entry_uname.3 74MLINKS += archive_read.3 archive_read_data.3 75MLINKS += archive_read.3 archive_read_data_into_buffer.3 76MLINKS += archive_read.3 archive_read_data_into_file.3 77MLINKS += archive_read.3 archive_read_data_skip.3 78MLINKS += archive_read.3 archive_read_extract.3 79MLINKS += archive_read.3 archive_read_finish.3 80MLINKS += archive_read.3 archive_read_new.3 81MLINKS += archive_read.3 archive_read_next_header.3 82MLINKS += archive_read.3 archive_read_open.3 83MLINKS += archive_read.3 archive_read_open_file.3 84MLINKS += archive_read.3 archive_read_open_tar.3 85MLINKS += archive_read.3 archive_read_set_bytes_per_block.3 86MLINKS += archive_read.3 archive_read_support_compression_all.3 87MLINKS += archive_read.3 archive_read_support_compression_bzip2.3 88MLINKS += archive_read.3 archive_read_support_compression_gzip.3 89MLINKS += archive_read.3 archive_read_support_compression_none.3 90MLINKS += archive_read.3 archive_read_support_format_all.3 91MLINKS += archive_read.3 archive_read_support_format_cpio.3 92MLINKS += archive_read.3 archive_read_support_format_gnutar.3 93MLINKS += archive_read.3 archive_read_support_format_tar.3 94MLINKS += archive_util.3 archive_compression.3 95MLINKS += archive_util.3 archive_compression_name.3 96MLINKS += archive_util.3 archive_errno.3 97MLINKS += archive_util.3 archive_error_string.3 98MLINKS += archive_util.3 archive_format.3 99MLINKS += archive_util.3 archive_format_name.3 100MLINKS += archive_write.3 archive_write_data.3 101MLINKS += archive_write.3 archive_write_finish.3 102MLINKS += archive_write.3 archive_write_header.3 103MLINKS += archive_write.3 archive_write_new.3 104MLINKS += archive_write.3 archive_write_open.3 105MLINKS += archive_write.3 archive_write_open_file.3 106MLINKS += archive_write.3 archive_write_prepare.3 107MLINKS += archive_write.3 archive_write_set_bytes_per_block.3 108MLINKS += archive_write.3 archive_write_set_bytes_in_last_block.3 109MLINKS += archive_write.3 archive_write_set_callbacks.3 110MLINKS += archive_write.3 archive_write_set_compression_bzip2.3 111MLINKS += archive_write.3 archive_write_set_compression_gzip.3 112MLINKS += archive_write.3 archive_write_set_format_pax.3 113MLINKS += archive_write.3 archive_write_set_format_ustar.3 114MLINKS += libarchive.3 archive.3 115 116INCS = archive.h archive_entry.h 117 118.if defined(DMALLOC) 119DEBUG_FLAGS+= -DDEBUG -g 120CFLAGS+= -DHAVE_DMALLOC -I/usr/local/include 121LDFLAGS+= -L/usr/local/lib -ldmalloc 122.endif 123CFLAGS+= -O3 124 125WARNS?= 6 126 127.include <bsd.lib.mk> 128