summaryrefslogtreecommitdiff
path: root/package/cdrkit/patches/patch-Makefile
blob: b4b1ce7901705fe7948d7c3a126fd476ab0a176d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
--- cdrkit-1.1.11.orig/Makefile	2007-05-06 12:23:54.000000000 +0200
+++ cdrkit-1.1.11/Makefile	2015-05-31 21:33:44.000000000 +0200
@@ -1,72 +1,408 @@
-ifneq ($(CFLAGS),)
-CMAKETWEAKS += ( cd build ; cmake .. -DCMAKE_C_FLAGS="$(CFLAGS)" ) || exit 1; 
-endif
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.2
 
-ifneq ($(LDFLAGS),)
-CMAKETWEAKS += (cd build ; cmake .. -DCMAKE_EXE_LINKER_FLAGS:STRING="$(LDFLAGS)" -DCMAKE_MODULE_LINKER_FLAGS:STRING="$(LDFLAGS)" -DCMAKE_SHARED_LINKER_FLAGS:STRING="$(LDFLAGS)" ) || exit 1; 
-endif
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
 
-ifneq ($(PREFIX),)
-CMAKETWEAKS += ( cd build ;  cmake .. -DCMAKE_INSTALL_PREFIX="$(PREFIX)") || exit 1; 
-endif
+# Allow only one "make -f Makefile2" at a time, but pass parallelism.
+.NOTPARALLEL:
 
-ifneq ($(MANSUBDIR),)
-CMAKETWEAKS += ( cd build ;  cmake .. -DMANSUBDIR="$(MANSUBDIR)" ) || exit 1; 
-endif
+#=============================================================================
+# Special targets provided by cmake.
 
-default_target: all
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
 
-DISTNAME=cdrkit-$(shell cat VERSION)
-DEBSRCNAME=cdrkit_$(shell cat VERSION | sed -e "s,pre,~pre,").orig.tar.gz
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
 
-build/Makefile:
-	@-mkdir build 2>/dev/null
-	cd build && cmake ..
+.SUFFIXES: .hpux_make_needs_suffix_list
 
