aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-02-16 21:46:17 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-02-28 17:28:38 +0100
commit0149fc9e6bfd08b596fa1954b6dc4bcf875de9cd (patch)
tree5ce03da6b03d08d3ac38bc580182c6db5410cb62
parent6b9691756a104d8c7daf23a24528bfb0d83d81ed (diff)
downloadhardware_replicant_libsamsung-ipc-0149fc9e6bfd08b596fa1954b6dc4bcf875de9cd.tar.gz
hardware_replicant_libsamsung-ipc-0149fc9e6bfd08b596fa1954b6dc4bcf875de9cd.tar.bz2
hardware_replicant_libsamsung-ipc-0149fc9e6bfd08b596fa1954b6dc4bcf875de9cd.zip
samsung-ipc/Makefile.am: split it in subdirectories
The samsung-ipc/Makefile.am became pretty big. Because of that, it's It's better to split it to have one Makefile.am per subdirectory. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--samsung-ipc/Makefile.am39
-rw-r--r--samsung-ipc/devices/Makefile.am25
-rw-r--r--samsung-ipc/modems/Makefile.am15
3 files changed, 43 insertions, 36 deletions
diff --git a/samsung-ipc/Makefile.am b/samsung-ipc/Makefile.am
index fd865f5..cd3fcf4 100644
--- a/samsung-ipc/Makefile.am
+++ b/samsung-ipc/Makefile.am
@@ -18,42 +18,6 @@ libsamsung_ipc_la_SOURCES = \
ipc.c \
ipc.h \
ipc_utils.c \
- modems/xmm616/xmm616.c \
- modems/xmm616/xmm616.h \
- modems/xmm626/xmm626.c \
- modems/xmm626/xmm626.h \
- modems/xmm626/xmm626_hsic.c \
- modems/xmm626/xmm626_hsic.h \
- modems/xmm626/xmm626_kernel_smdk4412.c \
- modems/xmm626/xmm626_kernel_smdk4412.h \
- modems/xmm626/xmm626_mipi.c \
- modems/xmm626/xmm626_mipi.h \
- modems/xmm626/xmm626_modem_if.h \
- modems/xmm626/xmm626_modem_link_device_hsic.h \
- modems/xmm626/xmm626_modem_prj.h \
- devices/ipc_devices.c \
- devices/ipc_devices.h \
- devices/crespo/crespo.c \
- devices/crespo/crespo.h \
- devices/crespo/crespo_modem_ctl.h \
- devices/aries/aries.c \
- devices/aries/aries.h \
- devices/aries/onedram.h \
- devices/aries/phonet.h \
- devices/galaxys2/galaxys2.c \
- devices/galaxys2/galaxys2.h \
- devices/maguro/maguro.c \
- devices/maguro/maguro.h \
- devices/piranha/piranha.c \
- devices/piranha/piranha.h \
- devices/i9300/i9300.c \
- devices/i9300/i9300.h \
- devices/n7100/n7100.c \
- devices/n7100/n7100.h \
- devices/n5100/n5100.c \
- devices/n5100/n5100.h \
- devices/herolte/herolte.c \
- devices/herolte/herolte.h \
utils.c \
call.c \
sms.c \
@@ -66,6 +30,9 @@ libsamsung_ipc_la_SOURCES = \
gen.c \
$(NULL)
+include devices/Makefile.am
+include modems/Makefile.am
+
libsamsung_ipc_la_LIBADD = \
$(OPENSSL_LIBS) \
$(NULL)
diff --git a/samsung-ipc/devices/Makefile.am b/samsung-ipc/devices/Makefile.am
new file mode 100644
index 0000000..8257be3
--- /dev/null
+++ b/samsung-ipc/devices/Makefile.am
@@ -0,0 +1,25 @@
+libsamsung_ipc_la_SOURCES += \
+ devices/ipc_devices.c \
+ devices/ipc_devices.h \
+ devices/crespo/crespo.c \
+ devices/crespo/crespo.h \
+ devices/crespo/crespo_modem_ctl.h \
+ devices/aries/aries.c \
+ devices/aries/aries.h \
+ devices/aries/onedram.h \
+ devices/aries/phonet.h \
+ devices/galaxys2/galaxys2.c \
+ devices/galaxys2/galaxys2.h \
+ devices/maguro/maguro.c \
+ devices/maguro/maguro.h \
+ devices/piranha/piranha.c \
+ devices/piranha/piranha.h \
+ devices/i9300/i9300.c \
+ devices/i9300/i9300.h \
+ devices/n7100/n7100.c \
+ devices/n7100/n7100.h \
+ devices/n5100/n5100.c \
+ devices/n5100/n5100.h \
+ devices/herolte/herolte.c \
+ devices/herolte/herolte.h \
+ $(NULL)
diff --git a/samsung-ipc/modems/Makefile.am b/samsung-ipc/modems/Makefile.am
new file mode 100644
index 0000000..f59258a
--- /dev/null
+++ b/samsung-ipc/modems/Makefile.am
@@ -0,0 +1,15 @@
+libsamsung_ipc_la_SOURCES += \
+ modems/xmm616/xmm616.c \
+ modems/xmm616/xmm616.h \
+ modems/xmm626/xmm626.c \
+ modems/xmm626/xmm626.h \
+ modems/xmm626/xmm626_hsic.c \
+ modems/xmm626/xmm626_hsic.h \
+ modems/xmm626/xmm626_kernel_smdk4412.c \
+ modems/xmm626/xmm626_kernel_smdk4412.h \
+ modems/xmm626/xmm626_mipi.c \
+ modems/xmm626/xmm626_mipi.h \
+ modems/xmm626/xmm626_modem_if.h \
+ modems/xmm626/xmm626_modem_link_device_hsic.h \
+ modems/xmm626/xmm626_modem_prj.h \
+ $(NULL)