Makefile.am 1.76 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
31
libspotltsmin_la_DEPENDENCIES = \
  $(top_builddir)/spot/libspot.la \
  $(LTDLDEPS)
32
libspotltsmin_la_LIBADD = \
33
  $(top_builddir)/spot/libspot.la \
34
  $(LIBLTDL) -lpthread
35
libspotltsmin_la_LDFLAGS = -no-undefined $(SYMBOLIC_LDFLAGS)
36
libspotltsmin_la_SOURCES = ltsmin.cc
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51


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

libspotltsmin.pc: $(srcdir)/libspotltsmin.pc.in
	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' \
	$(srcdir)/libspotltsmin.pc.in > $@

DISTCLEANFILES = libspotltsmin.pc