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/mpcenc/Makefile.am

    r410 r445  
     1EXTRA_DIST = CMakeLists.txt
     2
     3if HAVE_VISIBILITY
     4  AM_CFLAGS = -fvisibility=hidden
     5endif
     6
    17bin_PROGRAMS = mpcenc
    28
     
    713
    814# set the include path found by configure
    9 INCLUDES = -I$(top_srcdir)/libmpcenc -I$(top_srcdir)/libmpcpsy \
    10         -I$(top_srcdir)/include/ $(all_includes)
     15AM_CPPFLAGS = -I$(top_srcdir)/libmpcenc -I$(top_srcdir)/libmpcpsy \
     16        -I$(top_srcdir)/include/ $(all_includes) \
     17        -DTRUE=1 -DFALSE=0
    1118
    1219# the library search path.
    1320mpcenc_LDFLAGS = $(all_libraries)
    1421mpcenc_SOURCES = keyboard.c mpcenc.c pipeopen.c stderr.c wave_in.c winmsg.c \
    15         $(common_sources)
     22        $(common_sources) \
     23        mpcenc.h predict.h config.h
     24
    1625mpcenc_LDADD = -lm \
    1726        $(EXTRALIBS) \
    1827        $(top_builddir)/libmpcpsy/libmpcpsy.a \
    1928        $(top_builddir)/libmpcenc/libmpcenc.a
    20 AM_CFLAGS = -DTRUE=1 -DFALSE=0
    2129
    22 noinst_HEADERS = mpcenc.h predict.h config.h
Note: See TracChangeset for help on using the changeset viewer.