Moved sample code to examples dir

This commit is contained in:
Ralf Haferkamp 2003-06-05 18:10:44 +00:00
parent 851407f4e4
commit 3f4c09183f
5 changed files with 13 additions and 11 deletions

View 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

View 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)

View File

@ -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

View 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