/[pcre]/code/trunk/Makefile.am
ViewVC logotype

Diff of /code/trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 238 by ph10, Tue Sep 11 13:27:16 2007 UTC revision 589 by ph10, Sat Jan 15 11:31:39 2011 UTC
# Line 1  Line 1 
1  ## Process this file with automake to produce Makefile.in.  ## Process this file with automake to produce Makefile.in.
2    
3    ACLOCAL_AMFLAGS = -I m4
4    
5  dist_doc_DATA = \  dist_doc_DATA = \
6    doc/pcre.txt \    doc/pcre.txt \
7    doc/pcre-config.txt \    doc/pcre-config.txt \
# Line 40  dist_html_DATA = \ Line 42  dist_html_DATA = \
42    doc/html/pcrebuild.html \    doc/html/pcrebuild.html \
43    doc/html/pcrecallout.html \    doc/html/pcrecallout.html \
44    doc/html/pcrecompat.html \    doc/html/pcrecompat.html \
45      doc/html/pcredemo.html \
46    doc/html/pcregrep.html \    doc/html/pcregrep.html \
47    doc/html/pcrematching.html \    doc/html/pcrematching.html \
48    doc/html/pcrepartial.html \    doc/html/pcrepartial.html \
# Line 178  libpcre_la_SOURCES = \ Line 181  libpcre_la_SOURCES = \
181    pcre_study.c \    pcre_study.c \
182    pcre_tables.c \    pcre_tables.c \
183    pcre_try_flipped.c \    pcre_try_flipped.c \
184    pcre_ucp_searchfuncs.c \    pcre_ucd.c \
185    pcre_valid_utf8.c \    pcre_valid_utf8.c \
186    pcre_version.c \    pcre_version.c \
187    pcre_xclass.c \    pcre_xclass.c \
188    ucp.h \    ucp.h
   ucpinternal.h \  
   ucptable.h  
189    
190  ## This file is generated as part of the building process, so don't distribute.  ## This file is generated as part of the building process, so don't distribute.
191  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
# Line 245  dist_noinst_SCRIPTS += RunTest Line 246  dist_noinst_SCRIPTS += RunTest
246  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
247  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
248  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
249  pcretest_LDADD = libpcreposix.la  pcretest_LDADD = libpcreposix.la $(LIBREADLINE)
250    
251  TESTS += RunGrepTest  TESTS += RunGrepTest
252  dist_noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
253  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
254  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
255  pcregrep_LDADD = libpcreposix.la  pcregrep_LDADD = libpcreposix.la $(LIBZ) $(LIBBZ2)
256    
257  EXTRA_DIST += \  EXTRA_DIST += \
258    testdata/grepinput \    testdata/grepinput \
259      testdata/grepinput3 \
260    testdata/grepinput8 \    testdata/grepinput8 \
261    testdata/grepinputv \    testdata/grepinputv \
262    testdata/grepinputx \    testdata/grepinputx \
# Line 272  EXTRA_DIST += \ Line 274  EXTRA_DIST += \
274    testdata/testinput8 \    testdata/testinput8 \
275    testdata/testinput9 \    testdata/testinput9 \
276    testdata/testinput10 \    testdata/testinput10 \
277      testdata/testinput11 \
278      testdata/testinput12 \
279    testdata/testoutput1 \    testdata/testoutput1 \
280    testdata/testoutput2 \    testdata/testoutput2 \
281    testdata/testoutput3 \    testdata/testoutput3 \
# Line 282  EXTRA_DIST += \ Line 286  EXTRA_DIST += \
286    testdata/testoutput8 \    testdata/testoutput8 \
287    testdata/testoutput9 \    testdata/testoutput9 \
288    testdata/testoutput10 \    testdata/testoutput10 \
289      testdata/testoutput11 \
290      testdata/testoutput12 \
291      testdata/wintestinput3 \
292      testdata/wintestoutput3 \
293    perltest.pl    perltest.pl
294    
295  CLEANFILES += \  CLEANFILES += \
# Line 290  CLEANFILES += \ Line 298  CLEANFILES += \
298          testtry \          testtry \
299          testNinput          testNinput
300    
301  # PCRE demonstration program  
302  noinst_PROGRAMS += pcredemo  # PCRE demonstration program. No longer built automatcally. The point is that
303  pcredemo_SOURCES = pcredemo.c  # the users should build it themselves. So just distribute the source.
304  pcredemo_LDADD = libpcre.la  # noinst_PROGRAMS += pcredemo
305    # pcredemo_SOURCES = pcredemo.c
306    # pcredemo_LDADD = libpcre.la
307    
308    EXTRA_DIST += pcredemo.c
309    
310    
311  ## Utility rules, documentation, etc.  ## Utility rules, documentation, etc.
312    
313  # A compatibility line, the old build system worked with 'make test'  # A compatibility line, the old build system worked with 'make test'
314  test: check ;  test: check ;
315    
316    
317    # A PCRE user submitted the following addition, saying that it "will allow
318    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
319    # nice DLL for Windows use". (It is used by the pcre.dll target.)
320    DLL_OBJS= pcre_compile.o pcre_config.o \
321            pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o \
322            pcre_globals.o pcre_info.o pcre_maketables.o \
323            pcre_newline.o pcre_ord2utf8.o pcre_refcount.o \
324            pcre_study.o pcre_tables.o pcre_try_flipped.o \
325            pcre_ucd.o pcre_valid_utf8.o pcre_version.o \
326            pcre_chartables.o \
327            pcre_xclass.o
328    
329    # A PCRE user submitted the following addition, saying that it "will allow
330    # anyone using the 'mingw32' compiler to simply type 'make pcre.dll' and get a
331    # nice DLL for Windows use".
332    pcre.dll: $(DLL_OBJS)
333            $(CC) -shared -o pcre.dll -Wl,"--strip-all" -Wl,"--export-all-symbols" $(DLL_OBJS)
334    
335    
336  # We have .pc files for pkg-config users.  # We have .pc files for pkg-config users.
337  pkgconfigdir = $(libdir)/pkgconfig  pkgconfigdir = $(libdir)/pkgconfig
338  pkgconfig_DATA = libpcre.pc  pkgconfig_DATA = libpcre.pc libpcreposix.pc
339  if WITH_PCRE_CPP  if WITH_PCRE_CPP
340  pkgconfig_DATA += libpcrecpp.pc  pkgconfig_DATA += libpcrecpp.pc
341  endif  endif
# Line 356  endif Line 389  endif
389  ## CMake support  ## CMake support
390    
391  EXTRA_DIST += \  EXTRA_DIST += \
392      cmake/COPYING-CMAKE-SCRIPTS \
393      cmake/FindPackageHandleStandardArgs.cmake \
394      cmake/FindReadline.cmake \
395    CMakeLists.txt \    CMakeLists.txt \
396    config-cmake.h.in    config-cmake.h.in
397    

Legend:
Removed from v.238  
changed lines
  Added in v.589

  ViewVC Help
Powered by ViewVC 1.1.5