Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 144 lines (122 sloc) 3.315 kb
3881d67 @snej More GNUstep compatibility. Unit tests pass now.
snej authored
1 # TouchDB Makefile for GNUstep
2
3 # Include the common variables defined by the Makefile Package
4 include $(GNUSTEP_MAKEFILES)/common.make
5
6 # Build a simple Objective-C program
7 FRAMEWORK_NAME = TouchDB
8
9 # The Objective-C files to compile
10 TouchDB_OBJC_FILES = \
11 Source/TDDatabase.m \
12 Source/TDDatabase+Replication.m \
13 Source/TDDatabase+Attachments.m \
14 Source/TDDatabase+Insertion.m \
15 Source/TDDatabase+LocalDocs.m \
487f6f3 @snej Merge remote-tracking branch 'origin/master'
snej authored
16 Source/TDAttachment.m \
3881d67 @snej More GNUstep compatibility. Unit tests pass now.
snej authored
17 Source/TDBody.m \
18 Source/TDRevision.m \
19 Source/TDView.m \
487f6f3 @snej Merge remote-tracking branch 'origin/master'
snej authored
20 Source/TDDatabaseManager.m \
3881d67 @snej More GNUstep compatibility. Unit tests pass now.
snej authored
21 Source/TDServer.m \
22 Source/TDBlobStore.m \
23 \
24 Source/TDRouter.m \
25 Source/TDRouter+Handlers.m \
26 Source/TDURLProtocol.m \
46185fa @snej Added basic C API, TDC.h
snej authored
27 Source/TDC.m \
3881d67 @snej More GNUstep compatibility. Unit tests pass now.
snej authored
28 \
29 Source/TDReplicator.m \
30 Source/TDPuller.m \
31 Source/TDPusher.m \
32 Source/TDReplicatorManager.m \
33 Source/TDRemoteRequest.m \
487f6f3 @snej Merge remote-tracking branch 'origin/master'
snej authored
34 Source/TDMultipartDocumentReader.m \
3881d67 @snej More GNUstep compatibility. Unit tests pass now.
snej authored
35 Source/TDMultipartDownloader.m \
36 Source/TDMultipartReader.m \
37 Source/TDMultipartUploader.m \
38 Source/TDMultiStreamWriter.m \
39 Source/TDMultipartWriter.m \
40 Source/TDReachability_Stubs.m \
41 \
42 Source/TDBatcher.m \
487f6f3 @snej Merge remote-tracking branch 'origin/master'
snej authored
43 Source/TDCanonicalJSON.m \
3881d67 @snej More GNUstep compatibility. Unit tests pass now.
snej authored
44 Source/TDCollateJSON.m \
45 Source/TDGNUstep.m \
46 Source/TDBase64.m \
47 Source/TDJSON.m \
48 Source/TDMisc.m \
49 Source/TDSequenceMap.m \
487f6f3 @snej Merge remote-tracking branch 'origin/master'
snej authored
50 Source/TDStatus.m \
3881d67 @snej More GNUstep compatibility. Unit tests pass now.
snej authored
51 \
52 Source/TDBlobStore_Tests.m \
53 Source/TDDatabase_Tests.m \
54 Source/TDReplicator_Tests.m \
55 Source/TDRouter_Tests.m \
56 Source/TDView_Tests.m \
57 Source/ChangeTracker/TDChangeTracker.m \
58 Source/ChangeTracker/TDSocketChangeTracker.m \
59 Source/ChangeTracker/TDConnectionChangeTracker.m \
60 \
61 vendor/fmdb/src/FMDatabaseAdditions.m \
62 vendor/fmdb/src/FMDatabase.m \
63 vendor/fmdb/src/FMResultSet.m \
64 \
65 vendor/MYUtilities/CollectionUtils.m \
66 vendor/MYUtilities/ExceptionUtils.m \
67 vendor/MYUtilities/Logging.m \
68 vendor/MYUtilities/MYBlockUtils.m \
69 vendor/MYUtilities/Test.m \
70 \
71 vendor/google-toolbox-for-mac/GTMNSData+zlib.m
72
73 # TEMPORARILY DISABLED:
74 #Source/TDMultiStreamWriter.m
75
76 TouchDB_HEADER_FILES_DIR = Source
77 TouchDB_HEADER_FILES = \
78 TouchDB.h \
79 TDBatcher.h \
80 TDBlobStore.h \
81 TDBody.h \
82 TDDatabase+Attachments.h \
83 TDDatabase.h \
84 TDDatabase+Insertion.h \
85 TDDatabase+LocalDocs.h \
86 TDDatabase+Replication.h \
87 TDJSON.h \
88 TDPuller.h \
89 TDPusher.h \
90 TDReplicator.h \
91 TDRevision.h \
92 TDRouter.h \
93 TDServer.h \
487f6f3 @snej Merge remote-tracking branch 'origin/master'
snej authored
94 TDStatus.h \
3881d67 @snej More GNUstep compatibility. Unit tests pass now.
snej authored
95 TDURLProtocol.h \
96 TDView.h \
46185fa @snej Added basic C API, TDC.h
snej authored
97 TDC.h
3881d67 @snej More GNUstep compatibility. Unit tests pass now.
snej authored
98
99 TouchDB_INCLUDE_DIRS = \
100 -ISource \
101 -ISource/ChangeTracker \
102 -Ivendor/MYUtilities \
103 -Ivendor/google-toolbox-for-mac \
104 -Ivendor/fmdb/src
105
106 TouchDB_OBJCFLAGS = \
107 -include Source/TouchDBPrefix.h
108
109
110
111 TOOL_NAME = TouchTool
112
113 TouchTool_OBJC_FILES = Demo-Mac/EmptyGNUstepApp.m
114
115 TouchTool_OBJCFLAGS = \
116 -include Source/TDGNUstep.h
117
118 TouchTool_OBJC_LIBS = \
119 -lTouchDB -LTouchDB.framework \
120 -lsqlite3 \
121 -lcrypto \
122 -luuid
123
124 TouchTool_INCLUDE_DIRS = \
125 -Ivendor/MYUtilities
126
127
128 OBJCFLAGS = \
129 -fblocks \
130 -Werror \
131 -Wall \
132 -DDEBUG=1
133
134 #LDFLAGS = -v
135
136 -include GNUmakefile.preamble
137
138 # Include in the rules for making GNUstep frameworks
139 include $(GNUSTEP_MAKEFILES)/framework.make
140 include $(GNUSTEP_MAKEFILES)/tool.make
141
142 -include GNUmakefile.postamble
143
Something went wrong with that request. Please try again.