summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher/sansapatcher.pro
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-02 21:11:24 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-11 09:42:13 +0200
commitc8fa53050d30b667f224668ca5de2bb7f07a1b3d (patch)
treea088303d2d536247498c8b4f68096eac33ce113e /rbutil/sansapatcher/sansapatcher.pro
parentcd192f239bc9d6e42e3f5b002f4aed8233118095 (diff)
downloadrockbox-c8fa53050d30b667f224668ca5de2bb7f07a1b3d.tar.gz
rockbox-c8fa53050d30b667f224668ca5de2bb7f07a1b3d.zip
rbutil: Add project file for building multiple binaries.
To use ipodpatcher and sansapatcher as external binaries (so we can do proper permission elevation) we need to build them using qmake as part of the main build. Add a subdirs template based project file to do that, and project files for the patchers. Move Linux appimage rules one level up, since it needs to include the patchers as well. Change-Id: I63ee59372668f4319402df65a77a6f04521d133b
Diffstat (limited to 'rbutil/sansapatcher/sansapatcher.pro')
-rw-r--r--rbutil/sansapatcher/sansapatcher.pro38
1 files changed, 38 insertions, 0 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.pro b/rbutil/sansapatcher/sansapatcher.pro
new file mode 100644
index 0000000000..f8308e6283
--- /dev/null
+++ b/rbutil/sansapatcher/sansapatcher.pro
@@ -0,0 +1,38 @@
+#
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+#
+# All files in this archive are subject to the GNU General Public License.
+# See the file COPYING in the source tree root for full license agreement.
+#
+# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+# KIND, either express or implied.
+#
+
+TEMPLATE = app
+TARGET = sansapatcher
+QT -= core
+
+SOURCES += \
+ sansaio-posix.c \
+ sansaio-win32.c \
+ sansapatcher.c \
+ main.c
+
+HEADERS += \
+ parttypes.h \
+ sansaio.h \
+ sansapatcher.h \
+
+RC_FILE = sansapatcher.rc
+
+DEFINES += _LARGEFILE64_SOURCE
+
+unix {
+ target.path = /usr/local/bin
+ INSTALLS += target
+}