diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2014-08-15 17:56:39 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-08-15 12:09:54 -0400 |
commit | 62254ca3061a1309e836939df242140b53c79603 (patch) | |
tree | da3ac9edc75cb8dc47cfa9e09f5dc6f2155364d6 /util | |
parent | f4a29fbfc28b1c9918de939b616f61738d27a17a (diff) | |
download | gtk+-62254ca3061a1309e836939df242140b53c79603.tar.gz |
util/extract-strings: Use autotools syntax for building
Always refer to it as "extract-strings$(EXEEXT)" where needed to take
cross-compilation into account.
https://bugzilla.gnome.org/show_bug.cgi?id=731013
Diffstat (limited to 'util')
-rw-r--r-- | util/Makefile.am | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/util/Makefile.am b/util/Makefile.am index e8cf8fdca0..414dc683be 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -1,13 +1,9 @@ # 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$(EXEEXT): $(extract_strings_sources) - @rm -f extract-strings - $(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 $@ noinst_PROGRAMS = extract-strings +extract_strings_SOURCES = extract-strings.c +extract_strings_CFLAGS = $(GLIB_CFLAGS_FOR_BUILD) +extract_strings_LDADD = $(GLIB_LIBS_FOR_BUILD) + -include $(top_srcdir)/git.mk |