1
## Process this file with automake to produce Makefile.in
3
# $Id: Makefile.am,v 1.11 2003/11/27 13:17:34 rbcollins Exp $
6
AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 foreign
7
AM_CXXFLAGS = -Wall -Werror
11
DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
13
INCLUDES = -I$(top_srcdir)/include
15
getoptincludedir = $(includedir)/getopt++
17
lib_LTLIBRARIES = libgetopt++.la
18
check_PROGRAMS = tests/OptionSet tests/testoption tests/optioniterator tests/BoolOptionTest
20
TESTS = tests/OptionSet tests/optioniterator tests/BoolOptionTest
22
libgetopt___la_SOURCES = src/GetOption.cc src/Option.cc src/BoolOption.cc \
26
libgetopt___la_LDFLAGS = -version-info 1:1:0
28
getoptinclude_HEADERS = include/getopt++/Option.h \
29
include/getopt++/BoolOption.h \
30
include/getopt++/DefaultFormatter.h \
31
include/getopt++/GetOption.h \
32
include/getopt++/OptionSet.h \
33
include/getopt++/StringOption.h
35
tests_testoption_SOURCES = tests/testoption.cc
36
tests_testoption_LDADD = libgetopt++.la
38
tests_optioniterator_SOURCES = tests/optioniterator.cc
39
tests_optioniterator_LDADD = libgetopt++.la
41
tests_BoolOptionTest_SOURCES = tests/BoolOptionTest.cc
42
tests_BoolOptionTest_LDADD = libgetopt++.la
44
tests_OptionSet_SOURCES = tests/OptionSet.cc
45
tests_OptionSet_LDADD = libgetopt++.la