Move examples from src/ to new directory examples/.
authorSimon Josefsson <simon@josefsson.org>
Fri, 1 Feb 2008 15:45:57 +0000 (16:45 +0100)
committerSimon Josefsson <simon@josefsson.org>
Fri, 1 Feb 2008 15:45:57 +0000 (16:45 +0100)
Makefile.am
configure.in
examples/CertificateExample.c [moved from src/CertificateExample.c with 100% similarity]
examples/CrlExample.c [moved from src/CrlExample.c with 100% similarity]
examples/asn1Coding_test.asg [moved from src/asn1Coding_test.asg with 100% similarity]
examples/asn1Coding_test.asn [moved from src/asn1Coding_test.asn with 100% similarity]
examples/pkix.asn [moved from src/pkix.asn with 100% similarity]
src/Makefile.am

index 2380dc5..a7e5b53 100644 (file)
@@ -1,5 +1,5 @@
 ## Process this file with automake to produce Makefile.in
-# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
+# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
 #
 # This file is part of LIBTASN1.
 #
@@ -26,7 +26,7 @@ EXTRA_DIST = windows/asn1-parser/asn1-parser.vcproj           \
        windows/test-parser/test-parser.vcproj                  \
        windows/test-tree/test-tree.vcproj
 
-SUBDIRS = gl lib src tests doc
+SUBDIRS = gl lib src examples tests doc
 
 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
 
index 32df5c0..a8f5c07 100644 (file)
@@ -135,5 +135,5 @@ fi
 
 AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile lib/Makefile \
        gl/Makefile lib/libtasn1.pc lib/libtasn1-config doc/Makefile \
-       doc/reference/Makefile])
+       doc/reference/Makefile examples/Makefile])
 AC_OUTPUT
similarity index 100%
rename from src/CrlExample.c
rename to examples/CrlExample.c
similarity index 100%
rename from src/pkix.asn
rename to examples/pkix.asn
index 2b26aa1..0c849f3 100644 (file)
 
 INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_builddir)/gl
 
-EXTRA_DIST = asn1Coding_test.asn asn1Coding_test.asg
-
 LDADD = ../lib/libtasn1.la ../gl/libgnu.la
 
 bin_PROGRAMS = asn1Parser asn1Coding asn1Decoding
-noinst_PROGRAMS = CertificateExample CrlExample
 
 asn1Parser_SOURCES = asn1Parser.c  
 
 asn1Coding_SOURCES = asn1Coding.c  
 
 asn1Decoding_SOURCES = asn1Decoding.c  
-
-CertificateExample_SOURCES = CertificateExample.c pkix_asn1_tab.c pkix.asn
-
-CrlExample_SOURCES = CrlExample.c pkix_asn1_tab.c pkix.asn
-
-BUILT_SOURCES = pkix_asn1_tab.c
-MAINTAINERCLEANFILES = pkix_asn1_tab.c
-
-pkix_asn1_tab.c: asn1Parser $(srcdir)/pkix.asn
-       -./asn1Parser -o $@ $(srcdir)/pkix.asn