* m4/gspnlib.m4 (AX_CHECK_GSPNLIB): Do not warn about a missing
library for eesrg. Define the WITH_GSPN_EESRG conditional. * iface/gspn/Makefile.am (gspn_HEADERS, check_PROGRAMS): Add the eesrg items in condition WITH_GSPN_EESRG. (libspotgspneesrg_la_LIBADD, libspotgspneesrg_la_CPPFLAGS) (libspotgspneesrg_la_SOURCES): Define only in condition WITH_GSPN_EESRG.
This commit is contained in:
parent
7a54e04800
commit
06877eac24
3 changed files with 31 additions and 15 deletions
|
|
@ -1,4 +1,4 @@
|
|||
## Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
## Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
## et Marie Curie.
|
||||
##
|
||||
|
|
@ -26,8 +26,7 @@ gspndir = $(pkgincludedir)/gspn
|
|||
|
||||
gspn_HEADERS = \
|
||||
common.hh \
|
||||
gspn.hh \
|
||||
eesrg.hh
|
||||
gspn.hh
|
||||
|
||||
lib_LTLIBRARIES = libspotgspn.la libspotgspneesrg.la
|
||||
libspotgspn_la_LIBADD = $(top_builddir)/src/libspot.la
|
||||
|
|
@ -35,19 +34,25 @@ libspotgspn_la_SOURCES = \
|
|||
common.cc \
|
||||
gspn.cc
|
||||
|
||||
check_PROGRAMS = \
|
||||
dottygspn-rg \
|
||||
dottygspn-srg \
|
||||
ltlgspn-rg \
|
||||
ltlgspn-srg
|
||||
|
||||
if WITH_GSPN_EESRG
|
||||
gspn_HEADERS += eesrg.hh
|
||||
check_PROGRAMS += \
|
||||
dottygspn-eesrg \
|
||||
ltleesrg
|
||||
|
||||
libspotgspneesrg_la_LIBADD = $(top_builddir)/src/libspot.la
|
||||
libspotgspneesrg_la_CPPFLAGS = -DESYMBOLIC $(AM_CPPFLAGS)
|
||||
libspotgspneesrg_la_SOURCES = \
|
||||
common.cc \
|
||||
eesrg.cc
|
||||
endif
|
||||
|
||||
check_PROGRAMS = \
|
||||
dottygspn-rg \
|
||||
dottygspn-srg \
|
||||
dottygspn-eesrg \
|
||||
ltlgspn-rg \
|
||||
ltlgspn-srg \
|
||||
ltleesrg
|
||||
|
||||
dottygspn_rg_SOURCES = dottygspn.cc
|
||||
dottygspn_rg_LDADD = libspotgspn.la $(LIBGSPNRG_LDFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue