mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
73ed037fa4
* gstreamer-sharp/BindingHelper.cs: Static helper class to assist in making element bindings (delegate manipulation/invocation) * gstreamer-sharp/DynamicSignal.cs: Updated DynamicSignalArgs so they can more easily be derived * gstreamer-sharp/Makefile.am: Updated build * sample/HelloWorld.cs: More cleaning * sample/Makefile.am: * sample/TypeFind.cs: Added typefind sample * gstreamer-sharp.mdp: Updated MonoDevelop project * gstreamer-sharp/plugins-base/DecodeBin.cs: Signal support rewritten to use BindingHelper/DynamicSignal * gstreamer-sharp/plugins-base/TypeFindElement.cs: New typefind element wrapper using BindingHelper/DynamicSignal * gstreamer-sharp/Element.custom: Fixed property getter/setter methods and added indexer wrapper for property lookup for syntax convenience git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@62570 e3ebcda4-bce8-0310-ba0a-eca2169e7518
89 lines
2.4 KiB
Makefile
89 lines
2.4 KiB
Makefile
SUBDIRS = . glue
|
|
|
|
TARGET = $(ASSEMBLY)
|
|
noinst_DATA = $(TARGET)
|
|
APIS = $(API)
|
|
API = gstreamer-api.xml
|
|
RAW_API = gstreamer-api.raw
|
|
METADATA = Gstreamer.metadata
|
|
SYMBOLS=gstreamer-symbols.xml
|
|
ASSEMBLY_NAME = gstreamer-sharp
|
|
references = $(GLIBSHARP_LIBS)
|
|
KEYFILE = gstreamer-sharp.snk
|
|
|
|
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
gapidir = $(datadir)/gapi
|
|
gapi_DATA = $(APIS)
|
|
|
|
glue_includes="gst/gstbin.h gst/gstpipeline.h gst/gstsegment.h"
|
|
|
|
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb generated-stamp generated/*.cs glue/generated.c $(API) $(KEYFILE)
|
|
DISTCLEANFILES = $(ASSEMBLY).config AssemblyInfo.cs
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
install-data-local:
|
|
@if test -n '$(TARGET)'; then \
|
|
echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \
|
|
$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \
|
|
fi
|
|
|
|
uninstall-local:
|
|
@if test -n '$(TARGET)'; then \
|
|
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
|
$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
|
fi
|
|
|
|
clean-local:
|
|
rm -rf generated
|
|
|
|
sources = \
|
|
DynamicSignal.cs \
|
|
BindingHelper.cs \
|
|
Application.cs \
|
|
Version.cs \
|
|
AssemblyInfo.cs \
|
|
CommonTags.cs \
|
|
plugins-base/PlayBin.cs \
|
|
plugins-base/DecodeBin.cs \
|
|
plugins-base/TypeFindElement.cs
|
|
|
|
build_sources = $(addprefix $(srcdir)/, $(sources))
|
|
|
|
customs = \
|
|
Bin.custom \
|
|
Bus.custom \
|
|
Clock.custom \
|
|
Debug.custom \
|
|
Element.custom \
|
|
Message.custom \
|
|
Pad.custom
|
|
|
|
build_customs = $(addprefix $(srcdir)/, $(customs))
|
|
|
|
EXTRA_DIST = \
|
|
$(RAW_API) \
|
|
$(SYMBOLS) \
|
|
$(METADATA) \
|
|
$(customs) \
|
|
$(sources) \
|
|
$(ASSEMBLY).config.in
|
|
|
|
$(API): $(srcdir)/$(RAW_API) $(srcdir)/$(METADATA) $(srcdir)/$(SYMBOLS)
|
|
cp $(srcdir)/$(RAW_API) $(API)
|
|
chmod u+w $(API)
|
|
$(GAPI_FIXUP) --api=$(API) --metadata=$(srcdir)/$(METADATA) \
|
|
--symbols=$(srcdir)/$(SYMBOLS)
|
|
|
|
generated-stamp: $(API) $(GAPI_CODEGEN) $(build_customs)
|
|
$(GAPI_CODEGEN) --generate $(API) \
|
|
--outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \
|
|
--gluelib-name=gstreamersharpglue-0.10 --glue-filename=glue/generated.c \
|
|
--glue-includes=$(glue_includes) \
|
|
&& touch generated-stamp
|
|
|
|
$(KEYFILE): $(top_srcdir)/gstreamer-sharp.snk
|
|
cp $(top_srcdir)/gstreamer-sharp.snk .
|
|
|
|
$(ASSEMBLY): $(build_sources) generated-stamp $(KEYFILE)
|
|
$(CSC) /nowarn:0612 /debug /unsafe /out:$(ASSEMBLY) /target:library $(references) $(build_sources) $(GENERATED_SOURCES)
|
|
|