Makefile.am 1.87 KB
Newer Older
1
## -*- coding: utf-8 -*-
2 3
## Copyright (C) 2011, 2013, 2014, 2015, 2016, 2017 Laboratoire de
## Recherche et Developpement de l'Epita (LRDE).
4 5 6 7 8
##
## This file is part of Spot, a model checking library.
##
## Spot is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
9
## the Free Software Foundation; either version 3 of the License, or
10 11 12 13 14 15 16 17
## (at your option) any later version.
##
## Spot 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.
##
## You should have received a copy of the GNU General Public License
18
## along with this program.  If not, see <http://www.gnu.org/licenses/>.
19

20
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) \
21
              $(BUDDY_CPPFLAGS) $(LTDLINCL)
22
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
23

24
ltsmindir = $(pkgincludedir)/ltsmin
25

26
ltsmin_HEADERS = ltsmin.hh
27

28
lib_LTLIBRARIES = libspotltsmin.la
29 30
libspotltsmin_la_DEPENDENCIES = \
  $(top_builddir)/spot/libspot.la \
31
  $(top_builddir)/buddy/src/libbddx.la \
32
  $(LTDLDEPS)
33
libspotltsmin_la_LIBADD = \
34
  $(top_builddir)/spot/libspot.la \
35
  $(top_builddir)/buddy/src/libbddx.la \
36
  $(LIBLTDL) -lpthread
37
libspotltsmin_la_LDFLAGS = -no-undefined $(SYMBOLIC_LDFLAGS)
38
libspotltsmin_la_SOURCES = ltsmin.cc
39 40 41 42 43 44


EXTRA_DIST = $(srcdir)/libspotltsmin.pc.in
pkgconfigdir = $(libdir)/pkgconfig
nodist_pkgconfig_DATA = libspotltsmin.pc

45
libspotltsmin.pc: $(srcdir)/libspotltsmin.pc.in Makefile
46 47 48 49 50
	sed -e 's![@]prefix[@]!$(prefix)!g' \
	    -e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
	    -e 's![@]includedir[@]!$(includedir)!g' \
	    -e 's![@]libdir[@]!$(libdir)!g' \
	    -e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
51
	$(srcdir)/libspotltsmin.pc.in > $@.tmp && mv $@.tmp $@
52

53
CLEANFILES = libspotltsmin.pc