Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: dd6bd59c2f7372aaa9ac5a2f6514f897dd9cd03e (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
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
fsgatewaydir=$(pkglibdir)
fsgateway_SCRIPTS = fsgateway.exe
EXTRA_DIST = $(fsgateway_sources)
CLEANFILES = fsgateway.exe fsgateway.exe.mdb
MAINTAINERCLEANFILES = Makefile.in

fsgateway_sources = AssemblyInfo.cs \
	DirAsTag.cs \
	Field.cs \
	FsDbManager.cs \
	FsGateway.cs \
	FsXml.cs \
	FuseWrapper.cs \
	IFsDb.cs \
	IFsGateway.cs \
	IFsModule.cs \
	Index.cs \
	OlpcMetadata.cs \
	Postgresql.cs \
	Sequence.cs \
	SugarDatastore.cs \
	Table.cs \
	View.cs \
	FsMySql.cs \
	FsSqlServer.cs \
	FsPostgresql.cs

fsgateway_libs = \
	-r:System \
	-r:System.Data \
	-r:Npgsql \
	-r:Mono.Posix \
	-r:System.Xml \
	$(MYSQL_CONNECTOR_NET_LIBS) \
	$(MONO_FUSE_LIBS)

fsgateway_flags = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG" "-main:FsGateway.FsGateway"

fsgateway.exe: $(fsgateway_sources)
	$(MCS) $(fsgateway_flags) $(fsgateway_libs) -out:$@ $(fsgateway_sources)


# Install Unstable Mono Libraries (see configure.ac)

install-data-hook:
	for ASM in $(INSTALLED_ASSEMBLIES); do \
		$(INSTALL) -c -m 0755 $$ASM $(DESTDIR)$(pkglibdir); \
	done;

uninstall-hook:
	for ASM in $(INSTALLED_ASSEMBLIES); do \
		rm -f $(DESTDIR)$(pkglibdir)/`basename $$ASM`; \
	done;