##
-# 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
-dnl Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
+dnl Copyright 2000-2003, OpenLDAP Foundation, All Rights Reserved.
dnl COPYING RESTRICTIONS APPLY, see COPYRIGHT file
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)
dnl Checks for library functions.
-AC_OUTPUT(Makefile src/Makefile)
+AC_OUTPUT(Makefile src/Makefile examples/Makefile)
--- /dev/null
+##
+# 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