/[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 100 by ph10, Tue Mar 6 14:53:10 2007 UTC revision 144 by ph10, Mon Apr 2 13:32:07 2007 UTC
# Line 4  dist_doc_DATA = \ Line 4  dist_doc_DATA = \
4    doc/pcre.txt \    doc/pcre.txt \
5    doc/pcregrep.txt \    doc/pcregrep.txt \
6    doc/pcretest.txt \    doc/pcretest.txt \
   doc/perltest.txt \  
7    AUTHORS \    AUTHORS \
8    COPYING \    COPYING \
9    ChangeLog \    ChangeLog \
   INSTALL \  
10    LICENCE \    LICENCE \
11    NEWS \    NEWS \
   NON-UNIX-USE \  
12    README    README
13    
14  dist_html_DATA = \  dist_html_DATA = \
# Line 66  lib_LTLIBRARIES = Line 63  lib_LTLIBRARIES =
63  # TESTS is for binary unit tests, check_SCRIPTS for script-based tests  # TESTS is for binary unit tests, check_SCRIPTS for script-based tests
64  TESTS =  TESTS =
65  check_SCRIPTS =  check_SCRIPTS =
66  noinst_SCRIPTS =  dist_noinst_SCRIPTS =
67    
68  # Some of the binaries we make are to be installed, and others are  # Some of the binaries we make are to be installed, and others are
69  # (non-user-visible) helper programs needed to build libpcre.  # (non-user-visible) helper programs needed to build libpcre.
# Line 77  noinst_PROGRAMS = Line 74  noinst_PROGRAMS =
74  CLEANFILES =  CLEANFILES =
75  MAINTAINERCLEANFILES =  MAINTAINERCLEANFILES =
76    
77  # Additional files to bundle with the distribution.  # Additional files to bundle with the distribution, over and above what
78    # the Autotools include by default.
79  EXTRA_DIST =  EXTRA_DIST =
80    
81  # These are the header files we'll install.  Note that while pcre.h is  # These files contain maintenance information
82  # generated from pcre.h.in, we want to include it in the distribution so  EXTRA_DIST += \
83  # that users building without Autotools support have an easier time of it.    doc/perltest.txt \
84      NON-UNIX-USE \
85      HACKING
86    
87    # These files are used in the preparation of a release
88    EXTRA_DIST += \
89      PrepareRelease \
90      CleanTxt \
91      Detrail \
92      132html \
93      doc/index.html.src
94    
95    # These files are to do with building for Virtual Pascal
96    EXTRA_DIST += \
97      makevp.bat \
98      makevp_c.txt \
99      makevp_l.txt \
100      pcregexp.pas
101    
102    # These files are usable versions of pcre.h and config.h that are distributed
103    # for the benefit of people who are building PCRE manually, without the
104    # Autotools support.
105    EXTRA_DIST += \
106      pcre.h.generic \
107      config.h.generic
108    
109    pcre.h.generic: configure.ac
110            rm -f $@
111            cp -p pcre.h $@
112    
113    MAINTAINERCLEANFILES += pcre.h.generic
114    
115    # These are the header files we'll install. We do not distribute pcre.h because
116    # it is generated from pcre.h.in.
117    nodist_include_HEADERS = \
118      pcre.h
119  include_HEADERS = \  include_HEADERS = \
   pcre.h \  
120    pcreposix.h    pcreposix.h
121    
122  # These will be installed too, if C++ support is enabled. We don't  # These additional headers will be be installed if C++ support is enabled. We
123  # distribute pcrecpparg.h nor pcre_stringpiece.h, as these are generated  # do not distribute pcrecpparg.h or pcre_stringpiece.h, as these are generated
124  # from corresponding .h.in files (which we do distribute).  # from corresponding .h.in files (which we do distribute).
125  if WITH_PCRE_CPP  if WITH_PCRE_CPP
126  nodist_include_HEADERS = \  nodist_include_HEADERS += \
127    pcrecpparg.h \    pcrecpparg.h \
128    pcre_stringpiece.h    pcre_stringpiece.h
129  include_HEADERS += \  include_HEADERS += \
# Line 102  endif # WITH_PCRE_CPP Line 134  endif # WITH_PCRE_CPP
134  bin_SCRIPTS = pcre-config  bin_SCRIPTS = pcre-config
135    
136  ## ---------------------------------------------------------------  ## ---------------------------------------------------------------
137  ## Some helper programs used to compile libpcre.  They aren't user-visible.  ## The dftables program is used to rebuild character tables before compiling
138    ## PCRE, if --enable-rebuild-chartables is specified. It is not a user-visible
139    ## program. The default (when --enable-rebuild-chartables is not specified) is
140    ## to copy a distributed set of tables that are defined for ASCII code. In this
141    ## case, dftables is not needed.
142    
143    if WITH_REBUILD_CHARTABLES
144    
145  noinst_PROGRAMS += dftables  noinst_PROGRAMS += dftables
146  dftables_SOURCES = dftables.c  dftables_SOURCES = dftables.c
147    
148  pcre_chartables.c: dftables$(EXEEXT)  pcre_chartables.c: dftables$(EXEEXT)
149          ./dftables$(EXEEXT) $@          ./dftables$(EXEEXT) $@
150    else
151    
152    pcre_chartables.c: $(srcdir)/pcre_chartables.c.dist
153            rm -f $@
154            $(LN_S) $(srcdir)/pcre_chartables.c.dist $@
155    
156    endif # WITH_REBUILD_CHARTABLES
157    
158    
159  ## The main pcre library  ## The main pcre library
160  lib_LTLIBRARIES += libpcre.la  lib_LTLIBRARIES += libpcre.la
# Line 135  libpcre_la_SOURCES = \ Line 182  libpcre_la_SOURCES = \
182    ucp.h \    ucp.h \
183    ucpinternal.h \    ucpinternal.h \
184    ucptable.h    ucptable.h
185    
186  ## 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.
187  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
188    pcre_chartables.c    pcre_chartables.c
189    
190  # The pcre_printint.src file is #included by some source files, so it must be  # The pcre_printint.src file is #included by some source files, so it must be
191  # distributed. In an Autotools world, config.h is generated from config.h.in,  # distributed. The pcre_chartables.c.dist file is the default version of
192  # but, like pcre.h, we want to include it in the distribution so that users  # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.
193  # building without Autotools support have an easier time of it.  EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist
 EXTRA_DIST += pcre_printint.src config.h  
194    
195  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
196    
# Line 191  endif # WITH_PCRE_CPP Line 237  endif # WITH_PCRE_CPP
237  # ways. We install these test binaries in case folks find it helpful.  # ways. We install these test binaries in case folks find it helpful.
238    
239  TESTS += RunTest  TESTS += RunTest
240  noinst_SCRIPTS += RunTest  dist_noinst_SCRIPTS += RunTest
241  EXTRA_DIST += RunTest.bat  EXTRA_DIST += RunTest.bat
242  bin_PROGRAMS += pcretest  bin_PROGRAMS += pcretest
243  pcretest_SOURCES = pcretest.c  pcretest_SOURCES = pcretest.c
244  pcretest_LDADD = libpcreposix.la  pcretest_LDADD = libpcreposix.la
245    
246  TESTS += RunGrepTest  TESTS += RunGrepTest
247  noinst_SCRIPTS += RunGrepTest  dist_noinst_SCRIPTS += RunGrepTest
248  bin_PROGRAMS += pcregrep  bin_PROGRAMS += pcregrep
249  pcregrep_SOURCES = pcregrep.c  pcregrep_SOURCES = pcregrep.c
250  pcregrep_LDADD = libpcreposix.la  pcregrep_LDADD = libpcreposix.la
# Line 210  EXTRA_DIST += \ Line 256  EXTRA_DIST += \
256    testdata/greplist \    testdata/greplist \
257    testdata/grepoutput \    testdata/grepoutput \
258    testdata/grepoutput8 \    testdata/grepoutput8 \
259      testdata/grepoutputN \
260    testdata/testinput1 \    testdata/testinput1 \
261    testdata/testinput2 \    testdata/testinput2 \
262    testdata/testinput3 \    testdata/testinput3 \
# Line 302  EXTRA_DIST += \ Line 349  EXTRA_DIST += \
349    CMakeLists.txt \    CMakeLists.txt \
350    config-cmake.h.in    config-cmake.h.in
351    
 config-cmake.h.in: config.h.in  
         sed 's/#undef/#cmakedefine/g' config.h.in >$@  
   
 MAINTAINERCLEANFILES += config-cmake.h.in  
   
352  ## end Makefile.am  ## end Makefile.am

Legend:
Removed from v.100  
changed lines
  Added in v.144

  ViewVC Help
Powered by ViewVC 1.1.5