-
Notifications
You must be signed in to change notification settings - Fork 39
/
fna.make
47 lines (37 loc) · 1.88 KB
/
fna.make
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
FNA_SRCS=$(shell $(SRCDIR)/tools/git-updated-files $(SRCDIR)/FNA)
FNA_NETSTUB_SRCS=$(shell $(SRCDIR)/tools/git-updated-files $(SRCDIR)/FNA.NetStub)
# FNA
$(SRCDIR)/FNA/bin/Release/WineMono.FNA.dll: $(BUILDDIR)/mono-unix/.installed $(FNA_SRCS)
+$(MONO_ENV) $(MAKE) -C $(SRCDIR)/FNA release
IMAGEDIR_BUILD_TARGETS += $(SRCDIR)/FNA/bin/Release/WineMono.FNA.dll
WineMono.FNA.dll: $(SRCDIR)/FNA/bin/Release/WineMono.FNA.dll
$(MONO_ENV) gacutil -i $(SRCDIR)/FNA/bin/Release/WineMono.FNA.dll -root $(IMAGEDIR)/lib
.PHONY: WineMono.FNA.dll
imagedir-targets: WineMono.FNA.dll
clean-FNA:
+$(MAKE) -C $(SRCDIR)/FNA clean
.PHONY: clean-FNA
clean: clean-FNA
$(SRCDIR)/FNA.NetStub/bin/Strongname/WineMono.FNA.NetStub.dll: $(BUILDDIR)/mono-unix/.installed $(SRCDIR)/FNA/bin/Release/WineMono.FNA.dll $(FNA_SRCS) $(FNA_NETSTUB_SRCS)
+$(MONO_ENV) $(MAKE) -C $(SRCDIR)/FNA.NetStub
IMAGEDIR_BUILD_TARGETS += $(SRCDIR)/FNA.NetStub/bin/Strongname/WineMono.FNA.NetStub.dll
WineMono.FNA.NetStub.dll: $(SRCDIR)/FNA.NetStub/bin/Strongname/WineMono.FNA.NetStub.dll
$(MONO_ENV) gacutil -i $(SRCDIR)/FNA.NetStub/bin/Strongname/WineMono.FNA.NetStub.dll -root $(IMAGEDIR)/lib
.PHONY: WineMono.FNA.NetStub.dll
imagedir-targets: WineMono.FNA.NetStub.dll
clean-FNA.NetStub:
+$(MAKE) -C $(SRCDIR)/FNA.NetStub clean
.PHONY: clean-FNA.NetStub
clean: clean-FNA.NetStub
$(SRCDIR)/FNA/abi/.built: $(SRCDIR)/FNA/bin/Release/WineMono.FNA.dll $(SRCDIR)/FNA.NetStub/bin/Strongname/WineMono.FNA.NetStub.dll
+$(MONO_ENV) $(MAKE) -C $(SRCDIR)/FNA/abi
touch $@
IMAGEDIR_BUILD_TARGETS += $(SRCDIR)/FNA/abi/.built
Microsoft.Xna.Framework.dll: $(SRCDIR)/FNA/abi/.built
for i in $(SRCDIR)/FNA/abi/Microsoft.Xna.*.dll; do $(MONO_ENV) gacutil -i $$i -root $(IMAGEDIR)/lib; done
.PHONY: Microsoft.Xna.Framework.dll
imagedir-targets: Microsoft.Xna.Framework.dll
clean-FNA-abi:
+$(MAKE) -C $(SRCDIR)/FNA/abi clean
.PHONY: clean-FNA-abi
clean: clean-FNA-abi