Counter Strike : Global Offensive Source Code
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.

140 lines
4.3 KiB

  1. ##
  2. ## libmad - MPEG audio decoder library
  3. ## Copyright (C) 2000-2004 Underbit Technologies, Inc.
  4. ##
  5. ## This program 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 2 of the License, or
  8. ## (at your option) any later version.
  9. ##
  10. ## This program 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 this program; if not, write to the Free Software
  17. ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18. ##
  19. ## $Id: Makefile.am,v 1.23 2004/02/17 02:02:03 rob Exp $
  20. ##
  21. ## Process this file with automake to produce Makefile.in
  22. SUBDIRS =
  23. DIST_SUBDIRS = msvc++
  24. lib_LTLIBRARIES = libmad.la
  25. include_HEADERS = mad.h
  26. EXTRA_PROGRAMS = minimad
  27. minimad_SOURCES = minimad.c
  28. minimad_INCLUDES =
  29. minimad_LDADD = libmad.la
  30. EXTRA_DIST = mad.h.sed \
  31. CHANGES COPYRIGHT CREDITS README TODO VERSION
  32. exported_headers = version.h fixed.h bit.h timer.h stream.h frame.h \
  33. synth.h decoder.h
  34. headers = $(exported_headers) \
  35. global.h layer12.h layer3.h huffman.h
  36. data_includes = D.dat imdct_s.dat qc_table.dat rq_table.dat \
  37. sf_table.dat
  38. libmad_la_SOURCES = version.c fixed.c bit.c timer.c stream.c frame.c \
  39. synth.c decoder.c layer12.c layer3.c huffman.c \
  40. $(headers) $(data_includes)
  41. EXTRA_libmad_la_SOURCES = imdct_l_arm.S #synth_mmx.S
  42. libmad_la_DEPENDENCIES = @ASO_OBJS@
  43. libmad_la_LIBADD = @ASO_OBJS@
  44. INCLUDES = $(FPM) $(ASO)
  45. BUILT_SOURCES = mad.h
  46. CLEANFILES = mad.h
  47. ## From the libtool documentation on library versioning:
  48. ##
  49. ## CURRENT
  50. ## The most recent interface number that this library implements.
  51. ##
  52. ## REVISION
  53. ## The implementation number of the CURRENT interface.
  54. ##
  55. ## AGE
  56. ## The difference between the newest and oldest interfaces that this
  57. ## library implements. In other words, the library implements all the
  58. ## interface numbers in the range from number `CURRENT - AGE' to
  59. ## `CURRENT'.
  60. ##
  61. ## If two libraries have identical CURRENT and AGE numbers, then the
  62. ## dynamic linker chooses the library with the greater REVISION number.
  63. ##
  64. ## 1. Start with version information of `0:0:0' for each libtool library.
  65. ##
  66. ## 2. Update the version information only immediately before a public
  67. ## release of your software. More frequent updates are unnecessary,
  68. ## and only guarantee that the current interface number gets larger
  69. ## faster.
  70. ##
  71. ## 3. If the library source code has changed at all since the last
  72. ## update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
  73. ##
  74. ## 4. If any interfaces have been added, removed, or changed since the
  75. ## last update, increment CURRENT, and set REVISION to 0.
  76. ##
  77. ## 5. If any interfaces have been added since the last public release,
  78. ## then increment AGE.
  79. ##
  80. ## 6. If any interfaces have been removed since the last public release,
  81. ## then set AGE to 0.
  82. version_current = 2
  83. version_revision = 1
  84. version_age = 2
  85. version_info = $(version_current):$(version_revision):$(version_age)
  86. libmad_la_LDFLAGS = -version-info $(version_info)
  87. mad.h: config.status config.h Makefile.am \
  88. $(srcdir)/COPYRIGHT $(srcdir)/mad.h.sed $(exported_headers)
  89. (sed -e '1s|.*|/*|' -e '1b' -e '$$s|.*| */|' -e '$$b' \
  90. -e 's/^.*/ *&/' $(srcdir)/COPYRIGHT; echo; \
  91. echo "# ifdef __cplusplus"; \
  92. echo 'extern "C" {'; \
  93. echo "# endif"; echo; \
  94. if [ ".$(FPM)" != "." ]; then \
  95. echo ".$(FPM)" | sed -e 's|^\.-D|# define |'; echo; \
  96. fi; \
  97. sed -ne 's/^# *define *\(HAVE_.*_ASM\).*/# define \1/p' \
  98. config.h; echo; \
  99. sed -ne 's/^# *define *OPT_\(SPEED\|ACCURACY\).*/# define OPT_\1/p' \
  100. config.h; echo; \
  101. sed -ne 's/^# *define *\(SIZEOF_.*\)/# define \1/p' \
  102. config.h; echo; \
  103. for header in $(exported_headers); do \
  104. echo; \
  105. sed -n -f $(srcdir)/mad.h.sed $(srcdir)/$$header; \
  106. done; echo; \
  107. echo "# ifdef __cplusplus"; \
  108. echo '}'; \
  109. echo "# endif") >$@
  110. libtool: $(LIBTOOL_DEPS)
  111. $(SHELL) ./config.status --recheck
  112. .c.s:
  113. $(COMPILE) -S $<
  114. again:
  115. $(MAKE) clean
  116. $(MAKE)
  117. .PHONY: again