1 # This file is part of the libsmooth library.
3 # libsmooth is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2.1 of the License, or
6 # (at your option) any later version.
8 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
9 AM_MAKEFLAGS = --no-print-directory
10 AUTOMAKE_OPTIONS = color-tests parallel-tests
14 # remove targets if the command fails
17 # keep intermediate files
24 pkgconfiglibdir=$(libdir)/pkgconfig
29 -include $(top_builddir)/config.h \
30 -I $(top_srcdir)/include \
33 AM_CFLAGS = $(OUR_CFLAGS)
34 AM_CXXFLAGS = $(OUR_CXXFLAGS)
35 AM_LDFLAGS = $(OUR_LDFLAGS)
41 #- libsmooth -------------------------------------------------------------------
46 libsmooth_la_SOURCES = \
50 libsmooth_la_LDFLAGS = \
52 -version-info $(LIBSMOOTH_CURRENT):$(LIBSMOOTH_REVISION):$(LIBSMOOTH_AGE)
66 #-------------------------------------------------------------------------------
69 '|PACKAGE_NAME=$(PACKAGE_NAME)|' \
70 '|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
71 '|prefix=$(prefix)|' \
72 '|exec_prefix=$(exec_prefix)|' \
73 '|libdir=$(libdir)|' \
74 '|includedir=$(includedir)|'
77 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
78 $(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) < $< > $@
80 %.pc: %.pc.in Makefile