/[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 111 by ph10, Thu Mar 8 16:53:09 2007 UTC revision 144 by ph10, Mon Apr 2 13:32:07 2007 UTC
# Line 63  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 74  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 files contain maintenance information  # These files contain maintenance information
82  EXTRA_DIST += \  EXTRA_DIST += \
83    doc/perltest.txt \    doc/perltest.txt \
84    NON-UNIX-USE \    NON-UNIX-USE \
85    INSTALL    HACKING
86    
87  # These files are used in the preparation of a release  # These files are used in the preparation of a release
88  EXTRA_DIST += \  EXTRA_DIST += \
# Line 89  EXTRA_DIST += \ Line 90  EXTRA_DIST += \
90    CleanTxt \    CleanTxt \
91    Detrail \    Detrail \
92    132html \    132html \
93    Index.html    doc/index.html.src
94    
95  # These files are to do with building for Virtual Pascal  # These files are to do with building for Virtual Pascal
96  EXTRA_DIST += \  EXTRA_DIST += \
97    makevp.bat \    makevp.bat \
98    !compile.txt \    makevp_c.txt \
99    !linklib.txt \    makevp_l.txt \
100    pcregexp.pas    pcregexp.pas
101    
102  # These files are usable versions of pcre.h and config.h that are distributed  # These files are usable versions of pcre.h and config.h that are distributed
# Line 105  EXTRA_DIST += \ Line 106  EXTRA_DIST += \
106    pcre.h.generic \    pcre.h.generic \
107    config.h.generic    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  # These are the header files we'll install. We do not distribute pcre.h because
116  # it is generated from pcre.h.in.  # it is generated from pcre.h.in.
117  nodist_include_HEADERS = \  nodist_include_HEADERS = \
# Line 127  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 166  nodist_libpcre_la_SOURCES = \ Line 188  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.  # distributed. The pcre_chartables.c.dist file is the default version of
192  EXTRA_DIST += pcre_printint.src  # pcre_chartables.c, used unless --enable-rebuild-chartables is specified.
193    EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist
194    
195  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)  libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS)
196    
# Line 214  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 233  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 325  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.111  
changed lines
  Added in v.144

  ViewVC Help
Powered by ViewVC 1.1.5