Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Commit

Permalink
[build] Properly integrate Newtonsoft.Json into the build
Browse files Browse the repository at this point in the history
  • Loading branch information
garuma committed Mar 1, 2013
1 parent b8c7163 commit 4e483db
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -31,6 +31,7 @@ svn:


all clean install: all clean install:
@$(MAKE) -C SmartIrc4net $@ @$(MAKE) -C SmartIrc4net $@
@$(MAKE) -C Newtonsoft.Json $@
@$(MAKE) -C MonkeyWrench $@ @$(MAKE) -C MonkeyWrench $@
@$(MAKE) -C MonkeyWrench.DataClasses $@ @$(MAKE) -C MonkeyWrench.DataClasses $@
@$(MAKE) -C MonkeyWrench.Database $@ @$(MAKE) -C MonkeyWrench.Database $@
Expand Down
3 changes: 2 additions & 1 deletion MonkeyWrench.Web.WebService/Makefile
Expand Up @@ -12,7 +12,8 @@ BUILDABLE_REFS = \
$(OUT_DIR)/MonkeyWrench.dll \ $(OUT_DIR)/MonkeyWrench.dll \
$(OUT_DIR)/MonkeyWrench.DataClasses.dll \ $(OUT_DIR)/MonkeyWrench.DataClasses.dll \
$(OUT_DIR)/MonkeyWrench.Database.dll \ $(OUT_DIR)/MonkeyWrench.Database.dll \
$(OUT_DIR)/Meebey.SmartIrc4net.dll $(OUT_DIR)/Meebey.SmartIrc4net.dll \
$(OUT_DIR)/Newtonsoft.Json.dll


REFERENCES = \ REFERENCES = \
$(foreach ref,$(BUILDABLE_REFS),-r:$(ref)) \ $(foreach ref,$(BUILDABLE_REFS),-r:$(ref)) \
Expand Down
22 changes: 22 additions & 0 deletions Newtonsoft.Json/Makefile
@@ -0,0 +1,22 @@
DIR = Newtonsoft.Json
SOURCES = \
$(wildcard ../$(DIR)/Src/Newtonsoft.Json/*.cs) \
$(wildcard ../$(DIR)/Src/Newtonsoft.Json/*/*.cs)

TOPDIR = ..

LIBRARY = Newtonsoft.Json.dll
OUT_DIR = $(TOPDIR)/class/lib
OUT = $(OUT_DIR)/$(LIBRARY)

$(OUT): $(SOURCES) $(BUILDABLE_REFS)
@echo " DMCS $(LIBRARY)"
@dmcs -target:library -debug:full -out:$@ -r:System.Xml.Linq -r:System.Data -r:System.Runtime.Serialization.dll $(SOURCES) -warn:0 -D:NET_2_0

all: $(OUT)

clean:
@rm -f $(OUT)*

publish install: all
@:

0 comments on commit 4e483db

Please sign in to comment.