Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 1.96 KB
ARCH=@ARCH@
SYSROOT=@SYSROOT@
CFLAGS +=-D_LINUX -DHAVE_UNIX -DHAVE_STRCASECMP -DHAVE_STRNCASECMP -DHAVE_IOS_OPENMODE -Ilibsidplay/win/VC -Ibuilders/resid-builder/include/sidplay/builders -Ilibsidplay/include/sidplay -Iresid -Ilibsidplay/include -I../../../linux -I../../../utils -I../../../ -I../../../../guilib/
CXXFLAGS += $(CFLAGS)
ifeq ($(ARCH), powerpc-osx)
BUNDLE1_O=-lbundle1.o -L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/ -lgcc
endif
OBJS=libsidplay/src/mos6510/mos6510.o libsidplay/src/mos6526/mos6526.o libsidplay/src/mos656x/mos656x.o libsidplay/src/sid6526/sid6526.o libsidplay/src/sidtune/IconInfo.o libsidplay/src/sidtune/InfoFile.o libsidplay/src/sidtune/MUS.o libsidplay/src/sidtune/p00.o libsidplay/src/sidtune/PP20.o libsidplay/src/sidtune/prg.o libsidplay/src/sidtune/PSID.o libsidplay/src/sidtune/SidTune.o libsidplay/src/sidtune/SidTuneTools.o libsidplay/src/xsid/xsid.o libsidplay/src/config.o resid/envelope.o libsidplay/src/event.o resid/extfilt.o resid/filter.o libsidplay/src/mixer.o libsidplay/src/player.o resid/pot.o libsidplay/src/psiddrv.o libsidplay/src/reloc65.o builders/resid-builder/src/resid-builder.o builders/resid-builder/src/resid.o resid/sid.o libsidplay/src/sidplay2.o resid/version.o resid/voice.o resid/wave.o resid/wave6581__ST.o resid/wave6581_P_T.o resid/wave6581_PS_.o resid/wave6581_PST.o resid/wave8580__ST.o resid/wave8580_P_T.o resid/wave8580_PS_.o resid/wave8580_PST.o libsidplay/win/VC/XBMCSID.o
SLIB=../../../../system/players/paplayer/libsidplay2-@ARCH@.so
$(SLIB): $(OBJS) ../../../linux/XHandle.o
ifeq ($(findstring osx,$(ARCH)), osx)
$(CXX) $(SYSROOT) -bundle -undefined dynamic_lookup -read_only_relocs suppress -o $@ \
$(OBJS) ../../../linux/XHandle.o $(BUNDLE1_O)
../../../../tools/Mach5/wrapper.rb $@;mv output.so $@
chmod +x $@
else
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -o $@ $(OBJS) ../../../linux/XHandle.o `cat ../../DllLoader/exports/wrapper.def` ../../DllLoader/exports/wrapper.o
endif
include ../../../../Makefile.include
Something went wrong with that request. Please try again.