diff options
Diffstat (limited to 'tools/depends/target/dummy-libxbmc/Makefile')
-rw-r--r-- | tools/depends/target/dummy-libxbmc/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/depends/target/dummy-libxbmc/Makefile b/tools/depends/target/dummy-libxbmc/Makefile new file mode 100644 index 0000000000..203dfa1477 --- /dev/null +++ b/tools/depends/target/dummy-libxbmc/Makefile @@ -0,0 +1,24 @@ +include ../../Makefile.include +DEPS= ../../Makefile.include Makefile dummy-libxbmc.c + +LIBDYLIB=libxbmc.so + +all: $(PLATFORM)/$(LIBDYLIB) .installed-$(PLATFORM) + +$(PLATFORM): + mkdir -p $(PLATFORM) + +$(PLATFORM)/$(LIBDYLIB): $(PLATFORM) $(DEPS) + $(CC) -shared -o $(PLATFORM)/libxbmc.so dummy-libxbmc.c + +.installed-$(PLATFORM): $(PLATFORM)/$(LIBDYLIB) + mkdir -p $(PREFIX)/lib/dummy-libxbmc + cp $(PLATFORM)/libxbmc.so $(PREFIX)/lib/dummy-libxbmc + touch $@ + +clean: + rm -rf $(PLATFORM) + rm -f .installed-$(PLATFORM) + +distclean:: + rm -rf $(PLATFORM) .installed-$(PLATFORM) |