/[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 1158 by chpe, Mon Oct 22 19:43:50 2012 UTC revision 1177 by ph10, Sat Oct 27 16:07:40 2012 UTC
# Line 132  EXTRA_DIST += \ Line 132  EXTRA_DIST += \
132    pcre.h.generic \    pcre.h.generic \
133    config.h.generic    config.h.generic
134    
135  pcre.h.generic: configure.ac  # The only difference between pcre.h.in and pcre.h is the setting of the PCRE
136    # version number. Therefore, we can create the generic version just by copying.
137    pcre.h.generic: pcre.h.in configure.ac
138          rm -f $@          rm -f $@
139          cp -p pcre.h $@          cp -p pcre.h $@
140    
141  MAINTAINERCLEANFILES += pcre.h.generic  # It is more complicated for config.h.generic. We need the version that results
142    # from a default configuration. We can get this by doing a configure in a
143    # temporary directory. It has to be entirely done using files in that
144    # directory, because the source directory may already be configured. If you
145    # just try running configure in a new directory, it complains that the source
146    # directory is already configured.
147    config.h.generic: configure.ac
148            rm -rf $@ _generic
149            mkdir _generic
150            cs=$(srcdir)/config.status; test ! -f $$cs || mv -f $$cs $$cs.aside
151            cd _generic && $(abs_top_srcdir)/configure || :
152            cs=$(srcdir)/config.status; test ! -f $$cs.aside || mv -f $$cs.aside $$cs
153            test -f _generic/config.h
154            perl -pe 'if(/^#define\s(?!PACKAGE)(\w+)/){print"#ifndef $$1\n$$_#endif\n";$$_="";}' _generic/config.h >$@
155            rm -rf _generic
156    
157    MAINTAINERCLEANFILES += pcre.h.generic config.h.generic
158    
159  # 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
160  # it is generated from pcre.h.in.  # it is generated from pcre.h.in.
# Line 528  EXTRA_DIST += \ Line 546  EXTRA_DIST += \
546    testdata/testinput20 \    testdata/testinput20 \
547    testdata/testinput21 \    testdata/testinput21 \
548    testdata/testinput22 \    testdata/testinput22 \
549      testdata/testinput23 \
550      testdata/testinput24 \
551      testdata/testinput25 \
552      testdata/testinput26 \
553    testdata/testinputEBC \    testdata/testinputEBC \
554    testdata/testoutput1 \    testdata/testoutput1 \
555    testdata/testoutput2 \    testdata/testoutput2 \
# Line 539  EXTRA_DIST += \ Line 561  EXTRA_DIST += \
561    testdata/testoutput8 \    testdata/testoutput8 \
562    testdata/testoutput9 \    testdata/testoutput9 \
563    testdata/testoutput10 \    testdata/testoutput10 \
   testdata/testoutput11-16 \  
564    testdata/testoutput11-8 \    testdata/testoutput11-8 \
565      testdata/testoutput11-16 \
566      testdata/testoutput11-32 \
567    testdata/testoutput12 \    testdata/testoutput12 \
568    testdata/testoutput13 \    testdata/testoutput13 \
569    testdata/testoutput14 \    testdata/testoutput14 \
570    testdata/testoutput15 \    testdata/testoutput15 \
571    testdata/testoutput16 \    testdata/testoutput16 \
572    testdata/testoutput17 \    testdata/testoutput17 \
573    testdata/testoutput18 \    testdata/testoutput18-16 \
574      testdata/testoutput18-32 \
575    testdata/testoutput19 \    testdata/testoutput19 \
576    testdata/testoutput20 \    testdata/testoutput20 \
577    testdata/testoutput21 \    testdata/testoutput21-16 \
578    testdata/testoutput22 \    testdata/testoutput21-32 \
579      testdata/testoutput22-16 \
580      testdata/testoutput22-32 \
581      testdata/testoutput23 \
582      testdata/testoutput24 \
583      testdata/testoutput25 \
584      testdata/testoutput26 \
585    testdata/testoutputEBC \    testdata/testoutputEBC \
586    testdata/wintestinput3 \    testdata/wintestinput3 \
587    testdata/wintestoutput3 \    testdata/wintestoutput3 \
# Line 723  endif Line 753  endif
753    
754  # gcov/lcov code coverage reporting  # gcov/lcov code coverage reporting
755    
756  GCOV_NAME ?= $(PACKAGE)-$(VERSION)  if WITH_GCOV
757  GCOV_OUTPUT_FILE ?= $(GCOV_NAME)-coverage.info  
758  GCOV_OUTPUT_DIR ?= $(GCOV_NAME)-coverage  GCOV_NAME = $(PACKAGE)-$(VERSION)
759  GCOV_LCOV_FLAGS ?=  GCOV_OUTPUT_FILE = $(GCOV_NAME)-coverage.info
760  GCOV_GENHTML_FLAGS ?=  GCOV_OUTPUT_DIR = $(GCOV_NAME)-coverage
761    GCOV_LCOV_FLAGS =
762    GCOV_GENHTML_FLAGS =
763    
764  gcov_quiet = $(gcov_quiet_$(V))  gcov_quiet = $(gcov_quiet_$(V))
765  gcov_quiet_ = $(gcov_quiet_$(AM_DEFAULT_VERBOSITY))  gcov_quiet_ = $(gcov_quiet_$(AM_DEFAULT_VERBOSITY))
# Line 773  coverage: coverage-check coverage-report Line 805  coverage: coverage-check coverage-report
805  clean-local: coverage-clean  clean-local: coverage-clean
806  distclean-local: coverage-clean  distclean-local: coverage-clean
807    
808    else
809    
810    coverage:
811            @echo "Configuring with --enable-coverage required to generate code coverage report."
812    
813    endif # WITH_GCOV
814    
815  ## CMake support  ## CMake support
816    
817  EXTRA_DIST += \  EXTRA_DIST += \

Legend:
Removed from v.1158  
changed lines
  Added in v.1177

  ViewVC Help
Powered by ViewVC 1.1.5