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.
63 lines
1.4 KiB
Makefile
63 lines
1.4 KiB
Makefile
|
|
# Add autoconf.m4 directory to local macro search path
|
|
ACLOCAL_AMFLAGS = -I autoconf.m4
|
|
|
|
SUBDIRS = src data
|
|
|
|
|
|
# These files are actually needed for compilation.
|
|
noinst_DATA = AUTHORS.txt LICENSE_gsmartcontrol.txt README.txt
|
|
|
|
|
|
# For the files to be bundled with the distribution, specify them in
|
|
# one of the following.
|
|
|
|
# These will be installed into docdir.
|
|
# Some of these files are actually needed for compilation (see src/res/Makefile.am).
|
|
dist_doc_DATA = AUTHORS.txt ChangeLog NEWS README.txt \
|
|
LICENSE_boost_1_0.txt \
|
|
LICENSE_bsd-ucb.txt \
|
|
LICENSE_gpl2.txt \
|
|
LICENSE_gpl3.txt \
|
|
LICENSE_gsmartcontrol.txt \
|
|
LICENSE_hz.txt \
|
|
LICENSE_pcrecpp.txt \
|
|
LICENSE_whatever.txt \
|
|
LICENSE_zlib.txt
|
|
|
|
|
|
# Extra files bundled with distribution.
|
|
# file2csource.sh is needed for building but not installed.
|
|
EXTRA_DIST = COPYING TODO INSTALL configure autogen.sh \
|
|
baqup gsmartcontrol.kdevelop \
|
|
templates \
|
|
file2csource.sh \
|
|
gsmartcontrol.spec
|
|
|
|
|
|
|
|
# PCH support
|
|
|
|
global_macros.h.gch: $(top_srcdir)/src/global_macros.h
|
|
$(CXX) $(CXXFLAGS) $(DEFS) -x "c++-header" $(top_srcdir)/src/global_macros.h -o global_macros.h.gch
|
|
|
|
gch: global_macros.h.gch
|
|
|
|
gch-clean:
|
|
rm -f global_macros.h.gch
|
|
|
|
distclean-local: gch-clean
|
|
|
|
|
|
# rpm support
|
|
|
|
src-rpm: dist
|
|
rpmbuild -ts $(distdir).tar.bz2
|
|
|
|
|
|
# Don't use this - it does something weird, and gcc errors out with "long long long" errors, etc...
|
|
#rpm: dist
|
|
# rpmbuild -ta $(distdir).tar.bz2
|
|
|
|
|