diff options
-rw-r--r-- | rbutil/e200rpatcher/Makefile | 8 | ||||
-rw-r--r-- | rbutil/e200rpatcher/e200rpatcher.manifest | 13 | ||||
-rw-r--r-- | rbutil/e200rpatcher/e200rpatcher.rc | 1 | ||||
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.manifest | 13 | ||||
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.rc | 1 | ||||
-rw-r--r-- | rbutil/sansapatcher/Makefile | 8 | ||||
-rw-r--r-- | rbutil/sansapatcher/sansapatcher.manifest | 13 | ||||
-rw-r--r-- | rbutil/sansapatcher/sansapatcher.rc | 1 |
8 files changed, 54 insertions, 4 deletions
diff --git a/rbutil/e200rpatcher/Makefile b/rbutil/e200rpatcher/Makefile index 73ac574651..d015d10f3c 100644 --- a/rbutil/e200rpatcher/Makefile +++ b/rbutil/e200rpatcher/Makefile | |||
@@ -14,6 +14,7 @@ WINLIBS = -I libusb-win32-device-bin-0.1.12.1/include libusb-win32-device-bin-0. | |||
14 | 14 | ||
15 | NATIVECC = gcc | 15 | NATIVECC = gcc |
16 | CC = $(CROSS)gcc | 16 | CC = $(CROSS)gcc |
17 | WINDRES = $(CROSS)windres | ||
17 | 18 | ||
18 | all: $(OUTPUT) | 19 | all: $(OUTPUT) |
19 | 20 | ||
@@ -21,9 +22,12 @@ e200rpatcher: e200rpatcher.c bootimg.c | |||
21 | gcc $(CFLAGS) $(LIBS) -o e200rpatcher e200rpatcher.c bootimg.c | 22 | gcc $(CFLAGS) $(LIBS) -o e200rpatcher e200rpatcher.c bootimg.c |
22 | strip e200rpatcher | 23 | strip e200rpatcher |
23 | 24 | ||
24 | e200rpatcher.exe: e200rpatcher.c bootimg.c | 25 | e200rpatcher.exe: e200rpatcher.c bootimg.c e200rpatcher-rc.o |
25 | $(CC) $(CFLAGS) $(WINLIBS) -o e200rpatcher.exe e200rpatcher.c bootimg.c | 26 | $(CC) $(CFLAGS) $(WINLIBS) -o e200rpatcher.exe e200rpatcher.c bootimg.c e200rpatcher-rc.o |
26 | $(CROSS)strip e200rpatcher.exe | 27 | $(CROSS)strip e200rpatcher.exe |
28 | |||
29 | e200rpatcher-rc.o: e200rpatcher.rc e200rpatcher.manifest | ||
30 | $(WINDRES) -i e200rpatcher.rc -o e200rpatcher-rc.o | ||
27 | 31 | ||
28 | e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc | 32 | e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc |
29 | lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac | 33 | lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac |
diff --git a/rbutil/e200rpatcher/e200rpatcher.manifest b/rbutil/e200rpatcher/e200rpatcher.manifest new file mode 100644 index 0000000000..ec0c49df33 --- /dev/null +++ b/rbutil/e200rpatcher/e200rpatcher.manifest | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
3 | <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="e200rpatcher.exe" type="win32"/> | ||
4 | |||
5 | <!-- Identify the application security requirements. --> | ||
6 | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
7 | <security> | ||
8 | <requestedPrivileges> | ||
9 | <requestedExecutionLevel level="requireAdministrator"/> | ||
10 | </requestedPrivileges> | ||
11 | </security> | ||
12 | </trustInfo> | ||
13 | </assembly> | ||
diff --git a/rbutil/e200rpatcher/e200rpatcher.rc b/rbutil/e200rpatcher/e200rpatcher.rc new file mode 100644 index 0000000000..dae43bc26c --- /dev/null +++ b/rbutil/e200rpatcher/e200rpatcher.rc | |||
@@ -0,0 +1 @@ | |||
1 24 MOVEABLE PURE "e200rpatcher.manifest" | |||
diff --git a/rbutil/rbutilqt/rbutilqt.manifest b/rbutil/rbutilqt/rbutilqt.manifest new file mode 100644 index 0000000000..148058c250 --- /dev/null +++ b/rbutil/rbutilqt/rbutilqt.manifest | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
3 | <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="rbutilqt.exe" type="win32"/> | ||
4 | |||
5 | <!-- Identify the application security requirements. --> | ||
6 | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
7 | <security> | ||
8 | <requestedPrivileges> | ||
9 | <requestedExecutionLevel level="requireAdministrator"/> | ||
10 | </requestedPrivileges> | ||
11 | </security> | ||
12 | </trustInfo> | ||
13 | </assembly> | ||
diff --git a/rbutil/rbutilqt/rbutilqt.rc b/rbutil/rbutilqt/rbutilqt.rc index 2fec2d4aa8..93beece971 100644 --- a/rbutil/rbutilqt/rbutilqt.rc +++ b/rbutil/rbutilqt/rbutilqt.rc | |||
@@ -1 +1,2 @@ | |||
1 | 1 24 MOVEABLE PURE "rbutilqt.manifest" | ||
1 | RBUTIL_ICON ICON DISCARDABLE "icons/rockbox.ico" | 2 | RBUTIL_ICON ICON DISCARDABLE "icons/rockbox.ico" |
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile index c425bbc892..2c75b0caf7 100644 --- a/rbutil/sansapatcher/Makefile +++ b/rbutil/sansapatcher/Makefile | |||
@@ -16,6 +16,7 @@ endif | |||
16 | 16 | ||
17 | NATIVECC = gcc | 17 | NATIVECC = gcc |
18 | CC = $(CROSS)gcc | 18 | CC = $(CROSS)gcc |
19 | WINDRES = $(CROSS)windres | ||
19 | 20 | ||
20 | all: $(OUTPUT) | 21 | all: $(OUTPUT) |
21 | 22 | ||
@@ -23,10 +24,13 @@ sansapatcher: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c b | |||
23 | gcc $(CFLAGS) -o sansapatcher main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c | 24 | gcc $(CFLAGS) -o sansapatcher main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c |
24 | strip sansapatcher | 25 | strip sansapatcher |
25 | 26 | ||
26 | sansapatcher.exe: main.c sansapatcher.c sansaio-win32.c parttypes.h bootimg_c200.c bootimg_e200.c | 27 | sansapatcher.exe: main.c sansapatcher.c sansaio-win32.c parttypes.h bootimg_c200.c bootimg_e200.c sansapatcher-rc.o |
27 | $(CC) $(CFLAGS) -o sansapatcher.exe main.c sansapatcher.c sansaio-win32.c bootimg_c200.c bootimg_e200.c | 28 | $(CC) $(CFLAGS) -o sansapatcher.exe main.c sansapatcher.c sansaio-win32.c bootimg_c200.c bootimg_e200.c sansapatcher-rc.o |
28 | $(CROSS)strip sansapatcher.exe | 29 | $(CROSS)strip sansapatcher.exe |
29 | 30 | ||
31 | sansapatcher-rc.o: sansapatcher.rc sansapatcher.manifest | ||
32 | $(WINDRES) -i sansapatcher.rc -o sansapatcher-rc.o | ||
33 | |||
30 | sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc | 34 | sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc |
31 | lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac | 35 | lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac |
32 | 36 | ||
diff --git a/rbutil/sansapatcher/sansapatcher.manifest b/rbutil/sansapatcher/sansapatcher.manifest new file mode 100644 index 0000000000..71bb153688 --- /dev/null +++ b/rbutil/sansapatcher/sansapatcher.manifest | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
3 | <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="sansapatcher.exe" type="win32"/> | ||
4 | |||
5 | <!-- Identify the application security requirements. --> | ||
6 | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
7 | <security> | ||
8 | <requestedPrivileges> | ||
9 | <requestedExecutionLevel level="requireAdministrator"/> | ||
10 | </requestedPrivileges> | ||
11 | </security> | ||
12 | </trustInfo> | ||
13 | </assembly> | ||
diff --git a/rbutil/sansapatcher/sansapatcher.rc b/rbutil/sansapatcher/sansapatcher.rc new file mode 100644 index 0000000000..7040637a0d --- /dev/null +++ b/rbutil/sansapatcher/sansapatcher.rc | |||
@@ -0,0 +1 @@ | |||
1 24 MOVEABLE PURE "sansapatcher.manifest" | |||