1 ## Process this file with automake to produce Makefile.in
6 AUTOMAKE_OPTIONS = subdir-objects 1.9 foreign
7 # -Wno-uninitialized added to deal with g++ 3.4.4's spurious STL warnings
8 # (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22207)
9 AM_CXXFLAGS = -Wall -Werror -Wno-uninitialized
16 DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
18 AM_CPPFLAGS = -I$(top_srcdir)/include
20 getoptincludedir = $(includedir)/getopt++
22 lib_LTLIBRARIES = libgetopt++.la
23 check_PROGRAMS = tests/OptionSet tests/testoption tests/optioniterator tests/BoolOptionTest
25 TESTS = tests/OptionSet tests/optioniterator tests/BoolOptionTest
27 libgetopt___la_SOURCES = src/GetOption.cc src/Option.cc src/BoolOption.cc \
29 src/StringArrayOption.cc src/StringOption.cc
31 libgetopt___la_LDFLAGS = -version-info 1:1:0
33 getoptinclude_HEADERS = include/getopt++/Option.h \
34 include/getopt++/BoolOption.h \
35 include/getopt++/DefaultFormatter.h \
36 include/getopt++/GetOption.h \
37 include/getopt++/OptionSet.h \
38 include/getopt++/StringArrayOption.h \
39 include/getopt++/StringOption.h
41 tests_testoption_SOURCES = tests/testoption.cc
42 tests_testoption_LDADD = libgetopt++.la
44 tests_optioniterator_SOURCES = tests/optioniterator.cc
45 tests_optioniterator_LDADD = libgetopt++.la
47 tests_BoolOptionTest_SOURCES = tests/BoolOptionTest.cc
48 tests_BoolOptionTest_LDADD = libgetopt++.la
50 tests_OptionSet_SOURCES = tests/OptionSet.cc
51 tests_OptionSet_LDADD = libgetopt++.la