Commit 53d2adae authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners

Added work in progress for example plugin

parent 33e0684a
......@@ -311,6 +311,10 @@ m4/ltoptions.m4 -text
m4/ltsugar.m4 -text
m4/ltversion.m4 -text
m4/lt~obsolete.m4 -text
plugins/Dummy.c -text
plugins/Makefile.am -text
plugins/Makefile.in -text
plugins/Makefile.manual -text
src/Adisit.c -text
src/Arith.c -text
src/Arithc.c -text
......
# Process this file with automake to produce Makefile.in
SUBDIRS = libcdi src contrib test/data test
SUBDIRS = libcdi src contrib plugins test/data test
#
EXTRA_DIST=config/default OPERATORS doc/cdo.pdf doc/cdo_refcard.pdf cdo.spec README
#
......
......@@ -377,7 +377,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
# Process this file with automake to produce Makefile.in
SUBDIRS = libcdi src contrib test/data test
SUBDIRS = libcdi src contrib plugins test/data test
#
EXTRA_DIST = config/default OPERATORS doc/cdo.pdf doc/cdo_refcard.pdf cdo.spec README
#
......
......@@ -21143,7 +21143,7 @@ ac_config_files="$ac_config_files test/Detrend.test test/Arith.test test/Gradsde
ac_config_files="$ac_config_files test/wildcard.test"
ac_config_files="$ac_config_files Makefile src/Makefile contrib/Makefile test/Makefile test/data/Makefile cdo.spec cdo.settings"
ac_config_files="$ac_config_files Makefile src/Makefile contrib/Makefile test/Makefile test/data/Makefile plugins/Makefile cdo.spec cdo.settings"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
......@@ -22313,6 +22313,7 @@ do
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
"test/data/Makefile") CONFIG_FILES="$CONFIG_FILES test/data/Makefile" ;;
"plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
"cdo.spec") CONFIG_FILES="$CONFIG_FILES cdo.spec" ;;
"cdo.settings") CONFIG_FILES="$CONFIG_FILES cdo.settings" ;;
......
......@@ -229,7 +229,7 @@ AC_CONFIG_FILES([test/Cat.test test/Gridarea.test test/Genweights.test test/Rema
AC_CONFIG_FILES([test/Select.test test/Spectral.test test/Timstat.test test/Vertint.test],[chmod a+x "$ac_file"])
AC_CONFIG_FILES([test/Detrend.test test/Arith.test test/Gradsdes.test],[chmod a+x "$ac_file"])
AC_CONFIG_FILES([test/wildcard.test],[chmod a+x "$ac_file"])
AC_CONFIG_FILES([Makefile src/Makefile contrib/Makefile test/Makefile test/data/Makefile cdo.spec cdo.settings])
AC_CONFIG_FILES([Makefile src/Makefile contrib/Makefile test/Makefile test/data/Makefile plugins/Makefile cdo.spec cdo.settings])
AC_OUTPUT
# ----------------------------------------------------------------------
......
#include <stdio.h>
void Module(void *args) {
puts("Dummy");
}
char *Operators[128] = { "dummy1", "dummy2" };
char *Help[] = { "Zeile 1", "Zeile 2" };
## Process this file with automake to produce Makefile.in
lib_LTLIBRARIES = libDummy.la
libDummy_la_SOURCES = Dummy.c
libDummy_la_CPPFLAGS = -I$(top_srcdir)/libcdi/src
libDummy_la_LIBADD = $(top_builddir)/src/libcdo.la
This diff is collapsed.
all: Dummy.cdo
%.cdo: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) -fpic $(LDFLAGS) -shared $(LDLIBS) -o $@ $<
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment