diff options
Diffstat (limited to 'lib/libsidplay2/Makefile.in')
-rw-r--r-- | lib/libsidplay2/Makefile.in | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/libsidplay2/Makefile.in b/lib/libsidplay2/Makefile.in index 5dda4c9328..cc1c6f5ffa 100644 --- a/lib/libsidplay2/Makefile.in +++ b/lib/libsidplay2/Makefile.in @@ -3,7 +3,7 @@ ARCH=@ARCH@ SIDFLAGS =-D_LINUX -DHAVE_UNIX -DHAVE_STRCASECMP -DHAVE_STRNCASECMP \ -DHAVE_IOS_OPENMODE -fPIC -Ilibsidplay/win/VC \ -Ibuilders/resid-builder/include/sidplay/builders \ - -Ilibsidplay/include/sidplay -Iresid -Ilibsidplay/include -fPIC + -Ilibsidplay/include/sidplay -Iresid -Ilibsidplay/include -I. -fPIC CFLAGS += $(SIDFLAGS) CXXFLAGS += $(SIDFLAGS) ifeq ($(ARCH), powerpc-osx) @@ -54,13 +54,18 @@ SLIB=@abs_top_srcdir@/system/players/paplayer/libsidplay2-@ARCH@.so $(SLIB): $(OBJS) ifeq ($(findstring osx,$(ARCH)), osx) - $(CXX) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \ + $(SILENT_CPP) $(CXX) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/src/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) + @abs_top_srcdir@/src/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 + $(SILENT_CPP) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -o $@ $(OBJS) -Wl,--unresolved-symbols=ignore-all \ + `cat @abs_top_srcdir@/src/cores/DllLoader/exports/wrapper.def` @abs_top_srcdir@/src/cores/DllLoader/exports/wrapper.o endif include @abs_top_srcdir@/Makefile.include +%.o: %.cpp + @rm -f $@ + $(SILENT_CPP) $(CXX) -MF $*.d -MD -c $(CXXFLAGS) $< -o $@ \ + && $(GEN_DEPS) + |