Commit e9f781331cbae29bb20d00c10213900805edbed2

Authored by knodlseder
1 parent 9f9b37cb

streamline makefile

src/ctbin/Makefile.am
1 ## Process this file with automake to produce Makefile.in 1 ## Process this file with automake to produce Makefile.in
2 2
3 -# we use srcdir/src for "private" includes  
4 -# we use srcdir/include for the static global include files  
5 -# we use builddir/src for the generated include files to get found  
6 -  
7 -# Include directories  
8 -INCLUDES = -I$(top_srcdir)/include \  
9 - -I$(top_builddir)/src \  
10 - -I$(top_srcdir)/src  
11 -  
12 # Program name 3 # Program name
13 bin_PROGRAMS = ctbin 4 bin_PROGRAMS = ctbin
14 5
15 # Sources 6 # Sources
16 sources = ctbin.cpp 7 sources = ctbin.cpp
17 8
18 -# Libtool library (only needed for python bindings) 9 +# Libtool library
19 noinst_LTLIBRARIES = libctbin.la 10 noinst_LTLIBRARIES = libctbin.la
20 libctbin_la_SOURCES = $(sources) 11 libctbin_la_SOURCES = $(sources)
21 12
22 # Program definition 13 # Program definition
23 -ctbin_SOURCES = main.cpp $(sources) 14 +ctbin_SOURCES = main.cpp
24 ctbin_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@ 15 ctbin_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@
25 ctbin_CPPFLAGS = @CPPFLAGS@ 16 ctbin_CPPFLAGS = @CPPFLAGS@
  17 +ctbin_LDADD = libctbin.la
26 18
27 # Parameter files 19 # Parameter files
28 pfilesdir = $(prefix)/syspfiles 20 pfilesdir = $(prefix)/syspfiles
src/ctlike/Makefile.am
1 ## Process this file with automake to produce Makefile.in 1 ## Process this file with automake to produce Makefile.in
2 2
3 -# we use srcdir/src for "private" includes  
4 -# we use srcdir/include for the static global include files  
5 -# we use builddir/src for the generated include files to get found  
6 -  
7 -# Include directories  
8 -INCLUDES = -I$(top_srcdir)/include \  
9 - -I$(top_builddir)/src \  
10 - -I$(top_srcdir)/src  
11 -  
12 # Program name 3 # Program name
13 bin_PROGRAMS = ctlike 4 bin_PROGRAMS = ctlike
14 5
15 # Sources 6 # Sources
16 sources = ctlike.cpp 7 sources = ctlike.cpp
17 8
18 -# Libtool library (only needed for python bindings) 9 +# Libtool library
19 noinst_LTLIBRARIES = libctlike.la 10 noinst_LTLIBRARIES = libctlike.la
20 libctlike_la_SOURCES = $(sources) 11 libctlike_la_SOURCES = $(sources)
21 12
22 # Program definition 13 # Program definition
23 -ctlike_SOURCES = main.cpp $(sources) 14 +ctlike_SOURCES = main.cpp
24 ctlike_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@ 15 ctlike_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@
25 ctlike_CPPFLAGS = @CPPFLAGS@ 16 ctlike_CPPFLAGS = @CPPFLAGS@
  17 +ctlike_LDADD = libctlike.la
26 18
27 # Parameter files 19 # Parameter files
28 pfilesdir = $(prefix)/syspfiles 20 pfilesdir = $(prefix)/syspfiles
src/ctobssim/Makefile.am
1 ## Process this file with automake to produce Makefile.in 1 ## Process this file with automake to produce Makefile.in
2 2
3 -# we use srcdir/src for "private" includes  
4 -# we use srcdir/include for the static global include files  
5 -# we use builddir/src for the generated include files to get found  
6 -  
7 -# Include directories  
8 -INCLUDES = -I$(top_srcdir)/include \  
9 - -I$(top_builddir)/src \  
10 - -I$(top_srcdir)/src  
11 -  
12 # Program name 3 # Program name
13 bin_PROGRAMS = ctobssim 4 bin_PROGRAMS = ctobssim
14 5
15 # Sources 6 # Sources
16 sources = ctobssim.cpp 7 sources = ctobssim.cpp
17 8
18 -# Libtool library (only needed for python bindings) 9 +# Libtool library
19 noinst_LTLIBRARIES = libctobssim.la 10 noinst_LTLIBRARIES = libctobssim.la
20 libctobssim_la_SOURCES = $(sources) 11 libctobssim_la_SOURCES = $(sources)
21 12
22 # Program definition 13 # Program definition
23 -ctobssim_SOURCES = main.cpp $(sources) 14 +ctobssim_SOURCES = main.cpp
24 ctobssim_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@ 15 ctobssim_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@
25 ctobssim_CPPFLAGS = @CPPFLAGS@ 16 ctobssim_CPPFLAGS = @CPPFLAGS@
  17 +ctobssim_LDADD = libctobssim.la
26 18
27 # Parameter files 19 # Parameter files
28 pfilesdir = $(prefix)/syspfiles 20 pfilesdir = $(prefix)/syspfiles
src/ctselect/Makefile.am
1 ## Process this file with automake to produce Makefile.in 1 ## Process this file with automake to produce Makefile.in
2 2
3 -# we use srcdir/src for "private" includes  
4 -# we use srcdir/include for the static global include files  
5 -# we use builddir/src for the generated include files to get found  
6 -  
7 -# Include directories  
8 -INCLUDES = -I$(top_srcdir)/include \  
9 - -I$(top_builddir)/src \  
10 - -I$(top_srcdir)/src  
11 -  
12 # Program name 3 # Program name
13 bin_PROGRAMS = ctselect 4 bin_PROGRAMS = ctselect
14 5
@@ -20,9 +11,10 @@ noinst_LTLIBRARIES = libctselect.la @@ -20,9 +11,10 @@ noinst_LTLIBRARIES = libctselect.la
20 libctselect_la_SOURCES = $(sources) 11 libctselect_la_SOURCES = $(sources)
21 12
22 # Program definition 13 # Program definition
23 -ctselect_SOURCES = main.cpp $(sources) 14 +ctselect_SOURCES = main.cpp
24 ctselect_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@ 15 ctselect_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@
25 ctselect_CPPFLAGS = @CPPFLAGS@ 16 ctselect_CPPFLAGS = @CPPFLAGS@
  17 +ctselect_LDADD = libctselect.la
26 18
27 # Parameter files 19 # Parameter files
28 pfilesdir = $(prefix)/syspfiles 20 pfilesdir = $(prefix)/syspfiles