Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 1 | # libFLAC - Free Lossless Audio Codec library |
Josh Coalson | afae69f | 2003-01-02 07:03:16 +0000 | [diff] [blame] | 2 | # Copyright (C) 2001,2002,2003 Josh Coalson |
Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 3 | # |
| 4 | # This library is free software; you can redistribute it and/or |
| 5 | # modify it under the terms of the GNU Library General Public |
| 6 | # License as published by the Free Software Foundation; either |
| 7 | # version 2 of the License, or (at your option) any later version. |
| 8 | # |
| 9 | # This library is distributed in the hope that it will be useful, |
| 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | # Library General Public License for more details. |
| 13 | # |
| 14 | # You should have received a copy of the GNU Library General Public |
| 15 | # License along with this library; if not, write to the |
| 16 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 17 | # Boston, MA 02111-1307, USA. |
| 18 | |
Josh Coalson | 9f429ba | 2001-01-19 22:39:39 +0000 | [diff] [blame] | 19 | lib_LTLIBRARIES = libFLAC.la |
| 20 | if DEBUG |
Josh Coalson | 4e003c6 | 2001-10-19 18:24:33 +0000 | [diff] [blame] | 21 | DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT |
Josh Coalson | 9f429ba | 2001-01-19 22:39:39 +0000 | [diff] [blame] | 22 | endif |
Josh Coalson | fc70147 | 2002-10-16 22:06:04 +0000 | [diff] [blame] | 23 | CFLAGS = @CFLAGS@ $(DEBUGCFLAGS) |
Josh Coalson | 9f429ba | 2001-01-19 22:39:39 +0000 | [diff] [blame] | 24 | |
Josh Coalson | c8ef835 | 2001-05-25 00:06:33 +0000 | [diff] [blame] | 25 | if FLaC__NO_ASM |
| 26 | else |
Josh Coalson | cd66fc0 | 2001-06-18 02:34:09 +0000 | [diff] [blame] | 27 | if FLaC__CPU_IA32 |
Josh Coalson | e02e8ba | 2001-05-23 20:58:14 +0000 | [diff] [blame] | 28 | if FLaC__HAS_NASM |
Josh Coalson | 4c8f73a | 2001-07-22 07:27:45 +0000 | [diff] [blame] | 29 | ARCH_SUBDIRS = ia32 |
| 30 | libFLAC_la_LIBADD = ia32/libFLAC-asm.la |
Josh Coalson | c8ef835 | 2001-05-25 00:06:33 +0000 | [diff] [blame] | 31 | endif |
| 32 | endif |
| 33 | endif |
| 34 | |
Josh Coalson | 4c8f73a | 2001-07-22 07:27:45 +0000 | [diff] [blame] | 35 | SUBDIRS = $(ARCH_SUBDIRS) include . |
| 36 | |
Josh Coalson | bfeec74 | 2002-06-28 23:45:53 +0000 | [diff] [blame] | 37 | m4datadir = $(datadir)/aclocal |
| 38 | m4data_DATA = libFLAC.m4 |
| 39 | |
Josh Coalson | cd443f6 | 2002-07-09 06:27:07 +0000 | [diff] [blame] | 40 | EXTRA_DIST = \ |
| 41 | Makefile.lite \ |
| 42 | Makefile.vc \ |
Josh Coalson | bfc8e31 | 2002-11-21 09:00:25 +0000 | [diff] [blame] | 43 | libFLAC_dynamic.dsp \ |
| 44 | libFLAC_static.dsp \ |
Josh Coalson | cd443f6 | 2002-07-09 06:27:07 +0000 | [diff] [blame] | 45 | libFLAC.m4 |
Josh Coalson | bfeec74 | 2002-06-28 23:45:53 +0000 | [diff] [blame] | 46 | |
Josh Coalson | 57ba6f4 | 2002-06-07 05:27:37 +0000 | [diff] [blame] | 47 | # see 'http://www.gnu.org/software/libtool/manual.html#Versioning' for numbering convention |
Josh Coalson | ad017c6 | 2003-01-15 07:04:43 +0000 | [diff] [blame^] | 48 | libFLAC_la_LDFLAGS = -version-info 5:1:1 |
Josh Coalson | 522f7d3 | 2001-07-16 18:10:19 +0000 | [diff] [blame] | 49 | |
Josh Coalson | 9f429ba | 2001-01-19 22:39:39 +0000 | [diff] [blame] | 50 | libFLAC_la_SOURCES = \ |
| 51 | bitbuffer.c \ |
Josh Coalson | 673976d | 2001-03-30 00:45:52 +0000 | [diff] [blame] | 52 | bitmath.c \ |
Josh Coalson | e02e8ba | 2001-05-23 20:58:14 +0000 | [diff] [blame] | 53 | cpu.c \ |
Josh Coalson | c8ef835 | 2001-05-25 00:06:33 +0000 | [diff] [blame] | 54 | crc.c \ |
Josh Coalson | e02e8ba | 2001-05-23 20:58:14 +0000 | [diff] [blame] | 55 | file_decoder.c \ |
Josh Coalson | f1eff45 | 2002-07-31 07:05:33 +0000 | [diff] [blame] | 56 | file_encoder.c \ |
Josh Coalson | e02e8ba | 2001-05-23 20:58:14 +0000 | [diff] [blame] | 57 | fixed.c \ |
| 58 | format.c \ |
| 59 | lpc.c \ |
| 60 | md5.c \ |
Josh Coalson | c8ef835 | 2001-05-25 00:06:33 +0000 | [diff] [blame] | 61 | memory.c \ |
Josh Coalson | 90ced91 | 2002-05-30 05:23:38 +0000 | [diff] [blame] | 62 | metadata_iterators.c \ |
| 63 | metadata_object.c \ |
Josh Coalson | dbd84c4 | 2001-11-08 23:59:22 +0000 | [diff] [blame] | 64 | seekable_stream_decoder.c \ |
Josh Coalson | f1eff45 | 2002-07-31 07:05:33 +0000 | [diff] [blame] | 65 | seekable_stream_encoder.c \ |
Josh Coalson | 0a15c14 | 2001-06-13 17:59:57 +0000 | [diff] [blame] | 66 | stream_decoder.c \ |
| 67 | stream_encoder.c \ |
Josh Coalson | 036f903 | 2002-05-04 17:36:13 +0000 | [diff] [blame] | 68 | stream_encoder_framing.c |