Permalink
Browse files

Database handling tools using Npgsql directly

svn path=/trunk/moma-tool/; revision=118717
  • Loading branch information...
1 parent ec5a9dc commit 9acf9171d41f0900279a1963ce26c79772d19919 @dickp dickp committed Nov 13, 2008
Showing with 767 additions and 172 deletions.
  1. +9 −3 Makefile
  2. +346 −169 dbinsert.cs
  3. +412 −0 dbissue.cs
View
@@ -11,16 +11,22 @@ TEST_SRCS=test.cs
TEST_ASSES=-r:$(ASS) $(ASS_ASSES)
TEST=test.exe
DBINS_SRCS=dbinsert.cs
-DBINS_ASSES=-r:$(ASS) $(ASS_ASSES)
+DBINS_ASSES=-r:Npgsql -r:System.Data -r:../moma/MoMA.Analyzer/bin/MoMA.Analyzer.dll -r:ICSharpCode.SharpZipLib
DBINS=dbinsert.exe
+DBISS_SRCS=dbissue.cs
+DBISS_ASSES=-r:Npgsql -r:System.Data -r:../moma/MoMA.Analyzer/bin/MoMA.Analyzer.dll -r:ICSharpCode.SharpZipLib
+DBISS=dbissue.exe
-all: $(ASS) $(TEST) $(DBINS)
+all: $(DBINS) $(DBISS)
$(ASS): $(ASS_SRCS)
gmcs -out:$(ASS) -target:library $(ASS_SRCS) $(ASS_ASSES)
$(TEST): $(TEST_SRCS) $(ASS)
gmcs -out:$(TEST) $(TEST_SRCS) $(TEST_ASSES)
-$(DBINS): $(DBINS_SRCS) $(ASS)
+$(DBINS): $(DBINS_SRCS)
gmcs -out:$(DBINS) $(DBINS_SRCS) $(DBINS_ASSES)
+
+$(DBISS): $(DBISS_SRCS)
+ gmcs -out:$(DBISS) $(DBISS_SRCS) $(DBISS_ASSES)
Oops, something went wrong.

0 comments on commit 9acf917

Please sign in to comment.