2004-03-23 06:17:59 +00:00
|
|
|
# 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)\"
|
2004-05-05 19:29:13 +00:00
|
|
|
INCLUDE_DIR=-DINCLUDE_DIR=\"$(prefix)/include\"
|
2004-03-30 22:23:08 +00:00
|
|
|
LIB_DIR=-DLIB_DIR=\"${libdir}\"
|
2004-03-23 06:17:59 +00:00
|
|
|
BIN_DIR=-DBIN_DIR=\"${exec_prefix}/bin\"
|
2004-04-04 22:53:48 +00:00
|
|
|
PLUGIN_DIR=-DPLUGIN_DIR=\"${pkglibdir}\"
|
2004-05-05 19:29:13 +00:00
|
|
|
VERSION=-DMAJOR_VERSION=\"$(MAJOR_VERSION)\" -DMINOR_VERSION=\"$(MINOR_VERSION)\" -DMICRO_VERSION=\"$(MICRO_VERSION)\" -DEXTRA_VERSION=\"$(EXTRA_VERSION)\"
|
2004-03-23 06:17:59 +00:00
|
|
|
|
|
|
|
## main app
|
2004-04-04 22:53:48 +00:00
|
|
|
bin_PROGRAMS = qgis-config
|
2004-03-23 06:17:59 +00:00
|
|
|
|
|
|
|
## ancillary library for plug-ins
|
|
|
|
|
|
|
|
qgis_config_SOURCES = qgis_config.cpp
|
2004-05-05 19:29:13 +00:00
|
|
|
qgis_config_CXXFLAGS = $(PREFIX) $(INCLUDE_DIR) $(LIB_DIR) $(BIN_DIR) $(PLUGIN_DIR) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(DEBUG_QGIS) $(VERSION)
|