Ignore:
Timestamp:
07/30/09 00:00:32 (15 years ago)
Author:
r2d
Message:
  • autotool changes to support symbol visibility on MinGW.
  • mpcchap build must be enabled with --enable-mpcchap
  • mpcgain is built only if replaygain is installed
  • -fvisibility-hidden is added only for gcc4 on Linux
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpcchap/Makefile.am

    r409 r445  
     1EXTRA_DIST = CMakeLists.txt
     2
    13bin_PROGRAMS = mpcchap
    24
    35common_sources = ../common/tags.c ../common/crc32.c
    46
    5 INCLUDES = -I$(top_srcdir)/include
     7AM_CPPFLAGS = -I$(top_srcdir)/include
     8
     9if HAVE_VISIBILITY
     10  AM_CFLAGS = -fvisibility=hidden
     11endif
     12
    613METASOURCES = AUTO
    7 mpcchap_SOURCES = dictionary.c iniparser.c mpcchap.c $(common_sources)
     14mpcchap_SOURCES = dictionary.c iniparser.c mpcchap.c $(common_sources) \
     15dictionary.h iniparser.h
     16
    817mpcchap_LDADD = $(top_builddir)/libmpcdec/libmpcdec.la \
    918        $(top_builddir)/libmpcenc/libmpcenc.a \
    1019        -lm -lcuefile
    11 
    12 noinst_HEADERS = dictionary.h iniparser.h
Note: See TracChangeset for help on using the changeset viewer.