"Fossies" - the Fresh Open Source Software Archive

Member "xdelta3-3.0.11/Makefile.am" (18 Dec 2015, 3934 Bytes) of package /linux/misc/xdelta3-3.0.11.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.

    1 ACLOCAL_AMFLAGS = -I m4
    2 
    3 bin_PROGRAMS = xdelta3
    4 noinst_PROGRAMS = xdelta3regtest xdelta3decode
    5 
    6 export AFL_HARDEN
    7 
    8 common_SOURCES = \
    9 	  xdelta3-blkcache.h \
   10 	  xdelta3-decode.h \
   11 	  xdelta3-djw.h \
   12 	  xdelta3-fgk.h \
   13 	  xdelta3-hash.h \
   14 	  xdelta3-internal.h \
   15 	  xdelta3-list.h \
   16 	  xdelta3-lzma.h \
   17 	  xdelta3-main.h \
   18 	  xdelta3-merge.h \
   19 	  xdelta3-second.h \
   20 	  xdelta3-test.h \
   21           xdelta3-cfgs.h \
   22 	  xdelta3.h
   23 
   24 xdelta3_SOURCES = $(common_SOURCES) xdelta3.c
   25 
   26 xdelta3decode_SOURCES = $(common_SOURCES) xdelta3.c
   27 
   28 xdelta3regtest_SOURCES = $(common_SOURCES) \
   29 	testing/cmp.h \
   30 	testing/delta.h \
   31 	testing/file.h \
   32 	testing/modify.h \
   33 	testing/random.h \
   34 	testing/regtest.cc \
   35 	testing/regtest_c.c \
   36 	testing/segment.h \
   37 	testing/sizes.h \
   38 	testing/test.h
   39 
   40 # Note: for extra sanity checks, enable -Wconversion. Note there
   41 # are a lot of false positives.
   42 WFLAGS = -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare \
   43 	 -Wextra -Wno-unused-parameter -Wno-unused-function
   44 
   45 C_WFLAGS = $(WFLAGS) -pedantic -std=c99
   46 CXX_WFLAGS = $(WFLAGS)
   47 
   48 common_CFLAGS = \
   49 	      -DREGRESSION_TEST=1 \
   50 	      -DSECONDARY_DJW=1 \
   51 	      -DSECONDARY_FGK=1 \
   52 	      -DXD3_MAIN=1
   53 
   54 if DEBUG_SYMBOLS
   55   common_CFLAGS += -g
   56 endif
   57 
   58 #common_CFLAGS += -fsanitize=address -fno-omit-frame-pointer
   59 #common_CFLAGS += -O2
   60 
   61 # For additional debugging, add -DXD3_DEBUG=1, 2, 3, ...
   62 xdelta3_CFLAGS = $(C_WFLAGS) $(common_CFLAGS) -DXD3_DEBUG=0
   63 xdelta3_LDADD = -lm
   64 
   65 xdelta3decode_CFLAGS = \
   66 	$(C_WFLAGS) \
   67 	-DREGRESSION_TEST=0 \
   68 	-DSECONDARY_DJW=0 \
   69 	-DSECONDARY_FGK=0 \
   70 	-DSECONDARY_LZMA=0 \
   71 	-DXD3_MAIN=1 \
   72 	-DXD3_ENCODER=0 \
   73 	-DXD3_STDIO=1 \
   74 	-DEXTERNAL_COMPRESSION=0 \
   75 	-DVCDIFF_TOOLS=0
   76 
   77 xdelta3regtest_CXXFLAGS = \
   78 	$(CXX_WFLAGS) $(common_CFLAGS) -DNOT_MAIN=1 -DXD3_DEBUG=1
   79 xdelta3regtest_CFLAGS = \
   80 	$(C_WFLAGS) $(common_CFLAGS) -DNOT_MAIN=1 -DXD3_DEBUG=1
   81 xdelta3regtest_LDADD = -lm
   82 
   83 man1_MANS = xdelta3.1
   84 
   85 EXTRA_DIST = \
   86 	README.md \
   87 	run_release.sh \
   88 	draft-korn-vcdiff.txt \
   89 	examples/Makefile \
   90 	examples/README.md \
   91 	examples/checksum_test.cc \
   92 	examples/compare_test.c \
   93 	examples/encode_decode_test.c \
   94 	examples/small_page_test.c \
   95 	examples/speed_test.c \
   96 	examples/test.h \
   97 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test.xcodeproj/project.pbxproj \
   98 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/Xd3iOSAppDelegate.h \
   99 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/Xd3iOSAppDelegate.m \
  100 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/Xd3iOSViewController.h \
  101 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/Xd3iOSViewController.m \
  102 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/en.lproj/InfoPlist.strings \
  103 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/en.lproj/MainStoryboard_iPad.storyboard \
  104 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/en.lproj/MainStoryboard_iPhone.storyboard \
  105 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/file_v1.bin \
  106 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/file_v1_to_v2.bin \
  107 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/file_v2.bin \
  108 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/main.m \
  109 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/xdelta3-ios-test-Info.plist \
  110 	examples/iOS/xdelta3-ios-test/xdelta3-ios-test/xdelta3-ios-test-Prefix.pch \
  111 	testing/xdelta3-regtest.py \
  112 	testing/xdelta3-test.py \
  113 	xdelta3.1 \
  114 	xdelta3.i \
  115 	xdelta3.vcxproj \
  116 	xdelta3.wxi \
  117 	xdelta3.wxs
  118 
  119 # Broken, removed from distribution:
  120 #	xdelta3_pywrap.c
  121 #	xdelta3.py
  122 
  123 #PYFILES = xdelta3_pywrap.c xdelta3.py
  124 #XDELTA3PY = xdelta3.py
  125 #XDELTA3PYLIB = xdelta3.la
  126 
  127 #BUILT_SOURCES = $(PYFILES)
  128 
  129 #xdelta3_pywrap.c xdelta3.py : xdelta3.i
  130 #	$(SWIG) -python -o xdelta3_pywrap.c xdelta3.i
  131 
  132 # OS X for some reason requires:
  133 # pythondir = $(PYTHON_SITE_PKG)
  134 # pyexecdir = $(PYTHON_SITE_PKG)
  135 
  136 #python_PYTHON = $(XDELTA3PY)
  137 #pyexec_LTLIBRARIES = $(XDELTA3PYLIB)
  138 #_xdelta3_la_SOURCES = $(srcdir)/xdelta3_pywrap.c $(xdelta3_SOURCES)
  139 #_xdelta3_la_CFLAGS = $(common_CFLAGS) -DNOT_MAIN=1 $(PYTHON_CPPFLAGS)
  140 #_xdelta3_la_LDFLAGS = -module