Initialize Tizen 2.3
[external/libtasn1.git] / examples / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
3 # Free Software Foundation, Inc.
4 #
5 # This file is part of LIBTASN1.
6 #
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
20 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
21 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_builddir)/gl
22
23 EXTRA_DIST = asn1Coding_test.asn asn1Coding_test.asg
24
25 LDADD = ../lib/libtasn1.la ../gl/libgnu.la
26
27 noinst_PROGRAMS = CertificateExample CrlExample
28
29 CertificateExample_SOURCES = CertificateExample.c pkix_asn1_tab.c pkix.asn
30
31 CrlExample_SOURCES = CrlExample.c pkix_asn1_tab.c pkix.asn
32
33 BUILT_SOURCES = pkix_asn1_tab.c
34 MAINTAINERCLEANFILES = pkix_asn1_tab.c
35
36 pkix_asn1_tab.c: $(srcdir)/pkix.asn
37         ../src/asn1Parser -o $@ $(srcdir)/pkix.asn