diff options
author | Drew DeVault <drew@ddevault.org> | 2025-03-21 10:40:04 +0100 |
---|---|---|
committer | Alexey Yerin <yyp@disroot.org> | 2025-03-21 14:32:38 +0300 |
commit | ea84d7a04d5f2eb51c06a5cafbfd877228ab8c4a (patch) | |
tree | 5ab0c02740e402c341f01dde8294ac8eb58f8e16 /scripts | |
parent | b464972aba88159edc202d5e2fb6aef63f9cb2d2 (diff) |
Makefile: drop PHONY for hare-gi
Signed-off-by: Drew DeVault <drew@ddevault.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/generate3 | 36 | ||||
-rwxr-xr-x | scripts/generate4 | 43 |
2 files changed, 79 insertions, 0 deletions
diff --git a/scripts/generate3 b/scripts/generate3 new file mode 100755 index 0000000..18a834b --- /dev/null +++ b/scripts/generate3 @@ -0,0 +1,36 @@ +#!/bin/sh + +BIND=./bindings/gi +NS=gi:: + +mkdir -p "$BIND"/glib "$BIND"/gobject "$BIND"/gio "$BIND"/gmodule "$BIND"/atk \ + "$BIND"/gdkpixbuf "$BIND"/freetype "$BIND"/harfbuzz "$BIND"/cairo \ + "$BIND"/pango "$BIND"/gdk "$BIND"/xlib "$BIND"/gtk + +exec ./hare-gi -B \ + -m GLib,${NS}glib,"$BIND"/glib/_generated.ha \ + -m GObject,${NS}gobject,"$BIND"/gobject/_generated.ha \ + -m Gio,${NS}gio,"$BIND"/gio/_generated.ha \ + -m GModule,${NS}gmodule,"$BIND"/gmodule/_generated.ha \ + -m Atk,${NS}atk,"$BIND"/atk/_generated.ha \ + -m GdkPixbuf,${NS}gdkpixbuf,"$BIND"/gdkpixbuf/_generated.ha \ + -m freetype2,${NS}freetype,"$BIND"/freetype/_generated.ha \ + -m HarfBuzz,${NS}harfbuzz,"$BIND"/harfbuzz/_generated.ha \ + -m cairo,${NS}cairo,"$BIND"/cairo/_generated.ha \ + -m Pango,${NS}pango,"$BIND"/pango/_generated.ha \ + -m Gdk,${NS}gdk,"$BIND"/gdk/_generated.ha \ + -m xlib,${NS}xlib,"$BIND"/xlib/_generated.ha \ + -m Gtk,${NS}gtk,"$BIND"/gtk/_generated.ha \ + /usr/share/gir-1.0/GLib-2.0.gir \ + /usr/share/gir-1.0/GObject-2.0.gir \ + /usr/share/gir-1.0/Gio-2.0.gir \ + /usr/share/gir-1.0/GModule-2.0.gir \ + /usr/share/gir-1.0/Atk-1.0.gir \ + /usr/share/gir-1.0/GdkPixbuf-2.0.gir \ + /usr/share/gir-1.0/freetype2-2.0.gir \ + /usr/share/gir-1.0/HarfBuzz-0.0.gir \ + /usr/share/gir-1.0/cairo-1.0.gir \ + /usr/share/gir-1.0/Pango-1.0.gir \ + /usr/share/gir-1.0/Gdk-3.0.gir \ + /usr/share/gir-1.0/xlib-2.0.gir \ + /usr/share/gir-1.0/Gtk-3.0.gir diff --git a/scripts/generate4 b/scripts/generate4 new file mode 100755 index 0000000..0c75b61 --- /dev/null +++ b/scripts/generate4 @@ -0,0 +1,43 @@ +#!/bin/sh + +BIND=./bindings/gi +NS=gi:: + +mkdir -p "$BIND"/glib "$BIND"/gobject "$BIND"/gio "$BIND"/gmodule "$BIND"/atk \ + "$BIND"/gdkpixbuf "$BIND"/freetype "$BIND"/harfbuzz "$BIND"/cairo \ + "$BIND"/pango "$BIND"/pangocairo "$BIND"/gdk4 "$BIND"/xlib "$BIND"/graphene \ + "$BIND"/gsk "$BIND"/gtk4 + +exec ./hare-gi \ + -m GLib,${NS}glib,"$BIND"/glib/_generated.ha \ + -m GObject,${NS}gobject,"$BIND"/gobject/_generated.ha \ + -m Gio,${NS}gio,"$BIND"/gio/_generated.ha \ + -m GModule,${NS}gmodule,"$BIND"/gmodule/_generated.ha \ + -m Atk,${NS}atk,"$BIND"/atk/_generated.ha \ + -m GdkPixbuf,${NS}gdkpixbuf,"$BIND"/gdkpixbuf/_generated.ha \ + -m freetype2,${NS}freetype,"$BIND"/freetype/_generated.ha \ + -m HarfBuzz,${NS}harfbuzz,"$BIND"/harfbuzz/_generated.ha \ + -m cairo,${NS}cairo,"$BIND"/cairo/_generated.ha \ + -m Pango,${NS}pango,"$BIND"/pango/_generated.ha \ + -m PangoCairo,${NS}pangocairo,"$BIND"/pangocairo/_generated.ha \ + -m Gdk,${NS}gdk4,"$BIND"/gdk4/_generated.ha \ + -m xlib,${NS}xlib,"$BIND"/xlib/_generated.ha \ + -m Graphene,${NS}graphene,"$BIND"/graphene/_generated.ha \ + -m Gsk,${NS}gsk,"$BIND"/gsk/_generated.ha \ + -m Gtk,${NS}gtk4,"$BIND"/gtk4/_generated.ha \ + /usr/share/gir-1.0/GLib-2.0.gir \ + /usr/share/gir-1.0/GObject-2.0.gir \ + /usr/share/gir-1.0/Gio-2.0.gir \ + /usr/share/gir-1.0/GModule-2.0.gir \ + /usr/share/gir-1.0/Atk-1.0.gir \ + /usr/share/gir-1.0/GdkPixbuf-2.0.gir \ + /usr/share/gir-1.0/freetype2-2.0.gir \ + /usr/share/gir-1.0/HarfBuzz-0.0.gir \ + /usr/share/gir-1.0/cairo-1.0.gir \ + /usr/share/gir-1.0/Pango-1.0.gir \ + /usr/share/gir-1.0/PangoCairo-1.0.gir \ + /usr/share/gir-1.0/Gdk-4.0.gir \ + /usr/share/gir-1.0/xlib-2.0.gir \ + /usr/share/gir-1.0/Graphene-1.0.gir \ + /usr/share/gir-1.0/Gsk-4.0.gir \ + /usr/share/gir-1.0/Gtk-4.0.gir |