AUTOMAKE_OPTIONS = foreign
-SUBDIRS = orc testsuite examples doc tools
+SUBDIRS = orc orc-test testsuite examples doc tools
EXTRA_DIST = COPYING autogen.sh gtk-doc.make
ORC_LIBS="\$(top_builddir)/orc/liborc-$ORC_MAJORMINOR.la $LIBM $LIBRT"
AC_SUBST(ORC_LIBS)
+#CFLAGS=`echo $CFLAGS | sed s/O2/O0/`
+
pkgconfigdir="\$(libdir)/pkgconfig"
AC_SUBST(pkgconfigdir)
Makefile
doc/Makefile
orc/Makefile
+orc-test/Makefile
testsuite/Makefile
examples/Makefile
tools/Makefile
--- /dev/null
+
+pkgincludedir = $(includedir)/orc-@ORC_MAJORMINOR@/orc-test
+
+lib_LTLIBRARIES = liborc-test-@ORC_MAJORMINOR@.la
+
+liborc_test_@ORC_MAJORMINOR@_la_LIBS = $(ORC_LIBS)
+liborc_test_@ORC_MAJORMINOR@_la_LDFLAGS = \
+ -no-undefined -export-symbols-regex 'orc_'
+liborc_test_@ORC_MAJORMINOR@_la_CFLAGS = $(ORC_CFLAGS)
+
+liborc_test_@ORC_MAJORMINOR@_la_SOURCES = \
+ orctest.c
+
+pkginclude_HEADERS = \
+ orctest.h
+
--- /dev/null
+
+#include <orc-test/orctest.h>
+
+
+void
+orc_test_init (void)
+{
+
+}
+
--- /dev/null
+
+#ifndef _ORC_TEST_TEST_H_
+#define _ORC_TEST_TEST_H_
+
+#include <orc/orc.h>
+#include <orc/orcutils.h>
+
+ORC_BEGIN_DECLS
+
+void orc_test_init (void);
+
+ORC_END_DECLS
+
+#endif
+