"Fossies" - the Fresh Open Source Software Archive

Member "xdelta3-3.1.0/Makefile.am" (8 Jan 2016, 5477 Bytes) of package /linux/misc/xdelta3-3.1.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.am": 3.0.11_vs_3.1.0.

    1 ACLOCAL_AMFLAGS = -I m4
    2 AUTOMAKE_OPTIONS = subdir-objects
    3 
    4 bin_PROGRAMS = xdelta3
    5 noinst_PROGRAMS = xdelta3regtest xdelta3decode xdelta3checksum
    6 
    7 export AFL_HARDEN
    8 
    9 common_SOURCES = \
   10 	  xdelta3-blkcache.h \
   11 	  xdelta3-decode.h \
   12 	  xdelta3-djw.h \
   13 	  xdelta3-fgk.h \
   14 	  xdelta3-hash.h \
   15 	  xdelta3-internal.h \
   16 	  xdelta3-list.h \
   17 	  xdelta3-lzma.h \
   18 	  xdelta3-main.h \
   19 	  xdelta3-merge.h \
   20 	  xdelta3-second.h \
   21 	  xdelta3-test.h \
   22           xdelta3-cfgs.h \
   23 	  xdelta3.h
   24 
   25 xdelta3_SOURCES = $(common_SOURCES) xdelta3.c
   26 
   27 xdelta3decode_SOURCES = $(common_SOURCES) xdelta3.c
   28 
   29 xdelta3regtest_SOURCES = $(common_SOURCES) \
   30 	testing/cmp.h \
   31 	testing/delta.h \
   32 	testing/file.h \
   33 	testing/modify.h \
   34 	testing/random.h \
   35 	testing/regtest.cc \
   36 	testing/regtest_c.c \
   37 	testing/segment.h \
   38 	testing/sizes.h \
   39 	testing/test.h
   40 
   41 xdelta3checksum_SOURCES = $(common_SOURCES) \
   42 	testing/checksum_test.cc \
   43 	testing/checksum_test_c.c
   44 
   45 # These sources constitute a regression test written in Go, that is
   46 # not automatically built or run.  Install Go-1.5.x or later, add
   47 # `pwd`/go in $GOPATH, and (cd go/src && go run regtest.go).
   48 # TODO(jmacd): replace hard-coded path names in regtest.go w/ flags.
   49 GOLANG_SOURCES = \
   50 	go/src/xdelta/test.go \
   51 	go/src/xdelta/rstream.go \
   52 	go/src/xdelta/tgroup.go \
   53 	go/src/xdelta/run.go \
   54 	go/src/regtest.go
   55 
   56 # Note: for extra sanity checks, enable -Wconversion. Note there
   57 # are a lot of false positives.
   58 WFLAGS = -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare \
   59 	 -Wformat=2 -Wno-format-nonliteral \
   60 	 -Wno-unused-parameter -Wno-unused-function
   61 
   62  # -Weverything \
   63  # -Wc++11-compat-reserved-user-defined-literal \
   64  # -Wno-padded \
   65  # -Wno-format-nonliteral \
   66  # -Wno-cast-align \
   67  # -Wno-unused-parameter \
   68  # -Wno-sign-conversion \
   69  # -Wno-conversion \
   70  # -Wno-switch-enum \
   71  # -Wno-covered-switch-default \
   72  # -Wno-disabled-macro-expansion \
   73  # -Wno-variadic-macros \
   74  # -Wno-c++98-compat-pedantic
   75 
   76 C_WFLAGS = $(WFLAGS) -pedantic -std=c99
   77 CXX_WFLAGS = $(WFLAGS) -pedantic -std=c++11
   78 
   79 common_CFLAGS = \
   80 	      -DREGRESSION_TEST=1 \
   81 	      -DSECONDARY_DJW=1 \
   82 	      -DSECONDARY_FGK=1 \
   83 	      -DXD3_MAIN=1
   84 
   85 if DEBUG_SYMBOLS
   86   common_CFLAGS += -g
   87 endif
   88 
   89 #common_CFLAGS += -fsanitize=address -fno-omit-frame-pointer
   90 #common_CFLAGS += -O2
   91 
   92 # For additional debugging, add -DXD3_DEBUG=1, 2, 3, ...
   93 xdelta3_CFLAGS = $(C_WFLAGS) $(common_CFLAGS) -DXD3_DEBUG=0
   94 xdelta3_LDADD = -lm
   95 
   96 xdelta3decode_CFLAGS = \
   97 	$(C_WFLAGS) \
   98 	-DREGRESSION_TEST=0 \
   99 	-DSECONDARY_DJW=0 \
  100 	-DSECONDARY_FGK=0 \
  101 	-DSECONDARY_LZMA=0 \
  102 	-DXD3_MAIN=1 \
  103 	-DXD3_ENCODER=0 \
  104 	-DXD3_STDIO=1 \
  105 	-DEXTERNAL_COMPRESSION=0 \
  106 	-DVCDIFF_TOOLS=0
  107 
  108 xdelta3regtest_CXXFLAGS = \
  109 	$(CXX_WFLAGS) $(common_CFLAGS) -DNOT_MAIN=1 -DXD3_DEBUG=1
  110 xdelta3regtest_CFLAGS = \
  111 	$(C_WFLAGS) $(common_CFLAGS) -DNOT_MAIN=1 -DXD3_DEBUG=1
  112 xdelta3regtest_LDADD = -lm
  113 
  114 xdelta3checksum_CXXFLAGS = \
  115 	$(CXX_WFLAGS) $(common_CFLAGS) -DNOT_MAIN=1 -DXD3_MAIN=1 -std=c++11
  116 xdelta3checksum_CFLAGS = \
  117 	$(C_WFLAGS) $(common_CFLAGS) -DNOT_MAIN=1 -DXD3_MAIN=1
  118 
  119 
  120 man1_MANS = xdelta3.1
  121 
  122 EXTRA_DIST = \
  123 	README.md \
  124 	run_release.sh \
  125 	draft-korn-vcdiff.txt \
  126 	$(GOLANG_SOURCES) \
  127 	examples/Makefile \
  128 	examples/README.md \
  129 	examples/compare_test.c \
  130 	examples/encode_decode_test.c \
  131 	examples/small_page_test.c \
  132 	examples/speed_test.c \
  133 	examples/test.h \
  134 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test.xcodeproj/project.pbxproj \
  135 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/Xd3iOSAppDelegate.h \
  136 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/Xd3iOSAppDelegate.m \
  137 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/Xd3iOSViewController.h \
  138 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/Xd3iOSViewController.m \
  139 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/en.lproj/InfoPlist.strings \
  140 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/en.lproj/MainStoryboard_iPad.storyboard \
  141 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/en.lproj/MainStoryboard_iPhone.storyboard \
  142 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/file_v1.bin \
  143 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/file_v1_to_v2.bin \
  144 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/file_v2.bin \
  145 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/main.m \
  146 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/xdelta3-ios-test-Info.plist \
  147 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/xdelta3-ios-test-Prefix.pch \
  148 	cpp-btree/CMakeLists.txt \
  149 	cpp-btree/COPYING \
  150 	cpp-btree/README \
  151 	cpp-btree/btree.h \
  152 	cpp-btree/btree_bench.cc \
  153 	cpp-btree/btree_container.h \
  154 	cpp-btree/btree_map.h \
  155 	cpp-btree/btree_set.h \
  156 	cpp-btree/btree_test.cc \
  157 	cpp-btree/btree_test.h \
  158 	cpp-btree/btree_test_flags.cc \
  159 	cpp-btree/safe_btree.h \
  160 	cpp-btree/safe_btree_map.h \
  161 	cpp-btree/safe_btree_set.h \
  162 	cpp-btree/safe_btree_test.cc \
  163 	testing/xdelta3-regtest.py \
  164 	testing/xdelta3-test.py \
  165 	xdelta3.1 \
  166 	xdelta3.i \
  167 	xdelta3.vcxproj \
  168 	xdelta3.wxi \
  169 	xdelta3.wxs
  170 
  171 # Broken, removed from distribution:
  172 #	xdelta3_pywrap.c
  173 #	xdelta3.py
  174 
  175 #PYFILES = xdelta3_pywrap.c xdelta3.py
  176 #XDELTA3PY = xdelta3.py
  177 #XDELTA3PYLIB = xdelta3.la
  178 
  179 #BUILT_SOURCES = $(PYFILES)
  180 
  181 #xdelta3_pywrap.c xdelta3.py : xdelta3.i
  182 #	$(SWIG) -python -o xdelta3_pywrap.c xdelta3.i
  183 
  184 # OS X for some reason requires:
  185 # pythondir = $(PYTHON_SITE_PKG)
  186 # pyexecdir = $(PYTHON_SITE_PKG)
  187 
  188 #python_PYTHON = $(XDELTA3PY)
  189 #pyexec_LTLIBRARIES = $(XDELTA3PYLIB)
  190 #_xdelta3_la_SOURCES = $(srcdir)/xdelta3_pywrap.c $(xdelta3_SOURCES)
  191 #_xdelta3_la_CFLAGS = $(common_CFLAGS) -DNOT_MAIN=1 $(PYTHON_CPPFLAGS)
  192 #_xdelta3_la_LDFLAGS = -module