SparkleShare/SparkleLib/Makefile.am
Bertrand Lorentz 2e4986b07e [build] Fix build and installation of GitSharp assemblies
Improve the GitSharp autotools stuff and move it to its own file,
included in the top-level Makefile.

A system-installed nant is now required to build GitSharp, instead of
using the in-tree copy.

All the files we really need to build GitSharp are now included in the
tarball, including the binary deps. I see weeping packagers...
But "make distcheck" doesn't work, mostly because GitSharp insists on
writing to the source dir during compilation. As distcheck builds with a
read-only source tree, this fails horribly.
2010-10-21 20:51:03 +02:00

34 lines
791 B
Makefile

ASSEMBLY = SparkleLib
TARGET = library
LINK = $(REF_SPARKLELIB)
SOURCES = \
Defines.cs \
SparkleCommit.cs \
SparkleEvents.cs \
SparkleFetcher.cs \
SparkleHelpers.cs \
SparkleListener.cs \
SparkleOptions.cs \
SparklePaths.cs \
SparklePlatform.cs \
SparkleRepo.cs
SMARTIRC4NET_FILES_EXPANDED = $(foreach file, $(SMARTIRC4NET_FILES), $(top_builddir)/$(file))
GITSHARP_FILES_EXPANDED = $(foreach file, $(GITSHARP_FILES), $(top_builddir)/$(file))
EXTRA_BUNDLE = $(SMARTIRC4NET_FILES_EXPANDED) $(GITSHARP_FILES_EXPANDED)
install-data-hook:
for ASM in $(EXTRA_BUNDLE); do \
$(INSTALL) -m 0755 $$ASM $(DESTDIR)$(moduledir); \
done;
uninstall-hook:
for ASM in $(EXTRA_BUNDLE); do \
rm -f $(DESTDIR)$(moduledir)/`basename $$ASM`; \
done;
include $(top_srcdir)/build/build.mk