QGIS/tools/qgis_config/Makefile.am
jobi 58aafaf055 ** fixed qgiscommit (didn't work when in qgis root)
** cosmetics for qgis-config to be more "standardconform"


git-svn-id: http://svn.osgeo.org/qgis/trunk@1153 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-04 22:53:48 +00:00

24 lines
911 B
Makefile

# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PREFIX=-DPREFIX=\"$(prefix)\"
INCLUDE_DIR=-DINCLUDE_DIR=\"${prefix}/include\"
LIB_DIR=-DLIB_DIR=\"${libdir}\"
BIN_DIR=-DBIN_DIR=\"${exec_prefix}/bin\"
PLUGIN_DIR=-DPLUGIN_DIR=\"${pkglibdir}\"
## main app
bin_PROGRAMS = qgis-config
## ancillary library for plug-ins
qgis_config_SOURCES = qgis_config.cpp
qgis_config_CXXFLAGS = $(PREFIX) $(INCLUDE_DIR) $(LIB_DIR) $(BIN_DIR) $(PLUGIN_DIR) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(DEBUG_QGIS)