Building the C# Sources

Returning to the xflaim/src/cs directory brings us to a discussion of building sources for a language for which Automake has no support: C#. Example 9-8 shows the Makefile.am file that I wrote for the cs directory.

Example 9-8. xflaim/src/cs/Makefile.am: The contents of the cs directory's Automake input file

SUBDIRS = wrapper

XFLAIM_INCLUDE = -I$(srcdir)/..

noinst_LTLIBRARIES = libxfcsi.la

libxfcsi_la_SOURCES = \
 Backup.cpp \
 DataVector.cpp \
 Db.cpp \
 DbInfo.cpp \
 DbSystem.cpp \
 DbSystemStats.cpp \
 DOMNode.cpp \
 IStream.cpp \
 OStream.cpp \
 Query.cpp

libxfcsi_la_CPPFLAGS = $(XFLAIM_INCLUDE) $(FTK_INCLUDE)

Not surprisingly, this looks almost identical to the Makefile.am file found in the xflaim/src/java directory because I'm ...

Get Autotools now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.