7 /usr
/lib
/mozilla-1.6
/xpidl
-m header
-I
/usr
/share
/idl
/mozilla-1.6
test.idl
10 /usr
/lib
/mozilla-1.6
/xpidl
-m typelib
-I
/usr
/share
/idl
/mozilla-1.6
test.idl
12 test.so
: test.h
test.
cpp
13 c
++ -g
-shared
-o
test.so
`pkg-config --cflags mozilla-xpcom` test.
cpp `pkg-config --libs mozilla-xpcom`
16 $(MCS
) $(MCSFLAGS
) -unsafe
/out
:$@
/r
:..
/Mozilla.XPCOM.Interfaces.dll
/r
:..
/xpcom-dotnet.dll
$<
18 TESTOBJS
=test-invoke.exe
test.so
test.xpt generate-assembly.exe sample-app.exe loader.exe
23 rm -f
test.h
$(TESTOBJS
)