Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
# SPDX-License-Identifier: BSD-3-Clause

# Makefile.am - Automake script for QMI Framework
AM_CPPFLAGS = -I$(top_srcdir)/include
ACLOCAL_AMFLAGS = -I m4
pkginclude_HEADERS = include/*.h
pkginclude_HEADERS = \
include/common_v01.h \
include/qcsi.h \
include/qcsi_target_ext.h \
include/qmi_cci_target_ext.h \
include/qmi_client.h \
include/qmi_idl_lib.h \
include/qmi_idl_lib_internal.h
SUBDIRS = common qencdec qcci qcsi tests
4 changes: 2 additions & 2 deletions common/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ AM_CFLAGS = -Wundef \
-fpic

AM_CPPFLAGS = \
-I../include
-I$(top_srcdir)/include

h_sources = qmi_common.h

if GNU_CC
requiredlibs = -lpthread
endif
library_includedir = $(pkgincludedir)
library_include_HEADERS = $(h_sources)
noinst_HEADERS = $(h_sources)

c_sources = common_v01.c

Expand Down
6 changes: 3 additions & 3 deletions qcci/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ AM_CFLAGS = -Wundef \
-DQMI_FW_SYSLOG

AM_CPPFLAGS = \
-I../include \
-I../common/ \
-I$(top_srcdir)/include \
-I$(top_srcdir)/common/ \
-I$(top_builddir) \
$(QMI_CFLAGS) \
$(QMIFV_CFLAGS)
Expand All @@ -36,7 +36,7 @@ requiredlibs += -lpthread
endif

library_includedir = $(pkgincludedir)
library_include_HEADERS = $(h_sources)
noinst_HEADERS = $(h_sources)

c_sources = qcci.c \
qcci_os.c \
Expand Down
6 changes: 3 additions & 3 deletions qcsi/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ AM_CFLAGS = -Wundef \
-DQMI_FW_SYSLOG

AM_CPPFLAGS = \
-I../include \
-I../common/ \
-I$(top_srcdir)/include \
-I$(top_srcdir)/common/ \
-I$(top_builddir) \
$(QMI_CFLAGS) \
$(QMIFV_CFLAGS)
Expand All @@ -36,7 +36,7 @@ requiredlibs += -lpthread
endif

library_includedir = $(pkgincludedir)
library_include_HEADERS = $(h_sources)
noinst_HEADERS = $(h_sources)

c_sources = qcsi_common.c \
qcsi_os.c \
Expand Down
2 changes: 1 addition & 1 deletion qencdec/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ AM_CFLAGS = -Wundef \
-fpic

AM_CPPFLAGS = \
-I../include
-I$(top_srcdir)/include

h_sources = qmi_idl_lib_target.h

Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ AM_CFLAGS = -Wundef \
-fpic \
$(QMI_CFLAGS)

AM_CPPFLAGS = -I../include -I../qcsi -I../common
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/qcsi -I$(top_srcdir)/common

requiredlibs = ../qencdec/libqencdec.la ../common/libqmi_common.la ../qcci/libqcci.la ../qcsi/libqcsi.la

Expand Down