Commit e9f781331cbae29bb20d00c10213900805edbed2

Authored by knodlseder
1 parent 9f9b37cb

streamline makefile

src/ctbin/Makefile.am
1 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 3 # Program name
13 4 bin_PROGRAMS = ctbin
14 5  
15 6 # Sources
16 7 sources = ctbin.cpp
17 8  
18   -# Libtool library (only needed for python bindings)
  9 +# Libtool library
19 10 noinst_LTLIBRARIES = libctbin.la
20 11 libctbin_la_SOURCES = $(sources)
21 12  
22 13 # Program definition
23   -ctbin_SOURCES = main.cpp $(sources)
  14 +ctbin_SOURCES = main.cpp
24 15 ctbin_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@
25 16 ctbin_CPPFLAGS = @CPPFLAGS@
  17 +ctbin_LDADD = libctbin.la
26 18  
27 19 # Parameter files
28 20 pfilesdir = $(prefix)/syspfiles
... ...
src/ctlike/Makefile.am
1 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 3 # Program name
13 4 bin_PROGRAMS = ctlike
14 5  
15 6 # Sources
16 7 sources = ctlike.cpp
17 8  
18   -# Libtool library (only needed for python bindings)
  9 +# Libtool library
19 10 noinst_LTLIBRARIES = libctlike.la
20 11 libctlike_la_SOURCES = $(sources)
21 12  
22 13 # Program definition
23   -ctlike_SOURCES = main.cpp $(sources)
  14 +ctlike_SOURCES = main.cpp
24 15 ctlike_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@
25 16 ctlike_CPPFLAGS = @CPPFLAGS@
  17 +ctlike_LDADD = libctlike.la
26 18  
27 19 # Parameter files
28 20 pfilesdir = $(prefix)/syspfiles
... ...
src/ctobssim/Makefile.am
1 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 3 # Program name
13 4 bin_PROGRAMS = ctobssim
14 5  
15 6 # Sources
16 7 sources = ctobssim.cpp
17 8  
18   -# Libtool library (only needed for python bindings)
  9 +# Libtool library
19 10 noinst_LTLIBRARIES = libctobssim.la
20 11 libctobssim_la_SOURCES = $(sources)
21 12  
22 13 # Program definition
23   -ctobssim_SOURCES = main.cpp $(sources)
  14 +ctobssim_SOURCES = main.cpp
24 15 ctobssim_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@
25 16 ctobssim_CPPFLAGS = @CPPFLAGS@
  17 +ctobssim_LDADD = libctobssim.la
26 18  
27 19 # Parameter files
28 20 pfilesdir = $(prefix)/syspfiles
... ...
src/ctselect/Makefile.am
1 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 3 # Program name
13 4 bin_PROGRAMS = ctselect
14 5  
... ... @@ -20,9 +11,10 @@ noinst_LTLIBRARIES = libctselect.la
20 11 libctselect_la_SOURCES = $(sources)
21 12  
22 13 # Program definition
23   -ctselect_SOURCES = main.cpp $(sources)
  14 +ctselect_SOURCES = main.cpp
24 15 ctselect_LDFLAGS = $(LIB_LINK_OPTION) @LDFLAGS@
25 16 ctselect_CPPFLAGS = @CPPFLAGS@
  17 +ctselect_LDADD = libctselect.la
26 18  
27 19 # Parameter files
28 20 pfilesdir = $(prefix)/syspfiles
... ...