Makefile.am 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # Copyright (C) 2011 Michael McMaster <michael@codesrc.com>
  2. #
  3. # This file is part of libzipper.
  4. #
  5. # libzipper is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # libzipper is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with libzipper. If not, see <http://www.gnu.org/licenses/>.
  17. include doxygen.am
  18. dist_noinst_SCRIPTS = \
  19. autogen.sh
  20. pkgconfigdir = $(libdir)/pkgconfig
  21. pkgconfig_DATA = libzipper1.pc
  22. EXTRA_DIST = \
  23. COPYING \
  24. INSTALL \
  25. INSTALL.Android \
  26. NEWS \
  27. README \
  28. VERSION \
  29. android/zipper/Android.mk
  30. lib_LTLIBRARIES = libzipper.la
  31. libzipper_la_SOURCES = \
  32. Compressor.cc \
  33. CompressedFile.cc \
  34. Container.cc \
  35. Decompressor.cc \
  36. deflate.cc \
  37. deflate.hh \
  38. Exception.cc \
  39. FileReader.cc \
  40. FileWriter.cc \
  41. gzip.cc \
  42. gzip.hh \
  43. Reader.cc \
  44. split.hh \
  45. strerror.hh \
  46. util.hh \
  47. Writer.cc \
  48. zip.hh \
  49. zip.cc
  50. if HAVE_GNU_STRERROR
  51. libzipper_la_SOURCES += \
  52. port/strerror_gnu.cc
  53. else
  54. libzipper_la_SOURCES += \
  55. port/strerror_posix.cc
  56. endif
  57. # Public API headers go here, for installation to /usr/include
  58. include_HEADERS = zipper.hh
  59. libzipper_la_LDFLAGS = ${ZLIB_LIBS} -version-info 1:0
  60. libzipper_la_CFLAGS = ${ZLIB_CFLAGS}
  61. bin_PROGRAMS = zipper
  62. man_MANS = zipper.1
  63. zipper_SOURCES = \
  64. zipper.cc
  65. zipper_LDADD = libzipper.la
  66. CXXFLAGS=-g -O2 -W -Wall -std=c++0x
  67. MOSTLYCLEANFILES=$(DX_CLEANFILES)
  68. install-data-local: doxygen-install
  69. all-local: doxygen-doc