Removed whites
[distributed.git] / src / Makefile.am
blobc456af5a077a984382354b4a70caec0031244b5f
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 ## Programs
31 EXTRA_DIST =                                    \
32         config.h
34 bin_PROGRAMS =                                  \
35         beacon                                  \
36         distribute
38 beacon_SOURCES  =                               \
39         server/beacon.cxx
40 beacon_CPPFLAGS =                               \
41         $(EXTRA_CPPFLAGS)
42 beacon_LDADD    =                               \
43         libmisc.a                               \
44         libnet.a                                \
45         libvm.a                                 \
46         libconf.a
47 beacon_LDFLAGS  =
48 if ENABLE_LUA
49 beacon_LDFLAGS +=                               \
50         $(LUA_LIBS)
51 endif
53 distribute_SOURCES =                            \
54         client/distribute.cxx
55 distribute_CPPFLAGS =                           \
56         $(EXTRA_CPPFLAGS)
57 distribute_LDADD =                              \
58         libmisc.a                               \
59         libnet.a                                \
60         libconf.a
62 ## Libraries
64 noinst_LIBRARIES =                              \
65         libmisc.a                               \
66         libconf.a                               \
67         libnet.a                                \
68         libvm.a
70 libvm_a_SOURCES  =                              \
71         libs/vm/vm.h                            \
72         libs/vm/vm.cxx
73 libvm_a_CFLAGS   =
74 libvm_a_CPPFLAGS =                              \
75         $(EXTRA_CPPFLAGS)
76 libvm_a_LIBADD   =
78 if ENABLE_LUA
79 libvm_a_SOURCES +=                              \
80         libs/vm/lua.h                           \
81         libs/vm/lua.cxx
82 libvm_a_CFLAGS  += $(LUA_CFLAGS)
83 endif
85 libmisc_a_SOURCES =                             \
86         libs/misc/debug.h                       \
87         libs/misc/debug.cxx                     \
88         libs/misc/trace.h                       \
89         libs/misc/trace.cxx                     \
90         libs/misc/environment.h                 \
91         libs/misc/environment.cxx               \
92         libs/misc/constant.h                    \
93         libs/misc/utility.h                     \
94         libs/misc/thread.h                      \
95         libs/misc/thread.cxx
96 libmisc_a_CPPFLAGS =                            \
97         $(EXTRA_CPPFLAGS)
99 libnet_a_SOURCES =                              \
100         libs/net/uuid.h                         \
101         libs/net/uuid.cxx
102 libnet_a_CPPFLAGS =                             \
103         $(EXTRA_CPPFLAGS)
105 libconf_a_SOURCES =                             \
106         libs/conf/configuration.h               \
107         libs/conf/configuration.cxx
108 libconf_a_CPPFLAGS =                            \
109         $(EXTRA_CPPFLAGS)
112 ## Maintainer related targets
115 update-local:
117 maintainer-check-local: