# This cool debug trap works on i386/gcc only
AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
+desktopdir = $(datadir)/applications
+desktop_DATA =
+
if HAVE_GTK
if HAVE_DBUS
endif
bin_PROGRAMS = zssh
+desktop_DATA += zssh.desktop zvnc.desktop
zssh_SOURCES = zssh.c
zssh_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
rm -f zvnc && \
$(LN_S) zssh zvnc
+zssh.desktop: zssh.desktop.in
+ sed -e 's,@bindir\@,$(bindir),g' $< > $@
+ chmod +x $@
+
+zvnc.desktop: zvnc.desktop.in
+ sed -e 's,@bindir\@,$(bindir),g' $< > $@
+ chmod +x $@
+
endif
endif
--- /dev/null
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Avahi SSH Server Browser
+Comment=Browse for Zeroconf-enabled SSH Services
+Exec=@bindir@/zssh
+Terminal=false
+Type=Application
+Icon=network-wired
+Categories=GNOME;Application;System;Utility;
+StartupNotify=false
+GenericName=
--- /dev/null
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Avahi VNC Service Browser
+Comment=Browse for Zeroconf-enabled VNC Services
+Exec=@bindir@/zvnc
+Terminal=false
+Type=Application
+Icon=network-wired
+Categories=GNOME;Application;System;Utility;
+StartupNotify=false
+GenericName=