Remove autogenerated files
[libt2n] / examples-codegen / example1 / Makefile.am
CommitLineData
208db683
JT
1# not a GNU package. You can remove this line, if you have all needed files, that a GNU package needs
2AUTOMAKE_OPTIONS = foreign
3
4# our dependencies
5INCLUDES = @LIBT2N_CFLAGS@
6LDADD = @LIBT2N_LIBS@
7
8# list your command groups (seperated by spaces)
9CMDGROUPS = t2nexample
10
11# for each command group list the files to parse for LIBT2N_EXPORT
12t2nexample_GROUP = t2nexample.cpp
13
14# unfortunately we can't set those from variables (because they are parsed by automake)
15
16# for each group build a client library from generated source file(s)
17# (if you have automake >= 1.5 you might wish to use nodist_ here)
18# Note: the library name must match the group name
19libt2nexample_la_SOURCES = t2nexample_client.cpp
20lib_LTLIBRARIES = libt2nexample.la
21
22# build server program
23bin_PROGRAMS = libt2n-example1-server
24
25# (if you have automake >= 1.5 you might wish to use nodist_ here)
26# nodist_server_SOURCES = t2nexample_server.cpp
27
28libt2n_example1_server_SOURCES = \
29 server.cpp $(t2nexample_GROUP) \
30 t2nexample_server.cpp
31
32# include Makefile snippet doing all the magic
33include codegen.make