You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
3.7 KiB
Makefile

22 years ago
# ***************************************************** -*- Makefile -*-
#
# Copyright (C) 2004, 2005, 2006 Andreas Huggel <ahuggel@gmx.net>
22 years ago
#
21 years ago
# This Makefile is part of the Exiv2 distribution.
22 years ago
#
21 years ago
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
22 years ago
#
21 years ago
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
21 years ago
#
21 years ago
# File: config.mk.in
# Version: $Rev$
21 years ago
# Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net>
# History: 10-Dec-03, ahu: created
#
# Description:
21 years ago
# Exiv2 system configuration file.
22 years ago
#
# **********************************************************************
# Exiv2 version
EXIV2_VERSION = @PACKAGE_VERSION@
22 years ago
# **********************************************************************
# Define which libraries (shared and/or static) to build
# This setting is now controlled by GNU configure and libtool, see
# the top level directory README and configure --help
# **********************************************************************
# Libtool
LIBTOOL = $(top_srcdir)/libtool
LIBTOOL_DEPS = @LIBTOOL_DEPS@
22 years ago
# **********************************************************************
# C++ Compiler and precompiler
21 years ago
CXX = @CXX@
GXX = @GXX@
22 years ago
21 years ago
# Common compiler flags (warnings, symbols [-ggdb], optimization [-O2], etc)
CXXFLAGS = @CXXFLAGS@
ifeq ($(GXX),yes)
CXXFLAGS += -Wall
21 years ago
endif
22 years ago
# Command to run only the preprocessor
CXXCPP = @CXXCPP@
22 years ago
# Preprocessor flags
21 years ago
CPPFLAGS = @CPPFLAGS@
22 years ago
# Linker flags
LDFLAGS = @LDFLAGS@ -lm
22 years ago
# Suffix of executables
EXEEXT := @EXEEXT@
# **********************************************************************
# C Compiler
21 years ago
CC = @CC@
GCC = @GCC@
CFLAGS = @CFLAGS@
ifeq ($(GCC),yes)
CFLAGS += -Wall
21 years ago
endif
# **********************************************************************
# Advanced auto-dependency generation
# http://make.paulandlesley.org/autodep.html
# Compiler flags to generate dependency files at the same time as object
# files (for gcc)
ifeq ($(GXX),yes)
CXXFLAGS += -MMD
CFLAGS += -MMD
MAKEDEPEND =
else
# Command to run the compiler or preprocessor to produce dependencies.
# If you're not using gcc, you may need to change this to something
# suitable for your compiler or simply unset the variable. See the link
# above for suggestions
MAKEDEPEND = $(CXX) -MM $(CPPFLAGS) -o $*.d $<
endif
22 years ago
# **********************************************************************
# Global includes, libraries and defines
INCS = -I.
LIBS = @LIBS@
DEFS =
22 years ago
# **********************************************************************
# Functions
21 years ago
HAVE_TIMEGM = @HAVE_TIMEGM@
22 years ago
# **********************************************************************
# Installation programs
21 years ago
INSTALL_EXE = @INSTALL@
INSTALL_PROGRAM = $(INSTALL_EXE)
INSTALL_DATA = $(INSTALL_EXE) -m 644
INSTALL_DIRS = $(top_srcdir)/config/mkinstalldirs
22 years ago
# **********************************************************************
# Other programs
RM = rm -f
22 years ago
# **********************************************************************
# Directories
21 years ago
prefix = @prefix@
exec_prefix = @exec_prefix@
22 years ago
# Source directory
21 years ago
srcdir = @srcdir@
22 years ago
# Installation directories
21 years ago
bindir = @bindir@
incdir = @includedir@/exiv2
21 years ago
libdir = @libdir@
mandir = @mandir@
man1dir = @mandir@/man1