1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002-2022 Free Software Foundation, Inc.
4 # This file is part of LIBTASN1.
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
22 AM_CPPFLAGS = -I$(top_builddir)/lib/includes -I$(top_srcdir)/lib/includes
23 AM_CPPFLAGS += -I$(top_builddir)/lib/gl -I$(top_srcdir)/lib/gl
24 AM_CPPFLAGS += -I$(builddir)/gl -I$(srcdir)/gl
26 AM_CFLAGS += $(CODE_COVERAGE_CFLAGS)
27 AM_CPPFLAGS += $(CODE_COVERAGE_CPPFLAGS)
29 LDADD = ../lib/libtasn1.la ../lib/gl/libgnu.la gl/libsgl.la
30 LDADD += $(LIB_CLOCK_GETTIME) $(LTLIBINTL)
31 AM_LDFLAGS = $(CODE_COVERAGE_LDFLAGS)
33 bin_PROGRAMS = asn1Parser asn1Coding asn1Decoding
35 asn1Parser_SOURCES = asn1Parser.c
37 asn1Coding_SOURCES = asn1Coding.c
39 asn1Decoding_SOURCES = asn1Decoding.c benchmark.c benchmark.h