mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
build: Move AM_CFLAGS and AM_CPPFLAGS to the top of Makefile.am
AM_CFLAGS and AM_CPPFLAGS aren't positional, so putting them at a random place in Makefile.am can be misleading. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
1faeb7ff48
commit
e06f88cf91
1 changed files with 7 additions and 7 deletions
14
Makefile.am
14
Makefile.am
|
|
@ -4,6 +4,13 @@ endif
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||||
|
|
||||||
|
AM_CPPFLAGS = \
|
||||||
|
-I$(top_builddir)/src \
|
||||||
|
-I$(top_srcdir)/src \
|
||||||
|
-I$(top_builddir)/protocol
|
||||||
|
|
||||||
|
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS)
|
||||||
|
|
||||||
aclocaldir = $(datadir)/aclocal
|
aclocaldir = $(datadir)/aclocal
|
||||||
dist_aclocal_DATA = wayland-scanner.m4
|
dist_aclocal_DATA = wayland-scanner.m4
|
||||||
|
|
||||||
|
|
@ -214,12 +221,5 @@ fixed_benchmark_LDADD = libtest-runner.la
|
||||||
os_wrappers_test_SOURCES = tests/os-wrappers-test.c
|
os_wrappers_test_SOURCES = tests/os-wrappers-test.c
|
||||||
os_wrappers_test_LDADD = libtest-runner.la
|
os_wrappers_test_LDADD = libtest-runner.la
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
-I$(top_builddir)/src \
|
|
||||||
-I$(top_srcdir)/src \
|
|
||||||
-I$(top_builddir)/protocol
|
|
||||||
|
|
||||||
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS)
|
|
||||||
|
|
||||||
exec_fd_leak_checker_SOURCES = tests/exec-fd-leak-checker.c
|
exec_fd_leak_checker_SOURCES = tests/exec-fd-leak-checker.c
|
||||||
exec_fd_leak_checker_LDADD = libtest-runner.la
|
exec_fd_leak_checker_LDADD = libtest-runner.la
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue