mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-29 07:05:34 +00:00
FreeBSD support (tested with DesktopBSD 1.6 (FreeBSD 6.3) / x86).
NetBSD support (tested with NetBSD 4.0.1 / x86).
OpenBSD support (tested with OpenBSD 4.3 / x86-64 / gcc-3.3.5).
Solaris/gcc support (tested with Solaris 10 / x86 / gcc-3.4.3 / blastwave).
Solaris/sunstudio support (tested with Solaris 10 / x86 / sunstudio12 / sunfreeware).
Code to support Windows, Mac OS X, QNX.
Support of older pcre versions (at least 4.5, maybe older too).
Added gsmartcontrol_root.sh script to easily run gsmartcontrol as root.
Improved .desktop files.
License for tests and examples is legally more correct now.
Minor bugfixes.
41 lines
948 B
Makefile
41 lines
948 B
Makefile
SUBDIRS = 16 22 24 32 48 64 128
|
|
|
|
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
|
|
|
|
install-data-hook: update-icon-cache
|
|
uninstall-hook: update-icon-cache
|
|
update-icon-cache:
|
|
@-if test -z "$(DESTDIR)"; then \
|
|
echo "Updating GTK icon cache."; \
|
|
$(gtk_update_icon_cache); \
|
|
else \
|
|
echo "*** Icon cache not updated. After (un)install, run this:"; \
|
|
echo "*** $(gtk_update_icon_cache)"; \
|
|
fi
|
|
|
|
|
|
# installs to /usr/share/appname
|
|
appdatadir = $(pkgdatadir)
|
|
appdata_DATA = icon_cddvd.png icon_hdd.png
|
|
|
|
|
|
# pkgdatadir = $(datadir)/gsmartcontrol
|
|
# pkgdata_DATA =
|
|
|
|
desktopdir = $(datadir)/applications
|
|
desktop_DATA = gsmartcontrol_gnome.desktop gsmartcontrol_kde.desktop \
|
|
gsmartcontrol_other.desktop
|
|
|
|
|
|
# Same as 48/gsmartcontrol.png
|
|
pixmapsdir = $(datadir)/pixmaps
|
|
pixmaps_DATA = 48/gsmartcontrol.png
|
|
|
|
|
|
EXTRA_DIST = $(appdata_DATA) $(pixmaps_DATA)
|
|
|
|
|
|
bin_SCRIPTS = gsmartcontrol_root.sh
|
|
CLEANFILES = $(bin_SCRIPTS)
|
|
|