aboutsummaryrefslogtreecommitdiff
path: root/libraries/nini/Makefile
blob: 1c508535974218e6e3d009adaf5ce46d4b5ccf4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

MCS = gmcs
TARGET = Nini.dll
KEYFILE = Nini.snk

SOURCES = Source/AssemblyInfo.cs \
          Source/Config/*.cs \
	  Source/Ini/*.cs \
	  Source/Util/*.cs

DEFINES = -define:MONO_2_0 \
          -define:STRONG
	  
REFERENCES = -r:System.dll \
             -r:System.Xml.dll

all: $(TARGET)

$(TARGET): $(KEYFILE) $(SOURCES)
	mkdir -p build
	$(MCS) -target:library -out:build/"$@" \
	$(DEFINES) $(REFERENCES) -keyfile:$(KEYFILE) $(SOURCES)