You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

236 lines
5.9 KiB

  1. # ts A90315 : LIBBURNIA_PKGCONFDIR is defined OS specific in acinclude.m4
  2. # was: pkgconfigdir=$(libdir)/pkgconfig
  3. pkgconfigdir=$(LIBBURNIA_PKGCONFDIR)
  4. libincludedir=$(includedir)/libburn
  5. lib_LTLIBRARIES = libburn/libburn.la
  6. ACLOCAL_AMFLAGS = -I ./
  7. ## ========================================================================= ##
  8. # Build libraries
  9. libburn_libburn_la_LDFLAGS = \
  10. -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(LIBLDFLAGS)
  11. # This causes undesired .o names
  12. # configure.ac appends -D options to variable CFLAG
  13. ### libburn_libburn_la_CFLAGS = $(LIBBURN_DVD_OBS_64K)
  14. libburn_libburn_la_LIBADD = $(LIBBURN_ARCH_LIBS) $(THREAD_LIBS)
  15. libburn_libburn_la_SOURCES = \
  16. libburn/async.c \
  17. libburn/async.h \
  18. libburn/back_hacks.h \
  19. libburn/cdtext.c \
  20. libburn/cleanup.c \
  21. libburn/cleanup.h \
  22. libburn/crc.c \
  23. libburn/crc.h \
  24. libburn/debug.c \
  25. libburn/debug.h \
  26. libburn/drive.c \
  27. libburn/drive.h \
  28. libburn/ecma130ab.c \
  29. libburn/ecma130ab.h \
  30. libburn/error.h \
  31. libburn/file.c \
  32. libburn/file.h \
  33. libburn/init.c \
  34. libburn/init.h \
  35. libburn/libburn.h \
  36. libburn/libdax_audioxtr.h \
  37. libburn/libdax_audioxtr.c \
  38. libburn/libdax_msgs.h \
  39. libburn/libdax_msgs.c \
  40. libburn/mmc.c \
  41. libburn/mmc.h \
  42. libburn/null.c \
  43. libburn/null.h \
  44. libburn/options.c \
  45. libburn/options.h \
  46. libburn/os.h \
  47. libburn/read.c \
  48. libburn/read.h \
  49. libburn/sbc.c \
  50. libburn/sbc.h \
  51. libburn/sector.c \
  52. libburn/sector.h \
  53. libburn/sg.c \
  54. libburn/sg.h \
  55. libburn/source.h \
  56. libburn/source.c \
  57. libburn/spc.c \
  58. libburn/spc.h \
  59. libburn/structure.c \
  60. libburn/structure.h \
  61. libburn/toc.c \
  62. libburn/toc.h \
  63. libburn/transport.h \
  64. libburn/util.c \
  65. libburn/util.h \
  66. libburn/write.c \
  67. libburn/write.h
  68. ## libburn/sg-@ARCH@.c \
  69. libinclude_HEADERS = \
  70. libburn/libburn.h
  71. install-exec-hook:
  72. $(LIBBURNIA_LDCONFIG_CMD) "$(DESTDIR)$(libdir)" || echo 'NOTE: Explicit dynamic library configuration failed. If needed, configure manually for:' "$(DESTDIR)$(libdir)"
  73. ## ========================================================================= ##
  74. ## Build test applications
  75. noinst_PROGRAMS = \
  76. test/libburner \
  77. test/offst_source \
  78. test/telltoc \
  79. test/dewav \
  80. test/fake_au \
  81. test/poll
  82. bin_PROGRAMS = \
  83. cdrskin/cdrskin
  84. LIBBURN_EXTRALIBS = $(LIBBURN_ARCH_LIBS) $(THREAD_LIBS)
  85. test_libburner_CPPFLAGS = -Ilibburn
  86. test_libburner_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
  87. test_libburner_SOURCES = test/libburner.c
  88. test_offst_source_CPPFLAGS = -Ilibburn
  89. test_offst_source_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
  90. test_offst_source_SOURCES = test/offst_source.c
  91. test_telltoc_CPPFLAGS = -Ilibburn
  92. test_telltoc_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
  93. test_telltoc_SOURCES = test/telltoc.c
  94. test_dewav_CPPFLAGS = -Ilibburn
  95. test_dewav_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
  96. test_dewav_SOURCES = test/dewav.c
  97. test_fake_au_CPPFLAGS =
  98. test_fake_au_LDADD =
  99. test_fake_au_SOURCES = test/fake_au.c
  100. test_poll_CPPFLAGS = -Ilibburn
  101. test_poll_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
  102. test_poll_SOURCES = test/poll.c
  103. ## cdrskin construction site - ts A60816 - B91026
  104. cdrskin_cdrskin_CPPFLAGS = -Ilibburn
  105. cdrskin_cdrskin_CFLAGS = -DCdrskin_libburn_1_5_3
  106. # cdrskin_cdrskin_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
  107. # ts A80123, change proposed by Simon Huggins to cause dynamic libburn linking
  108. cdrskin_cdrskin_LDADD = libburn/libburn.la $(LIBBURN_EXTRALIBS)
  109. cdrskin_cdrskin_SOURCES = cdrskin/cdrskin.c cdrskin/cdrfifo.c cdrskin/cdrfifo.h cdrskin/cdrskin_timestamp.h
  110. ##
  111. ## Open questions: how to compute $timestamp and express -DX="$timestamp"
  112. ##
  113. # "make clean" shall remove a few stubborn .libs directories
  114. # which George Danchev reported Dec 03 2011.
  115. # Learned from: http://www.gnu.org/software/automake/manual/automake.html#Clean
  116. clean-local:
  117. -rm -rf cdrskin/.libs test/.libs
  118. ## ========================================================================= ##
  119. ## Build documentation (You need Doxygen for this to work)
  120. webhost = http://libburn-api.pykix.org
  121. webpath = /
  122. docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
  123. doc: doc/html
  124. doc/html: doc/doxygen.conf
  125. if [ -f ./doc/doc.lock ]; then \
  126. $(RM) -r doc/html; \
  127. doxygen doc/doxygen.conf; \
  128. fi
  129. doc-upload: doc/html
  130. scp -r $</* $(webhost):$(webpath)
  131. ## ts B00729
  132. ## Not by default any more.
  133. ## It is unclear who is supposed to create file ./doc/doc.lock
  134. # all: doc
  135. install-data-local:
  136. if [ -f ./doc/doc.lock ]; then \
  137. $(mkinstalldirs) $(docdir)/html; \
  138. $(INSTALL_DATA) doc/html/* $(docdir)/html; \
  139. fi
  140. uninstall-local:
  141. rm -rf $(docdir)
  142. ## ========================================================================= ##
  143. # Indent source files
  144. indent_files = \
  145. $(libburn_libburn_la_SOURCES) \
  146. $(test_poll_SOURCES)
  147. indent: $(indent_files)
  148. indent -bad -bap -nbbb -nbbo -nbc -bli0 -br -bls \
  149. -cdw -ce -cli0 -ncs -nbfda -i8 -l79 -lc79 \
  150. -lp -saf -sai -nprs -npsl -saw -sob -ss -ut \
  151. -sbi0 -nsc -ts8 -npcs -ncdb -fca \
  152. $^
  153. .PHONY: indent
  154. ## ========================================================================= ##
  155. # Extra things
  156. nodist_pkgconfig_DATA = \
  157. libburn-1.pc
  158. # http://www.nada.kth.se/cgi-bin/info?(automake.info)Man%20pages
  159. man_MANS = cdrskin/cdrskin.1
  160. EXTRA_DIST = \
  161. bootstrap \
  162. libburn-1.pc.in \
  163. version.h.in \
  164. doc/comments \
  165. doc/doxygen.conf.in \
  166. doc/cookbook.txt \
  167. doc/mediainfo.txt \
  168. doc/cdtext.txt \
  169. README \
  170. AUTHORS \
  171. CONTRIBUTORS \
  172. COPYRIGHT \
  173. cdrskin/README \
  174. cdrskin/cdrecord_spy.sh \
  175. cdrskin/compile_cdrskin.sh \
  176. cdrskin/convert_man_to_html.sh \
  177. cdrskin/changelog.txt \
  178. cdrskin/cdrskin_eng.html \
  179. cdrskin/wiki_plain.txt \
  180. cdrskin/cleanup.h \
  181. cdrskin/cleanup.c \
  182. libburn/libburn.ver \
  183. libburn/os-dummy.h \
  184. libburn/os-freebsd.h \
  185. libburn/os-linux.h \
  186. libburn/os-libcdio.h \
  187. libburn/os-solaris.h \
  188. libburn/os-netbsd.h \
  189. libburn/sg-dummy.c \
  190. libburn/sg-freebsd.c \
  191. libburn/sg-linux.c \
  192. libburn/sg-libcdio.c \
  193. libburn/sg-solaris.c \
  194. libburn/sg-netbsd.c \
  195. COPYING \
  196. NEWS \
  197. ChangeLog \
  198. INSTALL \
  199. $(man_MANS)