-cmakepurge:
-	rm -rf install_manifest.txt progress.make CMakeFiles CMakeCache.txt cmake_install.cmake 
-	rm -rf */install_manifest.txt */progress.make */CMakeFiles */CMakeCache.txt */cmake_install.cmake 
-	rm -rf */*/install_manifest.txt */*/progress.make */*/CMakeFiles */*/CMakeCache.txt */*/cmake_install.cmake 
-	rm */Makefile */*/Makefile
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /home/wbx/adk/host_x86_64-linux-gnu/usr/bin/cmake
+
+# The command to remove a file.
+RM = /home/wbx/adk/host_x86_64-linux-gnu/usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/wbx/adk/build_raspberry-pi_uclibc-ng_arm_hard_eabihf/w-cdrkit-1.1.11-1/cdrkit-1.1.11
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/wbx/adk/build_raspberry-pi_uclibc-ng_arm_hard_eabihf/w-cdrkit-1.1.11-1/cdrkit-1.1.11
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target install/strip
+install/strip: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
+	/home/wbx/adk/host_x86_64-linux-gnu/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+.PHONY : install/strip
+
+# Special rule for the target install/strip
+install/strip/fast: install/strip
+.PHONY : install/strip/fast
+
+# Special rule for the target edit_cache
+edit_cache:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
+	/home/wbx/adk/host_x86_64-linux-gnu/usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : edit_cache
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+.PHONY : edit_cache/fast
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+	/home/wbx/adk/host_x86_64-linux-gnu/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : rebuild_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+.PHONY : rebuild_cache/fast
+
+# Special rule for the target install
+install: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+	/home/wbx/adk/host_x86_64-linux-gnu/usr/bin/cmake -P cmake_install.cmake
+.PHONY : install
+
+# Special rule for the target install
+install/fast: preinstall/fast
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+	/home/wbx/adk/host_x86_64-linux-gnu/usr/bin/cmake -P cmake_install.cmake
+.PHONY : install/fast
+
+# Special rule for the target list_install_components
+list_install_components:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
+.PHONY : list_install_components
+
+# Special rule for the target list_install_components
+list_install_components/fast: list_install_components
+.PHONY : list_install_components/fast
+
+# Special rule for the target install/local
+install/local: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
+	/home/wbx/adk/host_x86_64-linux-gnu/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+.PHONY : install/local
+
+# Special rule for the target install/local
+install/local/fast: install/local
+.PHONY : install/local/fast
+
+# The main all target
+all: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/wbx/adk/build_raspberry-pi_uclibc-ng_arm_hard_eabihf/w-cdrkit-1.1.11-1/cdrkit-1.1.11/CMakeFiles /home/wbx/adk/build_raspberry-pi_uclibc-ng_arm_hard_eabihf/w-cdrkit-1.1.11-1/cdrkit-1.1.11/CMakeFiles/progress.marks
+	$(MAKE) -f CMakeFiles/Makefile2 all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/wbx/adk/build_raspberry-pi_uclibc-ng_arm_hard_eabihf/w-cdrkit-1.1.11-1/cdrkit-1.1.11/CMakeFiles 0
+.PHONY : all
 
+# The main clean target
 clean:
-	rm -rf build
+	$(MAKE) -f CMakeFiles/Makefile2 clean
+.PHONY : clean
 
-tarball:
-#	if test "$(shell svn status | grep -v -i make)" ; then echo Uncommited files found. Run \"svn status\" to display them. ; exit 1 ; fi
-	@if test -f ../$(DISTNAME).tar.gz ; then echo ../$(DISTNAME).tar.gz exists, not overwritting ; exit 1; fi
-	-svn up
-	rm -rf tmp
-	mkdir tmp
-	svn export . tmp/$(DISTNAME)
-	rm -rf tmp/$(DISTNAME)/debian
-	tar -f - -c -C tmp $(DISTNAME) | gzip -9 > ../$(DISTNAME).tar.gz
-	rm -rf tmp
-	test -e /etc/debian_version && ln -f ../$(DISTNAME).tar.gz ../$(DEBSRCNAME) || true
-	test -e ../tarballs && ln -f ../$(DISTNAME).tar.gz ../tarballs/$(DEBSRCNAME) || true
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
 
-tarball-remove:
-	rm -f ../$(DISTNAME).tar.gz ../tarballs/$(DEBSRCNAME) ../$(DEBSRCNAME)
+# Prepare targets for installation.
+preinstall: all
+	$(MAKE) -f CMakeFiles/Makefile2 preinstall
+.PHONY : preinstall
 
-SVNBASE=$(shell svn info | grep URL: | cut -f2 -d' ' | xargs dirname)
-release: tarball
-	svn ci
-	svn cp $(SVNBASE)/trunk $(SVNBASE)/tags/release_$(shell cat VERSION)
+# Prepare targets for installation.
+preinstall/fast:
+	$(MAKE) -f CMakeFiles/Makefile2 preinstall
+.PHONY : preinstall/fast
 
-#%::
-#	$(MAKE) $(MAKE_FLAGS) build/Makefile
-#	$(CMAKETWEAKS)
-#	$(MAKE) -C build $(MAKE_FLAGS) $@
+# clear depends
+depend:
+	$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
 
-# needs to be explicite, for PHONY and install (AKA INSTALL) file on cygwin
-install: build/Makefile
-	$(CMAKETWEAKS)
-	$(MAKE) -C build $(MAKE_FLAGS) $@
+#=============================================================================
+# Target rules for targets named devdump
 
-all: build/Makefile
-	$(CMAKETWEAKS)
-	$(MAKE) -C build $(MAKE_FLAGS) $@
+# Build rule for target.
+devdump: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 devdump
+.PHONY : devdump
 
-.PHONY: install all
+# fast build rule for target.
+devdump/fast:
+	$(MAKE) -f genisoimage/CMakeFiles/devdump.dir/build.make genisoimage/CMakeFiles/devdump.dir/build
+.PHONY : devdump/fast
+
+#=============================================================================
+# Target rules for targets named genisoimage
+
+# Build rule for target.
+genisoimage: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 genisoimage
+.PHONY : genisoimage
+
+# fast build rule for target.
+genisoimage/fast:
+	$(MAKE) -f genisoimage/CMakeFiles/genisoimage.dir/build.make genisoimage/CMakeFiles/genisoimage.dir/build
+.PHONY : genisoimage/fast
+
+#=============================================================================
+# Target rules for targets named isodebug
+
+# Build rule for target.
+isodebug: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 isodebug
+.PHONY : isodebug
+
+# fast build rule for target.
+isodebug/fast:
+	$(MAKE) -f genisoimage/CMakeFiles/isodebug.dir/build.make genisoimage/CMakeFiles/isodebug.dir/build
+.PHONY : isodebug/fast
+
+#=============================================================================
+# Target rules for targets named isodump
+
+# Build rule for target.
+isodump: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 isodump
+.PHONY : isodump
+
+# fast build rule for target.
+isodump/fast:
+	$(MAKE) -f genisoimage/CMakeFiles/isodump.dir/build.make genisoimage/CMakeFiles/isodump.dir/build
+.PHONY : isodump/fast
+
+#=============================================================================
+# Target rules for targets named isoinfo
+
+# Build rule for target.
+isoinfo: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 isoinfo
+.PHONY : isoinfo
+
+# fast build rule for target.
+isoinfo/fast:
+	$(MAKE) -f genisoimage/CMakeFiles/isoinfo.dir/build.make genisoimage/CMakeFiles/isoinfo.dir/build
+.PHONY : isoinfo/fast
+
+#=============================================================================
+# Target rules for targets named isovfy
+
+# Build rule for target.
+isovfy: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 isovfy
+.PHONY : isovfy
+
+# fast build rule for target.
+isovfy/fast:
+	$(MAKE) -f genisoimage/CMakeFiles/isovfy.dir/build.make genisoimage/CMakeFiles/isovfy.dir/build
+.PHONY : isovfy/fast
+
+#=============================================================================
+# Target rules for targets named wodim
+
+# Build rule for target.
+wodim: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 wodim
+.PHONY : wodim
+
+# fast build rule for target.
+wodim/fast:
+	$(MAKE) -f wodim/CMakeFiles/wodim.dir/build.make wodim/CMakeFiles/wodim.dir/build
+.PHONY : wodim/fast
+
+#=============================================================================
+# Target rules for targets named wodimstuff
+
+# Build rule for target.
+wodimstuff: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 wodimstuff
+.PHONY : wodimstuff
+
+# fast build rule for target.
+wodimstuff/fast:
+	$(MAKE) -f wodim/CMakeFiles/wodimstuff.dir/build.make wodim/CMakeFiles/wodimstuff.dir/build
+.PHONY : wodimstuff/fast
+
+#=============================================================================
+# Target rules for targets named edc
+
+# Build rule for target.
+edc: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 edc
+.PHONY : edc
+
+# fast build rule for target.
+edc/fast:
+	$(MAKE) -f libedc/CMakeFiles/edc.dir/build.make libedc/CMakeFiles/edc.dir/build
+.PHONY : edc/fast
+
+#=============================================================================
+# Target rules for targets named hfs_iso
+
+# Build rule for target.
+hfs_iso: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 hfs_iso
+.PHONY : hfs_iso
+
+# fast build rule for target.
+hfs_iso/fast:
+	$(MAKE) -f libhfs_iso/CMakeFiles/hfs_iso.dir/build.make libhfs_iso/CMakeFiles/hfs_iso.dir/build
+.PHONY : hfs_iso/fast
+
+#=============================================================================
+# Target rules for targets named paranoia
+
+# Build rule for target.
+paranoia: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 paranoia
+.PHONY : paranoia
+
+# fast build rule for target.
+paranoia/fast:
+	$(MAKE) -f libparanoia/CMakeFiles/paranoia.dir/build.make libparanoia/CMakeFiles/paranoia.dir/build
+.PHONY : paranoia/fast
+
+#=============================================================================
+# Target rules for targets named icedax
+
+# Build rule for target.
+icedax: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 icedax
+.PHONY : icedax
+
+# fast build rule for target.
+icedax/fast:
+	$(MAKE) -f icedax/CMakeFiles/icedax.dir/build.make icedax/CMakeFiles/icedax.dir/build
+.PHONY : icedax/fast
+
+#=============================================================================
+# Target rules for targets named usal
+
+# Build rule for target.
+usal: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 usal
+.PHONY : usal
+
+# fast build rule for target.
+usal/fast:
+	$(MAKE) -f libusal/CMakeFiles/usal.dir/build.make libusal/CMakeFiles/usal.dir/build
+.PHONY : usal/fast
+
+#=============================================================================
+# Target rules for targets named rols
+
+# Build rule for target.
+rols: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 rols
+.PHONY : rols
+
+# fast build rule for target.
+rols/fast:
+	$(MAKE) -f librols/CMakeFiles/rols.dir/build.make librols/CMakeFiles/rols.dir/build
+.PHONY : rols/fast
+
+#=============================================================================
+# Target rules for targets named unls
+
+# Build rule for target.
+unls: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 unls
+.PHONY : unls
+
+# fast build rule for target.
+unls/fast:
+	$(MAKE) -f libunls/CMakeFiles/unls.dir/build.make libunls/CMakeFiles/unls.dir/build
+.PHONY : unls/fast
+
+#=============================================================================
+# Target rules for targets named readom
+
+# Build rule for target.
+readom: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 readom
+.PHONY : readom
+
+# fast build rule for target.
+readom/fast:
+	$(MAKE) -f readom/CMakeFiles/readom.dir/build.make readom/CMakeFiles/readom.dir/build
+.PHONY : readom/fast
 
+#=============================================================================
+# Target rules for targets named netscsid
+
+# Build rule for target.
+netscsid: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 netscsid
+.PHONY : netscsid
+
+# fast build rule for target.
+netscsid/fast:
+	$(MAKE) -f netscsid/CMakeFiles/netscsid.dir/build.make netscsid/CMakeFiles/netscsid.dir/build
+.PHONY : netscsid/fast
+
+# Help Target
+help:
+	@echo "The following are some of the valid targets for this Makefile:"
+	@echo "... all (the default if no target is provided)"
+	@echo "... clean"
+	@echo "... depend"
+	@echo "... install/strip"
+	@echo "... edit_cache"
+	@echo "... rebuild_cache"
+	@echo "... install"
+	@echo "... list_install_components"
+	@echo "... install/local"
+	@echo "... isodebug"
+	@echo "... genisoimage"
+	@echo "... isodump"
+	@echo "... isoinfo"
+	@echo "... devdump"
+	@echo "... isovfy"
+	@echo "... wodimstuff"
+	@echo "... wodim"
+	@echo "... edc"
+	@echo "... hfs_iso"
+	@echo "... paranoia"
+	@echo "... icedax"
+	@echo "... usal"
+	@echo "... rols"
+	@echo "... unls"
+	@echo "... readom"
+	@echo "... netscsid"
+.PHONY : help
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+	$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system