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.
113 lines
3.2 KiB
Makefile
113 lines
3.2 KiB
Makefile
22 years ago
|
# ***************************************************** -*- Makefile -*-
|
||
|
#
|
||
21 years ago
|
# Copyright (C) 2004 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., 59 Temple Place - Suite 330, Boston, MA
|
||
|
# 02111-1307, USA.
|
||
|
#
|
||
21 years ago
|
# File: config.mk.in
|
||
21 years ago
|
# 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
|
#
|
||
|
|
||
21 years ago
|
# **********************************************************************
|
||
|
# Exiv2 version
|
||
|
EXIV2_VERSION = @PACKAGE_VERSION@
|
||
|
|
||
22 years ago
|
# **********************************************************************
|
||
|
# Define which libraries (shared and/or static) to build
|
||
21 years ago
|
# 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@
|
||
22 years ago
|
|
||
21 years ago
|
# Common compiler flags (warnings, symbols [-ggdb], optimization [-O2], etc)
|
||
21 years ago
|
ifeq ($(findstring g++,$(CXX)),g++)
|
||
21 years ago
|
CXXFLAGS := -Wall -O2
|
||
|
else
|
||
|
CXXFLAGS := @CXXFLAGS@
|
||
|
endif
|
||
22 years ago
|
|
||
|
# Command to run only the preprocessor
|
||
|
CXXCPP = $(CXX) -E -dD
|
||
|
|
||
|
# Preprocessor flags
|
||
21 years ago
|
CPPFLAGS = @CPPFLAGS@
|
||
22 years ago
|
|
||
|
# Command to run the compiler or preprocessor to produce dependencies
|
||
|
CXXDEP = $(CXX) -MM
|
||
|
|
||
|
# Linker flags
|
||
21 years ago
|
LDFLAGS = @LDFLAGS@
|
||
22 years ago
|
|
||
21 years ago
|
# Suffix of executables
|
||
|
EXEEXT := @EXEEXT@
|
||
|
|
||
21 years ago
|
# **********************************************************************
|
||
|
# C Compiler
|
||
21 years ago
|
CC = @CC@
|
||
21 years ago
|
ifeq ($(findstring gcc,$(CC)),gcc)
|
||
21 years ago
|
CFLAGS := -Wall -O2
|
||
|
else
|
||
|
CFLAGS := @CFLAGS@
|
||
|
endif
|
||
21 years ago
|
|
||
22 years ago
|
# **********************************************************************
|
||
|
# Global includes, libraries and defines
|
||
21 years ago
|
INCS = -I.
|
||
|
LIBS = @LIBS@
|
||
|
DEFS =
|
||
22 years ago
|
|
||
21 years ago
|
# **********************************************************************
|
||
|
# Functions
|
||
21 years ago
|
HAVE_TIMEGM = @HAVE_TIMEGM@
|
||
21 years ago
|
|
||
22 years ago
|
# **********************************************************************
|
||
|
# Installation programs
|
||
21 years ago
|
INSTALL_EXE = @INSTALL@
|
||
21 years ago
|
INSTALL_PROGRAM = $(INSTALL_EXE)
|
||
|
INSTALL_DATA = $(INSTALL_EXE) -m 644
|
||
21 years ago
|
INSTALL_DIRS = $(top_srcdir)/config/mkinstalldirs
|
||
22 years ago
|
|
||
|
# **********************************************************************
|
||
|
# Other programs
|
||
21 years ago
|
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@
|
||
21 years ago
|
incdir = @includedir@/exiv2
|
||
21 years ago
|
libdir = @libdir@
|