mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 20:05:30 +00:00
6272b94c05
* sources/makefile: add gstreamer 0.6.4 sources * sources/gstreamer-parse.patch: fixes to parse gst * gst/Gst.metadata: new metadata * gst/Makefile.in: add gapi-fixup to Makefile * gst/gst-api.xml: new api file for 0.6.4 svn path=/trunk/gtk-sharp/; revision=19625
37 lines
891 B
Makefile
Executable file
37 lines
891 B
Makefile
Executable file
APIS= gst-api.xml
|
|
|
|
RUNTIME=mono
|
|
MCS=mcs
|
|
ASSEMBLY=gst-sharp.dll
|
|
|
|
all: $(ASSEMBLY)
|
|
|
|
generated-stamp: $(APIS) ../generator/gapi_codegen.exe
|
|
$(RUNTIME) ../parser/gapi-fixup.exe --api=gst-api.xml --metadata=Gst.metadata && \
|
|
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(APIS) \
|
|
--outdir=generated --customdir=. --assembly-name=gst-sharp \
|
|
&& touch generated-stamp
|
|
|
|
$(ASSEMBLY): *.cs generated-stamp
|
|
$(MCS) --unsafe -nowarn:0660,0661 --target library \
|
|
-r glib-sharp.dll -o $(ASSEMBLY) --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f generated-stamp
|
|
rm -f $(ASSEMBLY)
|
|
rm -rf generated
|
|
|
|
prefix=@prefix@
|
|
DESTDIR=
|
|
apidir=$(DESTDIR)$(prefix)/share/gapi
|
|
libdir=$(DESTDIR)$(prefix)/lib
|
|
|
|
install: all
|
|
../mkinstalldirs $(libdir) && \
|
|
../mkinstalldirs $(apidir) && \
|
|
for i in $(APIS); do \
|
|
cp $$i $(apidir) || true; \
|
|
done && \
|
|
cp $(ASSEMBLY) $(libdir)
|
|
|