1
# Copyright (C) 2005 Gary Sherman gsherman at mrcc dot com
3
# This file is free software; as a special exception the author gives
4
# unlimited permission to copy and/or distribute it, with or without
5
# modifications, as long as this notice is preserved.
7
# This program is distributed in the hope that it will be useful, but
8
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
# $Id: Makefile.am 6716 2007-02-26 23:33:10Z homann $
14
bin_PROGRAMS = qgis_help
16
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
17
PLUGINPATH=-DPLUGINPATH=\"$(pluginpath)\"
18
PREFIX=-DPREFIX=\"$(prefix)\"
28
qgis_help_MOC = qgshelpserver.moc.cpp \
31
qgis_help_UI = ui_qgshelpviewerbase.h
33
qgis_help_UIC = qgshelpviewerbase.ui
35
qgis_help_SOURCES = main.cpp \
40
../core/qgsapplication.h \
41
../core/qgsapplication.cpp \
43
../core/qgslogger.cpp \
47
BUILT_SOURCES = $(qgis_help_MOC) $(qgis_help_UI)
49
qgis_help_LDADD = $(LDADD) $(QT_LDADD) -lsqlite3
51
qgis_help_CXXFLAGS = -I../core $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(PKGDATAPATH) $(PLUGINPATH) $(PREFIX)
53
CLEANFILES = $(BUILT_SOURCES)
55
EXTRA_DIST = $(qgis_help_UIC)
57
# Qt/Mac app needs to be inside a bundle to function correctly
58
MACBINDIR = $(bindir)/qgis_help.app/Contents/MacOS
62
$(mkinstalldirs) $(MACBINDIR)
63
mv $(bindir)/qgis_help $(MACBINDIR)