Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / lzo / Makefile.am
blob4b72804672d35453f3c0cefa37238b28ccc69c69
1 ## Process this file with automake to create Makefile.in
3 #  Makefile --- Makefile for building the LZO library
5 #  This file is part of the LZO data compression library.
7 #  Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
8 #  All Rights Reserved.
11 EXTRA_DIST =
12 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
13 LDADD = src/liblzo2.la
14 lib_LTLIBRARIES =
15 noinst_PROGRAMS =
18 ##/***********************************************************************
19 ##// TOPDIR
20 ##************************************************************************/
22 doc_DATA = AUTHORS COPYING NEWS THANKS doc/LZO.FAQ doc/LZO.TXT doc/LZOAPI.TXT
23 EXTRA_DIST += BUGS autoconf/shtool
25 # hooks for Automake targets
26 dist-hook: dist-hook-1
27 dist-hook-1:
28         cp -pR $(srcdir)/B/ $(srcdir)/asm/ $(srcdir)/doc/ $(srcdir)/util/ "$(distdir)/"
29         -rm -f $(distdir)/util/*.dat
31 check-local: all-am
32         ./lzotest/lzotest -mlzo -n2 -q $(top_srcdir)/COPYING
33         @echo
34         @echo "All checks passed."
35         @echo
37 # special targets
38 basic-test: all
39         ./lzotest/lzotest -mlzo -n2 -q $(top_srcdir)/COPYING
40         ./tests/align
41         ./tests/chksum
42         ./examples/simple
43         ./minilzo/testmini
45 test: all
46         ./lzotest/lzotest -mavail -n10 -q $(top_srcdir)/COPYING
47         $(SHELL) -e $(top_srcdir)/util/check.sh $(top_srcdir)
48         ./tests/align
49         ./tests/chksum
50         ./examples/simple
51         ./minilzo/testmini
52         @echo
53         @echo "All tests passed. Now you are ready to install LZO."
54         @echo
57 ##/***********************************************************************
58 ##// SUBDIR include/lzo
59 ##************************************************************************/
61 pkginclude_HEADERS = \
62     include/lzo/lzo1.h include/lzo/lzo1a.h include/lzo/lzo1b.h \
63     include/lzo/lzo1c.h include/lzo/lzo1f.h include/lzo/lzo1x.h \
64     include/lzo/lzo1y.h include/lzo/lzo1z.h include/lzo/lzo2a.h \
65     include/lzo/lzo_asm.h include/lzo/lzoconf.h include/lzo/lzodefs.h \
66     include/lzo/lzoutil.h
69 ##/***********************************************************************
70 ##// SUBDIR src
71 ##************************************************************************/
73 lib_LTLIBRARIES += src/liblzo2.la
75 src_liblzo2_la_LDFLAGS = -version-info 2:0:0 $(AM_LDFLAGS)
77 src_liblzo2_la_SOURCES = \
78     src/lzo1.c src/lzo1_99.c src/lzo1a.c src/lzo1a_99.c src/lzo1b_1.c \
79     src/lzo1b_2.c src/lzo1b_3.c src/lzo1b_4.c src/lzo1b_5.c src/lzo1b_6.c \
80     src/lzo1b_7.c src/lzo1b_8.c src/lzo1b_9.c src/lzo1b_99.c src/lzo1b_9x.c \
81     src/lzo1b_cc.c src/lzo1b_d1.c src/lzo1b_d2.c src/lzo1b_rr.c \
82     src/lzo1b_xx.c src/lzo1c_1.c src/lzo1c_2.c src/lzo1c_3.c src/lzo1c_4.c \
83     src/lzo1c_5.c src/lzo1c_6.c src/lzo1c_7.c src/lzo1c_8.c src/lzo1c_9.c \
84     src/lzo1c_99.c src/lzo1c_9x.c src/lzo1c_cc.c src/lzo1c_d1.c \
85     src/lzo1c_d2.c src/lzo1c_rr.c src/lzo1c_xx.c src/lzo1f_1.c \
86     src/lzo1f_9x.c src/lzo1f_d1.c src/lzo1f_d2.c src/lzo1x_1.c \
87     src/lzo1x_1k.c src/lzo1x_1l.c src/lzo1x_1o.c src/lzo1x_9x.c \
88     src/lzo1x_d1.c src/lzo1x_d2.c src/lzo1x_d3.c src/lzo1x_o.c \
89     src/lzo1y_1.c src/lzo1y_9x.c src/lzo1y_d1.c src/lzo1y_d2.c \
90     src/lzo1y_d3.c src/lzo1y_o.c src/lzo1z_9x.c src/lzo1z_d1.c \
91     src/lzo1z_d2.c src/lzo1z_d3.c src/lzo2a_9x.c src/lzo2a_d1.c \
92     src/lzo2a_d2.c src/lzo_crc.c src/lzo_init.c src/lzo_ptr.c \
93     src/lzo_str.c src/lzo_util.c
95 EXTRA_DIST += \
96     src/compr1b.h src/compr1c.h src/config1.h src/config1a.h src/config1b.h \
97     src/config1c.h src/config1f.h src/config1x.h src/config1y.h \
98     src/config1z.h src/config2a.h src/lzo1_cm.ch src/lzo1_d.ch \
99     src/lzo1a_cm.ch src/lzo1a_cr.ch src/lzo1a_de.h src/lzo1b_c.ch \
100     src/lzo1b_cc.h src/lzo1b_cm.ch src/lzo1b_cr.ch src/lzo1b_d.ch \
101     src/lzo1b_de.h src/lzo1b_r.ch src/lzo1b_sm.ch src/lzo1b_tm.ch \
102     src/lzo1c_cc.h src/lzo1f_d.ch  src/lzo1x_c.ch src/lzo1x_d.ch \
103     src/lzo1x_oo.ch src/lzo2a_d.ch src/lzo_conf.h src/lzo_dict.h \
104     src/lzo_dll.ch src/lzo_func.ch src/lzo_mchw.ch src/lzo_ptr.h src/lzo_swd.ch \
105     src/miniacc.h src/stats1a.h src/stats1b.h src/stats1c.h
107 LZO_ASM_SOURCES_i386_src_gas = \
108     asm/i386/src_gas/lzo1c_s1.S asm/i386/src_gas/lzo1c_s2.S \
109     asm/i386/src_gas/lzo1f_f1.S asm/i386/src_gas/lzo1f_f2.S \
110     asm/i386/src_gas/lzo1x_f1.S asm/i386/src_gas/lzo1x_f2.S \
111     asm/i386/src_gas/lzo1x_s1.S asm/i386/src_gas/lzo1x_s2.S \
112     asm/i386/src_gas/lzo1y_f1.S asm/i386/src_gas/lzo1y_f2.S \
113     asm/i386/src_gas/lzo1y_s1.S asm/i386/src_gas/lzo1y_s2.S
114 LZO_ASM_OBJECTS_i386_obj_elf32 = \
115     asm/i386/obj/elf32/lzo1c_s1.o asm/i386/obj/elf32/lzo1c_s2.o \
116     asm/i386/obj/elf32/lzo1f_f1.o asm/i386/obj/elf32/lzo1f_f2.o \
117     asm/i386/obj/elf32/lzo1x_f1.o asm/i386/obj/elf32/lzo1x_f2.o \
118     asm/i386/obj/elf32/lzo1x_s1.o asm/i386/obj/elf32/lzo1x_s2.o \
119     asm/i386/obj/elf32/lzo1y_f1.o asm/i386/obj/elf32/lzo1y_f2.o \
120     asm/i386/obj/elf32/lzo1y_s1.o asm/i386/obj/elf32/lzo1y_s2.o
121 if LZO_USE_ASM_i386_src_gas
122 LZO_ASM_SOURCES = $(LZO_ASM_SOURCES_i386_src_gas)
123 endif
124 if LZO_USE_ASM_i386_obj_elf32
125 LZO_ASM_OBJECTS = $(LZO_ASM_OBJECTS_i386_obj_elf32)
126 endif
127 nodist_src_liblzo2_la_SOURCES = $(LZO_ASM_SOURCES)
128 src_liblzo2_la_LIBADD         = $(LZO_ASM_OBJECTS)
131 ##/***********************************************************************
132 ##// SUBDIR examples
133 ##************************************************************************/
135 noinst_PROGRAMS += examples/dict
136 noinst_PROGRAMS += examples/lzopack
137 noinst_PROGRAMS += examples/overlap
138 noinst_PROGRAMS += examples/precomp
139 noinst_PROGRAMS += examples/precomp2
140 noinst_PROGRAMS += examples/simple
142 examples_dict_SOURCES     = examples/dict.c
143 examples_lzopack_SOURCES  = examples/lzopack.c
144 examples_overlap_SOURCES  = examples/overlap.c
145 examples_precomp_SOURCES  = examples/precomp.c
146 examples_precomp2_SOURCES = examples/precomp2.c
147 examples_simple_SOURCES   = examples/simple.c
149 EXTRA_DIST += examples/portab.h examples/portab_a.h
152 ##/***********************************************************************
153 ##// SUBDIR lzotest
154 ##************************************************************************/
156 noinst_PROGRAMS += lzotest/lzotest
158 lzotest_lzotest_SOURCES = lzotest/lzotest.c
160 EXTRA_DIST += lzotest/asm.h lzotest/db.h lzotest/wrap.h lzotest/wrapmisc.h
163 ##/***********************************************************************
164 ##// SUBDIR tests
165 ##************************************************************************/
167 noinst_PROGRAMS += tests/align
168 noinst_PROGRAMS += tests/chksum
169 noinst_PROGRAMS += tests/promote
170 noinst_PROGRAMS += tests/sizes
172 tests_align_SOURCES   = tests/align.c
173 tests_chksum_SOURCES  = tests/chksum.c
174 tests_promote_SOURCES = tests/promote.c
175 tests_sizes_SOURCES   = tests/sizes.c
177 tests_promote_LDADD   =
178 tests_sizes_LDADD     =
181 ##/***********************************************************************
182 ##// SUBDIR minilzo
183 ##************************************************************************/
185 noinst_PROGRAMS += minilzo/testmini
187 minilzo_testmini_SOURCES   = minilzo/testmini.c minilzo/minilzo.c
188 minilzo_testmini_SHORTNAME = t
189 minilzo_testmini_CPPFLAGS  = -DMINILZO_HAVE_CONFIG_H=1
190 minilzo_testmini_CPPFLAGS += -I$(top_srcdir)/include/lzo
191 minilzo_testmini_CPPFLAGS += $(AM_CPPFLAGS)
192 minilzo_testmini_LDADD     =
194 EXTRA_DIST += minilzo/Makefile.minilzo minilzo/README.LZO minilzo/minilzo.h
196 @MAINT@-include $(top_srcdir)/Makefile.maint