shaver%mozilla.org c367c99af4 initial import of monoconnect^Wxpcom-dotnet^Wextensions/mono code -- not working, not done, not useful to you, not part of the build
git-svn-id: svn://10.0.0.236/trunk@168679 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 23:58:57 +00:00

17 lines
506 B
Makefile

CXXFLAGS = -shared -g -fPIC -fno-rtti $(shell pkg-config --cflags mozilla-xpcom)
LDFLAGS = $(shell pkg-config --libs mozilla-xpcom)
all: xpcom-dotnet.so xpcom-dotnet.dll
MCS ?= mcs
MCSFLAGS ?= /debug
xpcom-dotnet.so: typeinfo.cpp xpcom-core.cpp wrapped-clr.cpp
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
xpcom-dotnet.dll: typeinfo.cs xptinvoke.cs wrapped-clr.cs components.cs proxy-generator.cs interface-generator.cs
$(MCS) $(MCSFLAGS) -unsafe /t:library /out:$@ $^
clean:
rm -f xpcom-dotnet.{so,dll}