-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
55 lines (46 loc) · 1.47 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
#--------------------------------------------------------------------------
# Copyrights
#
# Portions created by or assigned to Cursive Systems, Inc. are
# Copyright (c) 2002-2004 Cursive Systems, Inc. All Rights Reserved. Contact
# information for Cursive Systems, Inc. is available at
# http://www.cursive.net/.
#
# License
#
# Jabber-Net can be used under either JOSL or the GPL.
# See LICENSE.txt for details.
# --------------------------------------------------------------------------
# The purpose of this Makefile is to facilitate mono builds.
SOURCES = \
$(CURDIR)/AssemblyInfo.cs \
$(CURDIR)/Nameprep.cs \
$(CURDIR)/Plain.cs \
$(CURDIR)/Profile.cs \
$(CURDIR)/steps/BidiStep.cs \
$(CURDIR)/steps/MapStep.cs \
$(CURDIR)/steps/NFKCStep.cs \
$(CURDIR)/steps/ProfileStep.cs \
$(CURDIR)/steps/ProhibitStep.cs \
$(CURDIR)/steps/ResourceLoader.cs \
$(CURDIR)/unicode/Combining.cs \
$(CURDIR)/unicode/Compose.cs \
$(CURDIR)/unicode/Decompose.cs \
$(CURDIR)/unicode/ResourceLoader.cs \
$(CURDIR)/XmppNode.cs \
$(CURDIR)/XmppResource.cs
RESOURCES = \
-resource:$(CURDIR)/steps/RFC3454.resources \
-resource:$(CURDIR)/unicode/Unicode.resx
SYSTEM_REFERENCES = -r:System.dll
MCS_OPTIONS = -lib:$(CURDIR)/bin/debug -g \
-define:DEBUG
ASSEMBLIES =
all: bin/debug/stringprep.dll
bin/debug/stringprep.dll: $(SOURCES)
-mkdir -p bin/debug
cd bin/debug && mcs $(MCS_OPTIONS) -target:library \
-out:"stringprep.dll" $(RESOURCES) $(SYSTEM_REFERENCES) \
$(SOURCES) $(ASSEMBLIES)
clean:
rm -rf bin