Fix the misused preset output variables of autoconf 07/263007/1 linux_yocto
authorJoonbum Ko <joonbum.ko@samsung.com>
Tue, 24 Aug 2021 10:22:56 +0000 (19:22 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Tue, 24 Aug 2021 10:22:56 +0000 (19:22 +0900)
Change-Id: Ic46d95687b0b8115278cd9ad388547e86b5ccc40
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
client/Makefile.am
common/Makefile.am
haltests/Makefile.am
src/Makefile.am
tools/Makefile.am

index d50c6b2..fe3632a 100644 (file)
@@ -18,11 +18,11 @@ libtdm_client_la_CFLAGS = \
        $(WARN_CFLAGS) \
        $(TDM_CLIENT_CFLAGS) \
        -I$(top_srcdir)/include \
-       -I$(top_srcdir)/protocol \
+       -I$(top_builddir)/protocol \
        -I$(top_srcdir)/src \
        -I$(top_srcdir)/client
 
 libtdm_client_la_SOURCES = \
-       $(top_srcdir)/protocol/tdm-protocol.c \
+       $(top_builddir)/protocol/tdm-protocol.c \
        tdm_client.c
 
index e3f2dbe..d3c1fe5 100644 (file)
@@ -8,5 +8,5 @@ libtdm_common_la_CFLAGS = \
        $(WARN_CFLAGS) \
        $(TDM_CFLAGS) \
        -I$(top_srcdir)/include \
-       -I$(top_srcdir)/protocol \
+       -I$(top_builddir)/protocol \
        -I$(top_srcdir)/src
index c0da6de..45f7aa7 100644 (file)
@@ -28,10 +28,10 @@ tdm_haltests_CXXFLAGS = \
        $(CXXFLAGS) \
        $(TDM_CFLAGS) \
        $(EXTRA_CFLAGS) \
-       -I../src \
-       -I../include \
-       -I../client \
-       -I../tools \
+       -I$(top_srcdir)/src \
+       -I$(top_srcdir)/include \
+       -I$(top_srcdir)/client \
+       -I$(top_srcdir)/tools \
        -I$(includedir)/gtest \
        -fpermissive
 # The flag -w is used, because there are many warnings in libtdm's sources.
index f9616e4..77a34cb 100644 (file)
@@ -7,11 +7,11 @@ libtdm_la_CFLAGS = \
        $(WARN_CFLAGS) \
        $(TDM_CFLAGS) \
        -I$(top_srcdir)/include \
-       -I$(top_srcdir)/protocol \
+       -I$(top_builddir)/protocol \
        -I$(top_srcdir)/src
 
 libtdm_la_SOURCES = \
-       $(top_srcdir)/protocol/tdm-protocol.c \
+       $(top_builddir)/protocol/tdm-protocol.c \
        tdm_backend.c \
        tdm_config.c \
        tdm_server.c \
index 2f07236..163cfce 100644 (file)
@@ -37,7 +37,7 @@ tdm_test_client_LDADD = \
 
 #tdm-monitor
 tdm_monitor_SOURCES = \
-       $(top_srcdir)/protocol/tdm-protocol.c \
+       $(top_builddir)/protocol/tdm-protocol.c \
        tdm_monitor.c
 tdm_monitor_LDFLAGS = \
        -pie \
@@ -48,5 +48,5 @@ tdm_monitor_CFLAGS = \
        $(CFLAGS) \
        $(TDM_CFLAGS) \
        -I$(top_srcdir)/include \
-       -I$(top_srcdir)/protocol \
+       -I$(top_builddir)/protocol \
        -I$(top_srcdir)/src