ARCH=@ARCH@ CFLAGS+=-D_LINUX -fPIC -DHAVE_GETTIMEOFDAY -I. -Itimidity -Ilibarc -Iutils ifeq ($(ARCH), powerpc-osx) BUNDLE1_O=-lbundle1.o -L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/ -lgcc endif OBJS= \ timidity/aq.o \ timidity/audio_cnv.o \ timidity/buffer_a.o \ timidity/common.o \ timidity/controls.o \ timidity/sdl_c.o \ timidity/effect.o \ timidity/filter.o \ timidity/freq.o \ timidity/instrum.o \ timidity/miditrace.o \ timidity/mix.o \ timidity/modmid_a.o \ timidity/mt19937ar.o \ timidity/optcode.o \ timidity/output.o \ timidity/playmidi.o \ timidity/quantity.o \ timidity/readmidi.o \ timidity/recache.o \ timidity/resample.o \ timidity/reverb.o \ timidity/sbkconv.o \ timidity/sffile.o \ timidity/sfitem.o \ timidity/smfconv.o \ timidity/smplfile.o \ timidity/sndfont.o \ timidity/tables.o \ timidity/timidity.o \ timidity/version.o \ timidity/wave_a.o \ timidity/wrdt.o \ libarc/url.o \ libarc/url_mem.o \ libarc/url_file.o \ utils/mblock.o \ utils/strtab.o \ utils/fft4g.o \ utils/timer.o \ utils/getopt.o \ timidity_codec.o SLIB=@abs_top_srcdir@/system/players/paplayer/timidity-@ARCH@.so $(SLIB): $(OBJS) exports.def ifeq ($(findstring osx,$(ARCH)), osx) $(CXX) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias -bundle \ -undefined dynamic_lookup -read_only_relocs suppress -o $@ @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o $(OBJS) $(BUNDLE1_O) else $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -o $@ $(OBJS) -Wl,--unresolved-symbols=ignore-all `cat @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.def` \ @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o -Wl,--version-script=exports.def endif include @abs_top_srcdir@/Makefile.include