mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 23:00:08 +00:00
651d9e90e7
It is actually a bad idea to use noinst_PROGRAMS for build tools, because it adds a $(EXEEXT). It is best to override the all target with all-local to trigger the tool build.
14 lines
616 B
Makefile
14 lines
616 B
Makefile
# The extract_strings tool is a build utility that runs on the build system.
|
|
extract_strings_sources = extract-strings.c
|
|
extract_strings_cppflags =
|
|
extract_strings_cflags = $(GLIB_CFLAGS_FOR_BUILD)
|
|
extract_strings_ldadd = $(GLIB_LIBS_FOR_BUILD)
|
|
|
|
extract-strings$(BUILD_EXEEXT): $(extract_strings_sources)
|
|
@rm -f extract-strings$(BUILD_EXEEXT)
|
|
$(AM_V_CCLD)$(CC_FOR_BUILD) $(extract_strings_cppflags) $(CPPFLAGS_FOR_BUILD) $(extract_strings_cflags) $(CFLAGS_FOR_BUILD) $^ $(LDFLAGS_FOR_BUILD) $(extract_strings_ldadd) $(LIBS_FOR_BUILD) -o $@
|
|
|
|
all-local: extract-strings$(BUILD_EXEEXT)
|
|
|
|
-include $(top_srcdir)/git.mk
|