summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2024-12-23 12:25:59 +0100
committerTomas Bzatek <tbzatek@redhat.com>2025-11-27 19:36:06 +0100
commita9634b933f71a9045e61d29c486f2d51d39fd1e2 (patch)
treeeec472463f27971c2b477efe1ddfd4eb37cddfdd /Makefile
parent585635371a182d2b3cd5400f6d26d8e20ade6dbd (diff)
downloadtuxcmd-a9634b933f71a9045e61d29c486f2d51d39fd1e2.tar.xz
Add gobject-introspection generated bindings
Uses the gir2pascal tool from the Lazarus IDE project, see https://wiki.freepascal.org/gir2pascal Generating gtk3 bindings involves generating all its dependencies, including glib2, etc. As long as the generated units have number of issues getting this compiled, using a copy of gtk3bindings from Lazarus for the moment.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bb9dd96..8f8add9 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ tuxcmd::
echo " ConstFPCTargetOSString = '`fpc -iTO`';" >> fpcver.inc
echo " ConstFPCTargetProcessorString = '`fpc -iTP`';" >> fpcver.inc
fpc -Mdelphi $(CFLAGS) $(EXTRA_CFLAGS) \
- -Fu./libgtk_kylix -Fu./translations -Fu./vfs \
+ -Fu./bindings -Fu./libgtk_kylix -Fu./translations -Fu./vfs \
tuxcmd.dpr
@@ -73,6 +73,7 @@ clean cleandir:
( cd vfs && rm -f $(CLEAN_OBJS) )
( cd libgtk_kylix && rm -f $(CLEAN_OBJS) )
( cd translations && rm -f $(CLEAN_OBJS) )
+ ( cd bindings && rm -f $(CLEAN_OBJS) )
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(DESTDIR)/share/icons/hicolor