mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1322 c8812cc2-4d05-0410-92ff-de0c093fc19c
25 lines
1.1 KiB
Makefile
25 lines
1.1 KiB
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}\"
|
|
VERSION=-DMAJOR_VERSION=\"$(MAJOR_VERSION)\" -DMINOR_VERSION=\"$(MINOR_VERSION)\" -DMICRO_VERSION=\"$(MICRO_VERSION)\" -DEXTRA_VERSION=\"$(EXTRA_VERSION)\"
|
|
|
|
## 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) $(VERSION)
|