Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. # ts A90315 : LIBBURNIA_PKGCONFDIR is defined OS specific in acinclude.m4
  3. # was: pkgconfigdir=$(libdir)/pkgconfig
  4. pkgconfigdir=$(LIBBURNIA_PKGCONFDIR)
  5.  
  6. libincludedir=$(includedir)/libisofs
  7.  
  8. lib_LTLIBRARIES = libisofs/libisofs.la
  9. ACLOCAL_AMFLAGS = -I ./ -I m4
  10.  
  11. ## ========================================================================= ##
  12.  
  13. # Build libraries
  14.  
  15. libisofs_libisofs_la_LDFLAGS = \
  16.     -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(LIBLDFLAGS)
  17.  
  18. # Eventually enabling system adapters for ACL and EA.
  19. # ts A90409: Eventually enabling use of zlib.
  20. # ts B00927: Eventually enabling use of libjte (Jigdo Template Extraction)
  21. libisofs_libisofs_la_CFLAGS = $(LIBACL_DEF) $(XATTR_DEF) $(ZLIB_DEF) \
  22.                               $(LIBJTE_DEF)
  23.  
  24. # ts A90114 : added aaip_0_2.*
  25.  
  26. libisofs_libisofs_la_SOURCES = \
  27.     libisofs/builder.h \
  28.     libisofs/builder.c \
  29.     libisofs/node.h \
  30.     libisofs/node.c \
  31.     libisofs/tree.h \
  32.     libisofs/tree.c \
  33.     libisofs/find.c \
  34.     libisofs/image.h \
  35.     libisofs/image.c \
  36.     libisofs/fsource.h \
  37.     libisofs/fsource.c \
  38.     libisofs/fs_local.c \
  39.     libisofs/fs_image.c \
  40.     libisofs/messages.h \
  41.     libisofs/messages.c \
  42.     libisofs/libiso_msgs.h \
  43.     libisofs/libiso_msgs.c \
  44.     libisofs/stream.h \
  45.     libisofs/stream.c \
  46.     libisofs/filter.h \
  47.     libisofs/filter.c \
  48.     libisofs/filters/external.c \
  49.     libisofs/filters/zisofs.c \
  50.     libisofs/filters/gzip.c \
  51.     libisofs/util.h \
  52.     libisofs/util.c \
  53.     libisofs/util_rbtree.c \
  54.     libisofs/util_htable.c \
  55.     libisofs/filesrc.h \
  56.     libisofs/filesrc.c \
  57.     libisofs/ecma119.h \
  58.     libisofs/ecma119.c \
  59.     libisofs/ecma119_tree.h \
  60.     libisofs/ecma119_tree.c \
  61.     libisofs/writer.h \
  62.     libisofs/buffer.h \
  63.     libisofs/buffer.c \
  64.     libisofs/rockridge.h \
  65.     libisofs/rockridge.c \
  66.     libisofs/rockridge_read.c \
  67.     libisofs/joliet.h \
  68.     libisofs/joliet.c \
  69.     libisofs/hfsplus.h \
  70.     libisofs/hfsplus.c \
  71.     libisofs/hfsplus_decompose.c \
  72.     libisofs/hfsplus_classes.c \
  73.     libisofs/hfsplus_case.c \
  74.     libisofs/eltorito.h \
  75.     libisofs/eltorito.c \
  76.     libisofs/system_area.h \
  77.     libisofs/system_area.c \
  78.     libisofs/make_isohybrid_mbr.c \
  79.     libisofs/iso1999.h \
  80.     libisofs/iso1999.c \
  81.     libisofs/data_source.c \
  82.     libisofs/aaip_0_2.h \
  83.     libisofs/aaip_0_2.c \
  84.     libisofs/md5.h \
  85.     libisofs/md5.c
  86. libisofs_libisofs_la_LIBADD= \
  87.     $(THREAD_LIBS)
  88. libinclude_HEADERS = \
  89.     libisofs/libisofs.h
  90.  
  91. install-exec-hook:
  92.     $(LIBBURNIA_LDCONFIG_CMD) "$(DESTDIR)$(libdir)" || echo 'NOTE: Explicit dynamic library configuration failed. If needed, configure manually for:' "$(DESTDIR)$(libdir)"
  93.  
  94. ## ========================================================================= ##
  95.  
  96. ## Build demo applications
  97. noinst_PROGRAMS = \
  98.     demo/demo
  99.  
  100. #   demo/tree \
  101. #   demo/find \
  102. #   demo/iso \
  103. #   demo/isoread \
  104. #   demo/isocat \
  105. #   demo/isomodify \
  106. #   demo/isoms
  107.  
  108. #   demo/ecma119tree \
  109. #   demo/lsl \
  110. #   demo/cat \
  111. #   demo/catbuffer \
  112. #   demo/isogrow
  113.  
  114.  
  115. # ts A90807
  116. # Consolidated demo code for having less linker mesages with a make run.
  117. demo_demo_CPPFLAGS = -Ilibisofs
  118. demo_demo_LDADD = $(libisofs_libisofs_la_OBJECTS) $(libisofs_libisofs_la_LIBADD)
  119. demo_demo_SOURCES = demo/demo.c
  120.  
  121. # ts A90806
  122. # This includes fsource.h and thus is no API demo
  123. # demo_lsl_CPPFLAGS = -Ilibisofs
  124. # demo_lsl_LDADD = $(libisofs_libisofs_la_OBJECTS) $(libisofs_libisofs_la_LIBADD)
  125. # demo_lsl_SOURCES = demo/lsl.c
  126.  
  127. # ts A90806
  128. # This includes fsource.h and thus is no API demo
  129. # demo_cat_CPPFLAGS = -Ilibisofs
  130. # demo_cat_LDADD = $(libisofs_libisofs_la_OBJECTS) $(libisofs_libisofs_la_LIBADD)
  131. # demo_cat_SOURCES = demo/cat.c
  132.  
  133. # ts A90806
  134. # This inlcudes buffer.h and thus is no API demo
  135. # demo_catbuffer_CPPFLAGS = -Ilibisofs
  136. # demo_catbuffer_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  137. #   $(libisofs_libisofs_la_LIBADD)
  138. # demo_catbuffer_SOURCES = demo/cat_buffer.c
  139.  
  140. # ts A90807
  141. # Consolidated in demo/demo
  142. # demo_tree_CPPFLAGS = -Ilibisofs
  143. # demo_tree_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  144. #   $(libisofs_libisofs_la_LIBADD)
  145. # demo_tree_SOURCES = demo/tree.c
  146.  
  147. # ts A90807
  148. # Consolidated in demo/demo
  149. # demo_find_CPPFLAGS = -Ilibisofs
  150. # demo_find_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  151. #   $(libisofs_libisofs_la_LIBADD)
  152. # demo_find_SOURCES = demo/find.c
  153.  
  154. # ts A90806
  155. # This inlcudes lots of internal .h files and thus is no API demo
  156. # demo_ecma119tree_CPPFLAGS = -Ilibisofs
  157. # demo_ecma119tree_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  158. #   $(libisofs_libisofs_la_LIBADD)
  159. # demo_ecma119tree_SOURCES = demo/ecma119_tree.c
  160.  
  161. # ts A90807
  162. # Consolidated in demo/demo
  163. # demo_iso_CPPFLAGS = -Ilibisofs
  164. # demo_iso_LDADD = $(libisofs_libisofs_la_OBJECTS) $(libisofs_libisofs_la_LIBADD)
  165. # demo_iso_SOURCES = demo/iso.c
  166.  
  167. # ts A90807
  168. # Consolidated in demo/demo
  169. # demo_isoread_CPPFLAGS = -Ilibisofs
  170. # demo_isoread_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  171. #   $(libisofs_libisofs_la_LIBADD)
  172. # demo_isoread_SOURCES = demo/iso_read.c
  173.  
  174. # ts A90807
  175. # Consolidated in demo/demo
  176. # demo_isocat_CPPFLAGS = -Ilibisofs
  177. # demo_isocat_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  178. #   $(libisofs_libisofs_la_LIBADD)
  179. # demo_isocat_SOURCES = demo/iso_cat.c
  180.  
  181. # ts A90807
  182. # Consolidated in demo/demo
  183. # demo_isomodify_CPPFLAGS = -Ilibisofs
  184. # demo_isomodify_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  185. #   $(libisofs_libisofs_la_LIBADD)
  186. # demo_isomodify_SOURCES = demo/iso_modify.c
  187.  
  188. # ts A90807
  189. # Consolidated in demo/demo
  190. # demo_isoms_CPPFLAGS = -Ilibisofs
  191. # demo_isoms_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  192. #   $(libisofs_libisofs_la_LIBADD)
  193. # demo_isoms_SOURCES = demo/iso_ms.c
  194.  
  195. # demo_isogrow_CPPFLAGS = -Ilibisofs -Ilibburn
  196. # demo_isogrow_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  197. #   $(libisofs_libisofs_la_LIBADD) \
  198. #   -lburn
  199. # demo_isogrow_SOURCES = demo/iso_grow.c
  200.  
  201.  
  202. ## ts A90428 , ticket 147, The test code does not use the API and is totally
  203. ##                         outdated in its creation of mocked objects.
  204. ##                         A volunteer is needed to rewrite it using the API.
  205.  
  206. # ## Build unit test
  207.  
  208. # check_PROGRAMS = \
  209. #   test/test
  210. #  
  211. # test_test_CPPFLAGS = -Ilibisofs
  212. # test_test_LDADD = $(libisofs_libisofs_la_OBJECTS) \
  213. #   $(libisofs_libisofs_la_LIBADD) -lcunit
  214. # test_test_LDFLAGS = -L.. -lm
  215. #  
  216. # test_test_SOURCES = \
  217. #   test/test.h \
  218. #   test/test.c \
  219. #   test/test_node.c \
  220. #   test/test_image.c \
  221. #   test/test_tree.c \
  222. #   test/test_util.c \
  223. #   test/test_rockridge.c \
  224. #   test/test_stream.c \
  225. #   test/mocked_fsrc.h \
  226. #   test/mocked_fsrc.c
  227.  
  228. # "make clean" shall remove a few stubborn .libs directories
  229. # which George Danchev reported Dec 03 2011.
  230. # Learned from: http://www.gnu.org/software/automake/manual/automake.html#Clean
  231. clean-local:
  232.     -rm -rf demo/.libs
  233.  
  234. ## ========================================================================= ##
  235.  
  236. ## Build documentation (You need Doxygen for this to work)
  237.  
  238. docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
  239.  
  240. doc:    doc/html
  241.  
  242. doc/html: doc/doxygen.conf
  243.     $(RM) -r doc/html; \
  244.     doxygen doc/doxygen.conf;
  245.  
  246. install-data-local:
  247.     if [ -d doc/html ]; then \
  248.         $(mkinstalldirs) $(docdir)/html; \
  249.         $(INSTALL_DATA) doc/html/* $(docdir)/html; \
  250.     fi
  251.  
  252. uninstall-local:
  253.     rm -rf $(docdir)
  254.  
  255. ## ========================================================================= ##
  256.  
  257. # Extra things
  258. nodist_pkgconfig_DATA = \
  259.     libisofs-1.pc
  260.  
  261. # ts A80114 : added aaip-os*
  262.  
  263. EXTRA_DIST = \
  264.     bootstrap \
  265.     libisofs-1.pc.in \
  266.     version.h.in \
  267.     doc/doxygen.conf.in \
  268.     doc/Tutorial \
  269.     README \
  270.     AUTHORS \
  271.     COPYRIGHT \
  272.     COPYING \
  273.     NEWS \
  274.     INSTALL \
  275.     TODO \
  276.     ChangeLog \
  277.     Roadmap \
  278.     doc/susp_aaip_2_0.txt \
  279.     doc/susp_aaip_isofs_names.txt \
  280.     doc/zisofs_format.txt \
  281.     doc/checksums.txt \
  282.     libisofs/libisofs.ver \
  283.     libisofs/aaip-os-dummy.c \
  284.     libisofs/aaip-os-linux.c \
  285.     libisofs/aaip-os-freebsd.c \
  286.     m4/gnulib-cache.m4
  287.    
  288. SUBDIRS = lib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement