Some Makefile.am tweaks

Executables on Windows have a .exe extension, so don't hardcode gsts-xmlinspect in TARGETS, but let automake figure it out.
Add Makefile.in to MAINTAINERCLEANFILES.
Fix typo in glue/Makefile.am.
This commit is contained in:
Maarten Bosmans 2009-12-05 10:14:17 +01:00 committed by Sebastian Dröge
parent f8d66073db
commit 593a106149
6 changed files with 8 additions and 6 deletions

View file

@ -1,8 +1,6 @@
TARGETS = element-gen.exe gsts-xmlinspect TARGETS = $(noinst_SCRIPTS)
DEBUGS = $(addsuffix .mdb, $(TARGETS)) DEBUGS = $(addsuffix .mdb, $(TARGETS))
all: $(TARGETS)
element-gen.exe: $(srcdir)/elementgen.cs element-gen.exe: $(srcdir)/elementgen.cs
$(CSC) -out:$@ -debug $(srcdir)/elementgen.cs $(CSC) -out:$@ -debug $(srcdir)/elementgen.cs

View file

@ -64,6 +64,7 @@ EXTRA_DIST = \
$(dist_sources) $(dist_sources)
CLEANFILES = gst-gapi_codegen.exe gst-gapi_codegen.exe.mdb CLEANFILES = gst-gapi_codegen.exe gst-gapi_codegen.exe.mdb
MAINTAINERCLEANFILES = Makefile.in
gst-gapi_codegen.exe: $(build_sources) gst-gapi_codegen.exe: $(build_sources)
$(CSC) -debug -out:gst-gapi_codegen.exe $(WIN64DEFINES) $(OFF_T_FLAGS) $(references) $(build_sources) $(CSC) -debug -out:gst-gapi_codegen.exe $(WIN64DEFINES) $(OFF_T_FLAGS) $(references) $(build_sources)

View file

@ -8,6 +8,7 @@ XML_FILES = $(patsubst %,$(builddir)/%.xml,$(ELEMENTS))
EXTRA_DIST = $(METADATA_FILES) $(INSPECT_FILES) EXTRA_DIST = $(METADATA_FILES) $(INSPECT_FILES)
CLEANFILES = $(XML_FILES) $(CS_FILES) CLEANFILES = $(XML_FILES) $(CS_FILES)
MAINTAINERCLEANFILES = Makefile.in
plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES)) plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES))
inspect-%: inspect-%:

View file

@ -14,6 +14,7 @@ XML_FILES = $(patsubst %,$(builddir)/%.xml,$(ELEMENTS))
EXTRA_DIST = $(METADATA_FILES) $(CUSTOM_FILES) $(INSPECT_FILES) $(OTHER_CS_FILES) EXTRA_DIST = $(METADATA_FILES) $(CUSTOM_FILES) $(INSPECT_FILES) $(OTHER_CS_FILES)
CLEANFILES = $(XML_FILES) $(CS_FILES) CLEANFILES = $(XML_FILES) $(CS_FILES)
MAINTAINERCLEANFILES = Makefile.in
plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES)) plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES))
inspect-%: inspect-%:

View file

@ -28,8 +28,9 @@ nodist_libgstreamersharpglue_0_10_la_SOURCES = generated.c
libgstreamersharpglue_0_10_la_LIBADD = $(GST_LIBS) libgstreamersharpglue_0_10_la_LIBADD = $(GST_LIBS)
libgstreamersharpglue_0_10_la_LDFLAGS = -module -avoid-version -no-undefined libgstreamersharpglue_0_10_la_LDFLAGS = -module -avoid-version -no-undefined
libstreamersharpglue.dll: $(libstreamersharpglue_0_10_la_OBJECTS) libstreamersharpglue.rc libstreamersharpglue.def
./build-dll libstreamersharpglue-0.10 $(VERSION) libgstreamersharpglue.dll: $(libgstreamersharpglue_0_10_la_OBJECTS) libgstreamersharpglue.rc libgstreamersharpglue.def
./build-dll libgstreamersharpglue-0.10 $(VERSION)
INCLUDES = -Wall $(GST_CFLAGS) -I$(top_srcdir) INCLUDES = -Wall $(GST_CFLAGS) -I$(top_srcdir)

View file

@ -12,7 +12,7 @@ run-test: $(ASSEMBLY)
EXTRA_DIST = $(ASSEMBLY_CSFILES) EXTRA_DIST = $(ASSEMBLY_CSFILES)
CLEANFILES = $(ASSEMBLY) *.mdb *.pdb TestResult.xml CLEANFILES = $(ASSEMBLY) *.mdb *.pdb TestResult.xml
DISTCLEANFILES = Makefile.in MAINTAINERCLEANFILES = Makefile.in
clean-local: clean-local:
rm -rf %temp% rm -rf %temp%