]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Moved sample code to examples dir
authorRalf Haferkamp <ralf@openldap.org>
Thu, 5 Jun 2003 18:10:44 +0000 (18:10 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Thu, 5 Jun 2003 18:10:44 +0000 (18:10 +0000)
contrib/ldapc++/Makefile.am
contrib/ldapc++/configure.in
contrib/ldapc++/examples/Makefile.am [new file with mode: 0644]
contrib/ldapc++/examples/main.cpp [moved from contrib/ldapc++/src/main.cpp with 100% similarity]
contrib/ldapc++/src/Makefile.am

index d042552ff70517285f6951f26984731fb489dab1..85c1b008fd921e6efd80ff6e4a4dd19cdead51ea 100644 (file)
@@ -1,8 +1,8 @@
 ##
-# Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
+# Copyright 2000-2003, OpenLDAP Foundation, All Rights Reserved.
 # COPYING RESTRICTIONS APPLY, see COPYRIGHT file
 ##
 
 EXTRA_DIST = BUGS
-SUBDIRS = src 
+SUBDIRS = src examples
 
index a622bf759e620333eb713be7c47c96329a06df89..f303f743b551bca989ed616324c74ddfaa49cad2 100644 (file)
@@ -1,4 +1,4 @@
-dnl Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
+dnl Copyright 2000-2003, OpenLDAP Foundation, All Rights Reserved.
 dnl COPYING RESTRICTIONS APPLY, see COPYRIGHT file
   
   
@@ -8,7 +8,7 @@ dnl disable config.cache
 dnl define([AC_CACHE_LOAD], )
 dnl define([AC_CACHE_SAVE], )
 
-AC_INIT(src/main.cpp)
+AC_INIT(examples/main.cpp)
 AM_INIT_AUTOMAKE(main, 0.0.1)
 AM_CONFIG_HEADER(src/config.h)
 
@@ -91,4 +91,4 @@ dnl Checks for typedefs, structures, and compiler characteristics.
 
 dnl Checks for library functions.
 
-AC_OUTPUT(Makefile src/Makefile)
+AC_OUTPUT(Makefile src/Makefile examples/Makefile)
diff --git a/contrib/ldapc++/examples/Makefile.am b/contrib/ldapc++/examples/Makefile.am
new file mode 100644 (file)
index 0000000..3e3a6b8
--- /dev/null
@@ -0,0 +1,8 @@
+##
+# Copyright 2003, OpenLDAP Foundation, All Rights Reserved.
+# COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+##
+noinst_PROGRAMS = main
+
+main_SOURCES = main.cpp
+main_LDADD = ../src/libldapcpp.la
index d9e85faa3abad392d211c37077f60c7ed2cf6434..20a594b27c806004832fc494b4774edbe8f12c91 100644 (file)
@@ -80,10 +80,4 @@ noinst_HEADERS = LDAPAddRequest.h \
 
 libldapcpp_la_LIBADD = -lldap -llber
 libldapcpp_la_LDFLAGS = -version-info 0:1:0
-                       
-noinst_PROGRAMS = main
-
-main_SOURCES = main.cpp
-main_LDADD = ./libldapcpp.la 
-