-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
74 lines (62 loc) · 2.84 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
EXTRA_DIST = rules.make configure Makefile.include tomboy-library/nuget-packages/ServiceStack.Common.3.9.66/lib/net35/ServiceStack.Common.dll tomboy-library/nuget-packages/ServiceStack.OrmLite.Sqlite.Mono.3.9.66/lib/net35/ServiceStack.OrmLite.Sqlite.dll tomboy-library/nuget-packages/ServiceStack.OrmLite.Sqlite.Mono.3.9.66/lib/net35/ServiceStack.OrmLite.dll tomboy-library/nuget-packages/ServiceStack.OrmLite.Sqlite.Mono.3.9.66/lib/net35/Mono.Data.Sqlite.dll tomboy-library/nuget-packages/ServiceStack.Common.3.9.66/lib/net35/ServiceStack.Interfaces.dll
all: all-recursive
top_srcdir=.
include $(top_srcdir)/config.make
include $(top_srcdir)/Makefile.include
include $(top_srcdir)/rules.make
#include $(top_srcdir)/custom-hooks.make
#Warning: This is an automatically generated file, do not edit!
ifeq ($(CONFIG),DEBUG_X86)
SUBDIRS = tomboy-library/DevDefined.OAuth/src/DevDefined.OAuth tomboy-library/Tomboy-library tomboy Macboy-UnitTests
endif
ifeq ($(CONFIG),RELEASE_X86)
SUBDIRS = tomboy-library/DevDefined.OAuth/src/DevDefined.OAuth tomboy-library/Tomboy-library tomboy Macboy-UnitTests
endif
ifeq ($(CONFIG),APPSTORE_X86)
SUBDIRS = tomboy-library/DevDefined.OAuth/src/DevDefined.OAuth tomboy-library/Tomboy-library tomboy Macboy-UnitTests
endif
CONFIG_MAKE=$(top_srcdir)/config.make
%-recursive: $(CONFIG_MAKE)
@set . $$MAKEFLAGS; final_exit=:; \
case $$2 in --unix) shift ;; esac; \
case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
make pre-$*-hook prefix=$(prefix) ; \
for dir in $(call quote_each,$(SUBDIRS)); do \
case "$$dir" in \
.) make $*-local || { final_exit="exit 1"; $$dk; };;\
*) (cd "$$dir" && make $*) || { final_exit="exit 1"; $$dk; };;\
esac \
done; \
make post-$*-hook prefix=$(prefix) ; \
$$final_exit
$(CONFIG_MAKE):
echo "You must run configure first"
exit 1
clean: clean-recursive
install: install-recursive
uninstall: uninstall-recursive
dist: $(CONFIG_MAKE)
rm -rf $(PACKAGE)-$(VERSION)
mkdir $(PACKAGE)-$(VERSION)
make pre-dist-hook distdir=$$distdir
for dir in $(call quote_each,$(SUBDIRS)); do \
pkgdir=`pwd`/$(PACKAGE)-$(VERSION); \
mkdir "$$pkgdir/$$dir" || true; \
case $$dir in \
.) make dist-local "distdir=$$pkgdir" || exit 1;; \
*) (cd "$$dir"; make dist-local "distdir=$$pkgdir/$$dir") || exit 1;; \
esac \
done
(make dist-local distdir=$(PACKAGE)-$(VERSION))
make post-dist-hook "distsir=$$distdir"
tar czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
rm -rf $(PACKAGE)-$(VERSION)
@echo "=========================================="
@echo "$(PACKAGE)-$(VERSION) has been packaged > $(PACKAGE)-$(VERSION).tar.gz"
@echo "=========================================="
distcheck: dist
(mkdir test; cd test; \
tar xzvf ../$(PACKAGE)-$(VERSION).tar.gz; cd $(PACKAGE)-$(VERSION); \
./configure --prefix=$$(cd `pwd`/..; pwd); \
make && make install && make dist);
rm -rf test