/[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 98 by ph10, Mon Mar 5 15:55:02 2007 UTC revision 137 by ph10, Thu Mar 29 13:56:00 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 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    # These are the header files we'll install. We do not distribute pcre.h because
110    # it is generated from pcre.h.in.
111    nodist_include_HEADERS = \
112      pcre.h
113  include_HEADERS = \  include_HEADERS = \
   pcre.h \  
114    pcreposix.h    pcreposix.h
115    
116  # 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
117  # distribute pcrecpparg.h nor pcre_stringpiece.h, as these are generated  # do not distribute pcrecpparg.h or pcre_stringpiece.h, as these are generated
118  # from corresponding .h.in files (which we do distribute).  # from corresponding .h.in files (which we do distribute).
119  if WITH_PCRE_CPP  if WITH_PCRE_CPP
120  nodist_include_HEADERS = \  nodist_include_HEADERS += \
121    pcrecpparg.h \    pcrecpparg.h \
122    pcre_stringpiece.h    pcre_stringpiece.h
123  include_HEADERS += \  include_HEADERS += \
# Line 102  endif # WITH_PCRE_CPP Line 128  endif # WITH_PCRE_CPP
128  bin_SCRIPTS = pcre-config  bin_SCRIPTS = pcre-config
129    
130  ## ---------------------------------------------------------------  ## ---------------------------------------------------------------
131  ## Some helper programs used to compile libpcre.  They aren't user-visible.  ## The dftables program is used to rebuild character tables before compiling
132    ## PCRE, if --enable-rebuild-chartables is specified. It is not a user-visible
133    ## program. The default (when --enable-rebuild-chartables is not specified) is
134    ## to copy a distributed set of tables that are defined for ASCII code. In this
135    ## case, dftables is not needed.
136    
137    if WITH_REBUILD_CHARTABLES
138    
139  noinst_PROGRAMS += dftables  noinst_PROGRAMS += dftables
140  dftables_SOURCES = dftables.c  dftables_SOURCES = dftables.c
141    
142  pcre_chartables.c: dftables$(EXEEXT)  pcre_chartables.c: dftables$(EXEEXT)
143          ./dftables$(EXEEXT) $@          ./dftables$(EXEEXT) $@
144    else
145    
146    pcre_chartables.c: $(srcdir)/pcre_chartables.c.dist
147            rm -f $@
148            $(LN_S) $(srcdir)/pcre_chartables.c.dist $@
149    
150    endif # WITH_REBUILD_CHARTABLES
151    
152    
153  ## The main pcre library  ## The main pcre library
154  lib_LTLIBRARIES += libpcre.la  lib_LTLIBRARIES += libpcre.la
# Line 135  libpcre_la_SOURCES = \ Line 176  libpcre_la_SOURCES = \
176    ucp.h \    ucp.h \
177    ucpinternal.h \    ucpinternal.h \
178    ucptable.h    ucptable.h
179    
180    ## This file is generated as part of the building process, so don't distribute.
181  nodist_libpcre_la_SOURCES = \  nodist_libpcre_la_SOURCES = \
182    pcre_chartables.c    pcre_chartables.c
183  EXTRA_DIST += pcre_printint.src  
184    # The pcre_printint.src file is #included by some source files, so it must be
185    # distributed. The pcre_chartables.c.dist file is the default version of
186    # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.
187    EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist
188    
189  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
190    
191  CLEANFILES += pcre_chartables.c  CLEANFILES += pcre_chartables.c
# Line 202  EXTRA_DIST += \ Line 250  EXTRA_DIST += \
250    testdata/greplist \    testdata/greplist \
251    testdata/grepoutput \    testdata/grepoutput \
252    testdata/grepoutput8 \    testdata/grepoutput8 \
253      testdata/grepoutputN \
254    testdata/testinput1 \    testdata/testinput1 \
255    testdata/testinput2 \    testdata/testinput2 \
256    testdata/testinput3 \    testdata/testinput3 \
# Line 294  EXTRA_DIST += \ Line 343  EXTRA_DIST += \
343    CMakeLists.txt \    CMakeLists.txt \
344    config-cmake.h.in    config-cmake.h.in
345    
 config-cmake.h.in: config.h.in  
         sed 's/#undef/#cmakedefine/g' config.h.in >$@  
   
 MAINTAINERCLEANFILES += config-cmake.h.in  
   
346  ## end Makefile.am  ## end Makefile.am

Legend:
Removed from v.98  
changed lines
  Added in v.137

  ViewVC Help
Powered by ViewVC 1.1.5