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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.