Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
11,335 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,14 @@ | |
*.lai | ||
*.la | ||
*.a | ||
|
||
# Temporary files | ||
*~ | ||
*.bak | ||
|
||
# Built binary | ||
xbmc-langdload | ||
|
||
# Kdevelop files | ||
.kdev4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
DEBUG := YES | ||
|
||
CC := gcc | ||
CXX := g++ | ||
LD := g++ | ||
AR := ar rc | ||
RANLIB := ranlib | ||
|
||
DEBUG_CXXFLAGS := -Wall -Wno-format -g -DDEBUG | ||
RELEASE_CXXFLAGS := -Wall -Wno-unknown-pragmas -Wno-format -O3 | ||
|
||
LIBS := | ||
|
||
DEBUG_LDFLAGS := -g -lcurl -ljsoncpp | ||
RELEASE_LDFLAGS := -lcurl -ljsoncpp | ||
|
||
ifeq (YES, ${DEBUG}) | ||
CXXFLAGS := ${DEBUG_CXXFLAGS} | ||
LDFLAGS := ${DEBUG_LDFLAGS} | ||
else | ||
CXXFLAGS := ${RELEASE_CXXFLAGS} | ||
LDFLAGS := ${RELEASE_LDFLAGS} | ||
endif | ||
|
||
INCS := | ||
|
||
OUTPUT := xbmc-langdload | ||
|
||
all: ${OUTPUT} | ||
|
||
SRCS := lib/TinyXML/tinyxml.cpp lib/TinyXML/tinyxmlparser.cpp lib/TinyXML/tinystr.cpp lib/TinyXML/tinyxmlerror.cpp \ | ||
lib/HTTPUtils.cpp \ | ||
lib/xbmclangcodes.cpp \ | ||
lib/Settings.h \ | ||
lib/CharsetUtils/CharsetUtils.cpp \ | ||
lib/POUtils/POUtils.cpp \ | ||
lib/FileUtils/FileUtils.cpp \ | ||
lib/Log.cpp \ | ||
lib/POHandler.cpp \ | ||
lib/ResourceHandler.cpp \ | ||
lib/ProjectHandler.cpp \ | ||
lib/UpdateXMLHandler.cpp \ | ||
lib/AddonXMLHandler.cpp \ | ||
lib/JSONHandler.cpp \ | ||
$(OUTPUT) | ||
|
||
OBJS := $(addsuffix .o,$(basename ${SRCS})) | ||
|
||
${OUTPUT}: ${OBJS} | ||
${LD} -o $@ ${OBJS} ${LIBS} ${LDFLAGS} | ||
|
||
%.o : %.cpp | ||
${CXX} -c ${CXXFLAGS} ${INCS} $< -o $@ | ||
|
||
dist: | ||
bash makedistlinux | ||
|
||
clean: | ||
-rm -f core ${OBJS} ${OUTPUT} | ||
|
||
tinyxml.o: tinyxml.h tinyxml.cpp tinystr.o tinyparser.o tinyxmlerror.o | ||
tinyxmlparser.o: tinyxmlparser.cpp tinyxmlparser.h | ||
tinyxmlerror.o: tinyxmlerror.cpp tinyxmlerror.h | ||
tinystr.o: tinystr.cpp tinystr.h | ||
POUtils.o: POUtils.h POUtils.cpp Log.cpp Log.h | ||
CharsteUtils.o: CharsetUtils.h CharsetUtils.cpp Log.cpp Log.h | ||
block_allocator.o: block_allocator.cpp block_allocator.h Log.cpp Log.h | ||
FileUtils.o: FileUtils.h FileUtils.cpp Log.cpp Log.h | ||
POHandler.o: POHandler.h POHandler.cpp POUtils.h POUtils.cpp Log.cpp Log.h | ||
ResourceHandler.o: ResourceHandler.h ResourceHandler.cpp POHandler.h POHandler.cpp Log.cpp Log.h | ||
ProjectHandler.o: ProjectHandler.h ProjectHandler.cpp ResourceHandler.h ResourceHandler.cpp Log.cpp Log.h | ||
UpdateXMLHandler.o: UpdateXMLHandler.h Log.cpp Log.h tinyxml.o | ||
HTTPUtils.o: HTTPUtils.h Log.h Log.cpp | ||
JSONHandler.o: JSONHandler.h JSONHandler.cpp | ||
Settings.o: Settings.h Settings.cpp | ||
AddonXMLHandler.cpp: AddonXMLHandler.h | ||
|
||
install: | ||
install -m 755 xbmc-langdload /usr/local/bin/ | ||
uninstall: | ||
rm -rf /usr/local/bin/xbmc-langdload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
xbmc-langdload | ||
============== | ||
xbmc-txupdate | ||
============= | ||
|
||
Downloader utility to help pulling XBMC translations from XBMC translations github repo to local repos. | ||
Downloader utility to help pulling XBMC translations from XBMC translations github repo to local repos. |
Oops, something went wrong.