Makefile.am 1.43 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
## Vaucanson, a generic library for finite state machines.
## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 The Vaucanson Group.
##
## 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.
##
## The complete GNU General Public Licence Notice can be found as the
## `COPYING' file in the root directory.
##
## The Vaucanson Group consists of people listed in the `AUTHORS' file.

14
include $(top_srcdir)/src/vaucanson.mk
15
16
# VCSN_USE_XML doesn't need to be checked as VCSN_TAF_KIT
# is not enabled if the former isn't.
17
AM_CPPFLAGS += $(CXXFLAGS_OPTIMIZE)
18
19
AM_LDFLAGS = $(TERMLIBS)

20
21
22
23
24
25
26
Progs = vcsn-b

if VCSN_TAF_KIT
  bin_PROGRAMS = $(Progs)
else
  EXTRA_PROGRAMS = $(Progs)
endif
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

COMMON_SOURCES = commands.hh			\
		 commands_macros.hh		\
		 common_commands.hh		\
		 common.hh			\
		 edit_automaton.hh		\
		 edit_automaton.hxx		\
		 getters.hh			\
		 getters.hxx			\
		 main.cc			\
		 predefined_alphabets.hh


vcsn_b_CPPFLAGS = $(AM_CPPFLAGS)					\
		  -DCONTEXT_HEADER="<vaucanson/boolean_automaton.hh>"   \
		  -DCONTEXT_NAMESPACE="vcsn::boolean_automaton"


vcsn_b_SOURCES = $(COMMON_SOURCES)		\
		 b_commands.cc
Akim Demaille's avatar
Akim Demaille committed
47
48
49
50
51
52
53
54

## ------ ##
## argp.  ##
## ------ ##

# Be sure to fetch the argp we ship.
AM_CPPFLAGS += -I$(top_srcdir)/argp
vcsn_b_LDADD = $(top_builddir)/argp/libargp.la