kodi: add addons for audioencoders
[openadk.git] / package / kodi / patches / patch-tools_depends_native_TexturePacker_Makefile
blobe88a71542d9b7b8d34dbe4f4f6d1c0104c319d10
1 --- xbmc-17.6-Krypton.orig/tools/depends/native/TexturePacker/Makefile  2017-11-14 17:55:01.000000000 +0100
2 +++ xbmc-17.6-Krypton/tools/depends/native/TexturePacker/Makefile       2018-02-01 20:40:08.806433242 +0100
3 @@ -1,60 +1,310 @@
4 -ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
5 --include ../../Makefile.include
6 +# CMAKE generated file: DO NOT EDIT!
7 +# Generated by "Unix Makefiles" Generator, CMake Version 3.8
8  
9 -ifeq ($(NATIVEPREFIX),)
10 -  PREFIX = $(ROOT_DIR)
11 -else
12 -  PREFIX = $(NATIVEPREFIX)
13 -endif
14 +# Default target executed when no arguments are given to make.
15 +default_target: all
17 -ifeq ($(NATIVEPLATFORM),)
18 -  PLATFORM = native
19 -  EXTRA_CONFIGURE = --enable-static
20 -else
21 -  PLATFORM = $(NATIVEPLATFORM)
22 -endif
23 +.PHONY : default_target
25 -ifeq ($(NATIVE_OS), linux)
26 -  EXTRA_CONFIGURE = --enable-static
27 -endif
28 -ifeq ($(NATIVE_OS), android)
29 -  EXTRA_CONFIGURE = --enable-static
30 -endif
31 +# Allow only one "make -f Makefile2" at a time, but pass parallelism.
32 +.NOTPARALLEL:
34 -ifeq ($(CORE_SOURCE_DIR),)
35 -  CORE_SOURCE_DIR = $(ROOT_DIR)/../../../..
36 -endif
38 -SOURCE=$(ROOT_DIR)/src
39 +#=============================================================================
40 +# Special targets provided by cmake.
42 -APP=$(PLATFORM)/TexturePacker
43 -APPBIN=$(PREFIX)/bin/TexturePacker
44 +# Disable implicit rules so canonical targets will work.
45 +.SUFFIXES:
47 -all: .installed-$(PLATFORM)
49 -$(PLATFORM):
50 -       -rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
51 -       cd $(PLATFORM); cp -a $(SOURCE)/* .
52 -       cd $(PLATFORM); ./autogen.sh
53 -       cd $(PLATFORM); ./configure --prefix=$(PREFIX) $(EXTRA_CONFIGURE) EXTRA_DEFINES="$(NATIVE_ARCH_DEFINES)"
54 +# Remove some rules from gmake that .SUFFIXES does not remove.
55 +SUFFIXES =
57 +.SUFFIXES: .hpux_make_needs_suffix_list
59 -$(APP): $(PLATFORM)
60 -       $(MAKE) -C $(PLATFORM)
62 -.installed-$(PLATFORM): $(APP)
63 -       $(MAKE) -C $(PLATFORM) install
64 -       touch $@
65 -       #TEMP workaround for skins: create legacy link. Remove me when skins are fixed
66 -       @mkdir -p $(CORE_SOURCE_DIR)/tools/TexturePacker
67 -       @[ -f $(CORE_SOURCE_DIR)/tools/TexturePacker/TexturePacker ] && rm $(CORE_SOURCE_DIR)/tools/TexturePacker/TexturePacker || :
68 -       @ln -sf $(APPBIN) $(CORE_SOURCE_DIR)/tools/TexturePacker/TexturePacker
69 -       @echo "all:" > $(CORE_SOURCE_DIR)/tools/TexturePacker/Makefile
70 -       @echo "\t@echo "WARNING: use of tools/TexturePacker/TexturePacker is deprecated, please update your skins Makefile"" >> $(CORE_SOURCE_DIR)/tools/TexturePacker/Makefile
71 +# Suppress display of executed commands.
72 +$(VERBOSE).SILENT:
75 +# A target that is always out of date.
76 +cmake_force:
78 +.PHONY : cmake_force
80 +#=============================================================================
81 +# Set environment variables for the build.
83 +# The shell in which to execute make rules.
84 +SHELL = /bin/sh
86 +# The CMake executable.
87 +CMAKE_COMMAND = /home/wbx/rpi2/host_x86_64-linux-gnu/usr/bin/cmake
89 +# The command to remove a file.
90 +RM = /home/wbx/rpi2/host_x86_64-linux-gnu/usr/bin/cmake -E remove -f
92 +# Escaping for special characters.
93 +EQUALS = =
95 +# The top-level source directory on which CMake was run.
96 +CMAKE_SOURCE_DIR = /home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/tools/depends/native/TexturePacker
98 +# The top-level build directory on which CMake was run.
99 +CMAKE_BINARY_DIR = /home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/tools/depends/native/TexturePacker
101 +#=============================================================================
102 +# Targets provided globally by CMake.
104 +# Special rule for the target rebuild_cache
105 +rebuild_cache:
106 +       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
107 +       /home/wbx/rpi2/host_x86_64-linux-gnu/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
108 +.PHONY : rebuild_cache
110 +# Special rule for the target rebuild_cache
111 +rebuild_cache/fast: rebuild_cache
113 +.PHONY : rebuild_cache/fast
115 +# Special rule for the target edit_cache
116 +edit_cache:
117 +       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
118 +       /home/wbx/rpi2/host_x86_64-linux-gnu/usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
119 +.PHONY : edit_cache
121 +# Special rule for the target edit_cache
122 +edit_cache/fast: edit_cache
124 +.PHONY : edit_cache/fast
126 +# The main all target
127 +all: cmake_check_build_system
128 +       $(CMAKE_COMMAND) -E cmake_progress_start /home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/tools/depends/native/TexturePacker/CMakeFiles /home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/tools/depends/native/TexturePacker/CMakeFiles/progress.marks
129 +       $(MAKE) -f CMakeFiles/Makefile2 all
130 +       $(CMAKE_COMMAND) -E cmake_progress_start /home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/tools/depends/native/TexturePacker/CMakeFiles 0
131 +.PHONY : all
133 +# The main clean target
134  clean:
135 -       $(MAKE) -C $(PLATFORM) clean
136 +       $(MAKE) -f CMakeFiles/Makefile2 clean
137 +.PHONY : clean
139 +# The main clean target
140 +clean/fast: clean
142 +.PHONY : clean/fast
144 +# Prepare targets for installation.
145 +preinstall: all
146 +       $(MAKE) -f CMakeFiles/Makefile2 preinstall
147 +.PHONY : preinstall
149 +# Prepare targets for installation.
150 +preinstall/fast:
151 +       $(MAKE) -f CMakeFiles/Makefile2 preinstall
152 +.PHONY : preinstall/fast
154 +# clear depends
155 +depend:
156 +       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
157 +.PHONY : depend
159 +#=============================================================================
160 +# Target rules for targets named TexturePacker
162 +# Build rule for target.
163 +TexturePacker: cmake_check_build_system
164 +       $(MAKE) -f CMakeFiles/Makefile2 TexturePacker
165 +.PHONY : TexturePacker
167 +# fast build rule for target.
168 +TexturePacker/fast:
169 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/build
170 +.PHONY : TexturePacker/fast
172 +# target to build an object file
173 +home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.o:
174 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.o
175 +.PHONY : home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.o
177 +# target to preprocess a source file
178 +home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.i:
179 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.i
180 +.PHONY : home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.i
182 +# target to generate assembly for a file
183 +home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.s:
184 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.s
185 +.PHONY : home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.s
187 +# target to build an object file
188 +src/DecoderManager.o:
189 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/DecoderManager.o
190 +.PHONY : src/DecoderManager.o
192 +# target to preprocess a source file
193 +src/DecoderManager.i:
194 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/DecoderManager.i
195 +.PHONY : src/DecoderManager.i
197 +# target to generate assembly for a file
198 +src/DecoderManager.s:
199 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/DecoderManager.s
200 +.PHONY : src/DecoderManager.s
202 +# target to build an object file
203 +src/TexturePacker.o:
204 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/TexturePacker.o
205 +.PHONY : src/TexturePacker.o
207 +# target to preprocess a source file
208 +src/TexturePacker.i:
209 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/TexturePacker.i
210 +.PHONY : src/TexturePacker.i
212 +# target to generate assembly for a file
213 +src/TexturePacker.s:
214 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/TexturePacker.s
215 +.PHONY : src/TexturePacker.s
217 +# target to build an object file
218 +src/XBTFWriter.o:
219 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/XBTFWriter.o
220 +.PHONY : src/XBTFWriter.o
222 +# target to preprocess a source file
223 +src/XBTFWriter.i:
224 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/XBTFWriter.i
225 +.PHONY : src/XBTFWriter.i
227 +# target to generate assembly for a file
228 +src/XBTFWriter.s:
229 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/XBTFWriter.s
230 +.PHONY : src/XBTFWriter.s
232 +# target to build an object file
233 +src/decoder/GIFDecoder.o:
234 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/GIFDecoder.o
235 +.PHONY : src/decoder/GIFDecoder.o
237 +# target to preprocess a source file
238 +src/decoder/GIFDecoder.i:
239 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/GIFDecoder.i
240 +.PHONY : src/decoder/GIFDecoder.i
242 +# target to generate assembly for a file
243 +src/decoder/GIFDecoder.s:
244 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/GIFDecoder.s
245 +.PHONY : src/decoder/GIFDecoder.s
247 +# target to build an object file
248 +src/decoder/GifHelper.o:
249 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/GifHelper.o
250 +.PHONY : src/decoder/GifHelper.o
252 +# target to preprocess a source file
253 +src/decoder/GifHelper.i:
254 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/GifHelper.i
255 +.PHONY : src/decoder/GifHelper.i
257 +# target to generate assembly for a file
258 +src/decoder/GifHelper.s:
259 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/GifHelper.s
260 +.PHONY : src/decoder/GifHelper.s
262 +# target to build an object file
263 +src/decoder/JPGDecoder.o:
264 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/JPGDecoder.o
265 +.PHONY : src/decoder/JPGDecoder.o
267 +# target to preprocess a source file
268 +src/decoder/JPGDecoder.i:
269 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/JPGDecoder.i
270 +.PHONY : src/decoder/JPGDecoder.i
272 +# target to generate assembly for a file
273 +src/decoder/JPGDecoder.s:
274 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/JPGDecoder.s
275 +.PHONY : src/decoder/JPGDecoder.s
277 +# target to build an object file
278 +src/decoder/PNGDecoder.o:
279 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/PNGDecoder.o
280 +.PHONY : src/decoder/PNGDecoder.o
282 +# target to preprocess a source file
283 +src/decoder/PNGDecoder.i:
284 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/PNGDecoder.i
285 +.PHONY : src/decoder/PNGDecoder.i
287 +# target to generate assembly for a file
288 +src/decoder/PNGDecoder.s:
289 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/decoder/PNGDecoder.s
290 +.PHONY : src/decoder/PNGDecoder.s
292 +# target to build an object file
293 +src/md5.o:
294 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/md5.o
295 +.PHONY : src/md5.o
297 +# target to preprocess a source file
298 +src/md5.i:
299 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/md5.i
300 +.PHONY : src/md5.i
302 +# target to generate assembly for a file
303 +src/md5.s:
304 +       $(MAKE) -f CMakeFiles/TexturePacker.dir/build.make CMakeFiles/TexturePacker.dir/src/md5.s
305 +.PHONY : src/md5.s
307 +# Help Target
308 +help:
309 +       @echo "The following are some of the valid targets for this Makefile:"
310 +       @echo "... all (the default if no target is provided)"
311 +       @echo "... clean"
312 +       @echo "... depend"
313 +       @echo "... rebuild_cache"
314 +       @echo "... edit_cache"
315 +       @echo "... TexturePacker"
316 +       @echo "... home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.o"
317 +       @echo "... home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.i"
318 +       @echo "... home/wbx/rpi2/build_raspberry-pi2_uclibc-ng_cortex_a7_hard_eabihf/w-kodi-17.6-1/xbmc-17.6-Krypton/xbmc/guilib/XBTF.s"
319 +       @echo "... src/DecoderManager.o"
320 +       @echo "... src/DecoderManager.i"
321 +       @echo "... src/DecoderManager.s"
322 +       @echo "... src/TexturePacker.o"
323 +       @echo "... src/TexturePacker.i"
324 +       @echo "... src/TexturePacker.s"
325 +       @echo "... src/XBTFWriter.o"
326 +       @echo "... src/XBTFWriter.i"
327 +       @echo "... src/XBTFWriter.s"
328 +       @echo "... src/decoder/GIFDecoder.o"
329 +       @echo "... src/decoder/GIFDecoder.i"
330 +       @echo "... src/decoder/GIFDecoder.s"
331 +       @echo "... src/decoder/GifHelper.o"
332 +       @echo "... src/decoder/GifHelper.i"
333 +       @echo "... src/decoder/GifHelper.s"
334 +       @echo "... src/decoder/JPGDecoder.o"
335 +       @echo "... src/decoder/JPGDecoder.i"
336 +       @echo "... src/decoder/JPGDecoder.s"
337 +       @echo "... src/decoder/PNGDecoder.o"
338 +       @echo "... src/decoder/PNGDecoder.i"
339 +       @echo "... src/decoder/PNGDecoder.s"
340 +       @echo "... src/md5.o"
341 +       @echo "... src/md5.i"
342 +       @echo "... src/md5.s"
343 +.PHONY : help
347 +#=============================================================================
348 +# Special targets to cleanup operation of make.
350 +# Special rule to run CMake to check the build system integrity.
351 +# No rule that depends on this can have commands that come from listfiles
352 +# because they might be regenerated.
353 +cmake_check_build_system:
354 +       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
355 +.PHONY : cmake_check_build_system
357 -distclean::
358 -       rm -rf $(PLATFORM) .installed-$(PLATFORM)
359 -       -rm -rf bin