PageRenderTime 2ms CodeModel.GetById 2ms app.highlight 25ms RepoModel.GetById 1ms app.codeStats 0ms

/xbmc/visualizations/Goom/Makefile.in

http://github.com/xbmc/xbmc
Autoconf | 26 lines | 23 code | 3 blank | 0 comment | 0 complexity | 9248db60a43cef7e9a174bf5591f7cf4 MD5 | raw file
 1ARCH=@ARCH@
 2INCLUDES=-I. -I.. -I../../linux -I../../ -Igoom2k4-0/src
 3OBJS=Main.o
 4SLIB=visualization.goom/Goom.vis
 5DEFINES+=-DHAS_SDL_OPENGL -DHAS_SDL
 6CXXFLAGS=-fPIC
 7DIRS=goom2k4-0
 8DISTCLEAN_FILES=../../../addons/visualization.goom
 9
10$(SLIB): $(OBJS) goom2k4-0/src/.libs/libgoom2.a
11ifeq ($(findstring osx,$(ARCH)), osx)
12	$(CXX) $(CXXFLAGS) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \
13		-bundle -undefined suppress -read_only_relocs suppress -o $(SLIB) \
14		@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o goom2k4-0/src/.libs/libgoom2.a  $(OBJS)
15else
16	$(CXX) $(LDFLAGS) -fPIC goom2k4-0/src/*.o -shared $(CXXFLAGS) -o $(SLIB) $(OBJS) \
17		`cat ../../cores/DllLoader/exports/wrapper.def` \
18		../../cores/DllLoader/exports/wrapper.o
19endif
20	@find visualization.goom -regextype posix-extended -type f -not -iregex ".*svn.*|.*\.so|.*\.dll|.*\.pyd|.*\.pvr|.*python/.*\.zlib|.*\.vis" -exec install -D -m 0644 "{}" ../../../addons/"{}" \; -printf " -- %-75.75f\r"
21	@find visualization.goom -type f -not -iregex ".*svn.*|.*win32(dx)?\.vis\.vis" -iregex ".*\.vis" -exec install -D "{}" ../../../addons/"{}" \; -printf " -- %-75.75f\r"
22
23goom2k4-0/src/.libs/libgoom2.a:
24	$(MAKE) -C goom2k4-0
25
26include ../../../Makefile.include