2010-08-02 15:42:42 +00:00
|
|
|
ASSEMBLY = SparkleLib
|
|
|
|
TARGET = library
|
|
|
|
|
2011-06-13 12:27:48 +00:00
|
|
|
if HAVE_SMARTIRC4NET
|
|
|
|
LINK = $(REF_SPARKLELIB) $(LINK_SMARTIRC4NET_SYSTEM)
|
|
|
|
else
|
|
|
|
LINK = $(REF_SPARKLELIB) $(LINK_SMARTIRC4NET_LOCAL)
|
|
|
|
endif
|
2011-05-22 11:28:14 +00:00
|
|
|
|
2010-08-02 15:42:42 +00:00
|
|
|
SOURCES = \
|
|
|
|
Defines.cs \
|
2011-06-05 00:47:45 +00:00
|
|
|
Git/SparkleFetcherGit.cs \
|
|
|
|
Git/SparkleRepoGit.cs \
|
2011-05-08 23:04:53 +00:00
|
|
|
SparkleBackend.cs \
|
2011-05-16 23:49:01 +00:00
|
|
|
SparkleChangeSet.cs \
|
2011-05-24 23:46:55 +00:00
|
|
|
SparkleConfig.cs \
|
2011-05-16 20:19:58 +00:00
|
|
|
SparkleFetcherBase.cs \
|
2010-08-02 15:42:42 +00:00
|
|
|
SparkleHelpers.cs \
|
2011-05-14 17:10:24 +00:00
|
|
|
SparkleListenerBase.cs \
|
|
|
|
SparkleListenerIrc.cs \
|
2011-07-04 20:14:44 +00:00
|
|
|
SparkleListenerTcp.cs \
|
2010-09-04 12:27:06 +00:00
|
|
|
SparkleOptions.cs \
|
2011-06-14 22:14:03 +00:00
|
|
|
SparkleRepoBase.cs \
|
|
|
|
SparkleWatcher.cs
|
2011-05-19 16:05:58 +00:00
|
|
|
|
2010-08-02 15:42:42 +00:00
|
|
|
|
2010-09-11 17:58:59 +00:00
|
|
|
SMARTIRC4NET_FILES_EXPANDED = $(foreach file, $(SMARTIRC4NET_FILES), $(top_builddir)/$(file))
|
|
|
|
|
2011-04-21 15:08:56 +00:00
|
|
|
EXTRA_BUNDLE = $(SMARTIRC4NET_FILES_EXPANDED)
|
2010-09-11 17:58:59 +00:00
|
|
|
|
|
|
|
install-data-hook:
|
2010-10-21 18:37:22 +00:00
|
|
|
for ASM in $(EXTRA_BUNDLE); do \
|
2010-09-11 17:58:59 +00:00
|
|
|
$(INSTALL) -m 0755 $$ASM $(DESTDIR)$(moduledir); \
|
|
|
|
done;
|
|
|
|
|
|
|
|
uninstall-hook:
|
2010-10-21 18:37:22 +00:00
|
|
|
for ASM in $(EXTRA_BUNDLE); do \
|
2010-09-11 17:58:59 +00:00
|
|
|
rm -f $(DESTDIR)$(moduledir)/`basename $$ASM`; \
|
|
|
|
done;
|
|
|
|
|
2010-08-02 15:42:42 +00:00
|
|
|
include $(top_srcdir)/build/build.mk
|