Fixed buils
[distributed.git] / src / Makefile.am
blob662e539ccfb49edc189150cb9227ee8fd4e0c1b5
1 ##
2 ## Input file for automake
3 ##
4 ## Copyright (C) 2008 Francesco Salvestrini
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2 of the License, or
9 ## (at your option) any later version.
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
16 ## You should have received a copy of the GNU General Public License along
17 ## with this program; if not, write to the Free Software Foundation, Inc.,
18 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 include $(top_srcdir)/Makefile.maint
23 AUTOMAKE_OPTIONS = subdir-objects
26 ## User related targets
29 EXTRA_DIST =                                    \
30         config.h
32 bin_PROGRAMS =                                  \
33         beacon                                  \
34         distribute
36 beacon_SOURCES =                                \
37         beacon.cxx
38 beacon_LDADD =                                  \
39         libmisc.a
41 distribute_SOURCES =                            \
42         distribute.cxx
43 distribute_LDADD =                              \
44         libmisc.a                               \
45         libvm.a
47 noinst_LIBRARIES =                              \
48         libvm.a                                 \
49         libmisc.a
51 libvm_a_SOURCES =                               \
52         vm/vm.h
54 if ENABLE_LUA
55 libvm_a_SOURCES +=                              \
56         vm/lua.h                                \
57         vm/lua.cxx
58 endif
60 libmisc_a_SOURCES =                             \
61         misc/debug.h                            \
62         misc/debug.cxx                          \
63         misc/trace.h                            \
64         misc/constant.h                         \
65         misc/utility.h                          \
66         misc/uuid.h                             \
67         misc/uuid.cxx                           \
68         misc/option.h                           \
69         misc/option.cxx                         \
70         misc/thread.h                           \
71         misc/thread.cxx
74 ## Maintainer related targets
77 update-local:
79 maintainer-check-local: