2002-11-01 05:10:00 +00:00
|
|
|
MCS=mcs
|
|
|
|
DESTDIR=
|
2003-10-08 22:13:47 +00:00
|
|
|
prefix=@prefix@
|
2002-11-01 05:10:00 +00:00
|
|
|
|
|
|
|
all: linux
|
|
|
|
|
|
|
|
windows:
|
|
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:gst-sharp.dll /recurse:*.cs
|
|
|
|
|
|
|
|
linux: gst-sharp.dll
|
|
|
|
|
|
|
|
gst-sharp.dll: *.cs
|
2002-12-21 02:48:21 +00:00
|
|
|
$(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -o gst-sharp.dll --recurse '*.cs'
|
2002-11-01 05:10:00 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.dll
|
|
|
|
rm -rf generated
|
|
|
|
|
|
|
|
install: all
|
2003-10-08 22:13:47 +00:00
|
|
|
../mkinstalldirs $(DESTDIR)$(prefix)/lib && \
|
|
|
|
cp gst-sharp.dll $(DESTDIR)$(prefix)/lib || exit 1
|
2002-11-01 05:10:00 +00:00
|
|
|
|