mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-29 18:11:22 -05:00
For example, add $(AM_CFLAGS) to mumble_CFLAGS. Since $(WARN_CFLAGS) is only added to $(AM_CFLAGS), this fixes the lack of inclusion of the compiler warning flags in the compilation of half of flatpak. Note that $(AM_*) variables are only used by automake if a more specific (per-target) special variable is not defined instead. So if you define mumble_CFLAGS, AM_CFLAGS will not be used for that target unless explicitly included in mumble_CFLAGS. See https://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html. Do the same for $(AM_LIBADD), $(AM_LDFLAGS), etc. These are not currently defined, but it’s good practice to include them in mumble_LIBADD (etc.) just in case they’re defined in future. Hopefully their inclusions will be cargo-culted to any new targets which are added, retaining full coverage of the code base. Signed-off-by: Philip Withnall <withnall@endlessm.com>
44 lines
1.3 KiB
PHP
44 lines
1.3 KiB
PHP
bin_PROGRAMS += \
|
|
flatpak-builder \
|
|
$(NULL)
|
|
|
|
flatpak_builder_SOURCES = \
|
|
builder/builder-main.c \
|
|
builder/builder-manifest.c \
|
|
builder/builder-manifest.h \
|
|
builder/builder-options.c \
|
|
builder/builder-options.h \
|
|
builder/builder-module.c \
|
|
builder/builder-module.h \
|
|
builder/builder-post-process.c \
|
|
builder/builder-post-process.h \
|
|
builder/builder-source.c \
|
|
builder/builder-source.h \
|
|
builder/builder-source-archive.c \
|
|
builder/builder-source-archive.h \
|
|
builder/builder-source-git.c \
|
|
builder/builder-source-git.h \
|
|
builder/builder-source-bzr.c \
|
|
builder/builder-source-bzr.h \
|
|
builder/builder-source-file.c \
|
|
builder/builder-source-file.h \
|
|
builder/builder-source-script.c \
|
|
builder/builder-source-script.h \
|
|
builder/builder-source-shell.c \
|
|
builder/builder-source-shell.h \
|
|
builder/builder-source-patch.c \
|
|
builder/builder-source-patch.h \
|
|
builder/builder-context.c \
|
|
builder/builder-context.h \
|
|
builder/builder-cache.c \
|
|
builder/builder-cache.h \
|
|
builder/builder-utils.c \
|
|
builder/builder-utils.h \
|
|
builder/builder-git.c \
|
|
builder/builder-git.h \
|
|
$(NULL)
|
|
|
|
flatpak_builder_LDADD = $(AM_LDADD) $(BASE_LIBS) $(OSTREE_LIBS) $(JSON_LIBS) $(SOUP_LIBS) $(LIBELF_LIBS) \
|
|
libglnx.la libflatpak-common.la
|
|
flatpak_builder_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(JSON_CFLAGS) $(SOUP_CFLAGS)
|