diff options
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | include/Makefile.am | 14 | ||||
-rw-r--r-- | include/types.h | 1 | ||||
-rw-r--r-- | samsung-ipc/Makefile.am | 11 | ||||
-rw-r--r-- | tools/Makefile.am | 8 |
5 files changed, 12 insertions, 27 deletions
diff --git a/configure.ac b/configure.ac index 1f7d4c1..d0241ed 100644 --- a/configure.ac +++ b/configure.ac @@ -25,9 +25,8 @@ PKG_PROG_PKG_CONFIG # protocol version we're building for AC_ARG_WITH(protocol-version, [ --with-protocol-version=NAME Version of the IPC protocol we're building libsamsung-ipc for], - [v=$withval;protocol_version=$v], [protocol_version=crespo]) -AM_CONDITIONAL([WANT_PROTOCOL_VERISON_CRESPO], [test x"$protocol_version" = x"crespo"]) -AM_CONDITIONAL([WANT_PROTOCOL_VERISON_H1], [test x"$protocol_version" = x"h1"]) + [v=$withval;protocol_version=$v], [protocol_version=4]) +AM_CONDITIONAL([WANT_PROTOCOL_VERISON_4], [test x"$protocol_version" = x"4"]) #------------------------------------------------------------------------------ # openssl diff --git a/include/Makefile.am b/include/Makefile.am index 4595c40..0c2b04e 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -27,11 +27,11 @@ samsung_ipc_h1include_HEADERS = \ device/h1/gen.h $(NULL) -samsung_ipc_crespoincludedir = $(includedir)/samsung-ipc-1.0/device/crespo/ -samsung_ipc_crespoinclude_HEADERS = \ - device/crespo/call.h \ - device/crespo/net.h \ - device/crespo/sms.h \ - device/crespo/misc.h \ - device/crespo/gen.h \ +samsung_ipc_v4includedir = $(includedir)/samsung-ipc-1.0/device/ipc-v4/ +samsung_ipc_v4include_HEADERS = \ + device/ipc-v4/call.h \ + device/ipc-v4/net.h \ + device/ipc-v4/sms.h \ + device/ipc-v4/misc.h \ + device/ipc-v4/gen.h \ $(NULL) diff --git a/include/types.h b/include/types.h index 2a39af7..fa04fad 100644 --- a/include/types.h +++ b/include/types.h @@ -32,6 +32,7 @@ #include "rfs.h" #include "snd.h" #include "gprs.h" +#include "ss.h" /* AP -> Baseband */ #define IPC_TYPE_EXEC 0x01 diff --git a/samsung-ipc/Makefile.am b/samsung-ipc/Makefile.am index d21c172..46e4e6c 100644 --- a/samsung-ipc/Makefile.am +++ b/samsung-ipc/Makefile.am @@ -29,19 +29,10 @@ libsamsung_ipc_la_SOURCES = \ sms.c \ $(NULL) -if WANT_PROTOCOL_VERISON_CRESPO libsamsung_ipc_la_SOURCES += \ device/crespo/crespo_ipc.c \ $(NULL) -AM_CFLAGS += -DDEVICE_CRESPO -endif - -if WANT_PROTOCOL_VERISON_H1 -libsamsung_ipc_la_SOURCES += \ - device/h1/h1_ipc.c \ - $(NULL) -AM_CFLAGS += -DDEVICE_H1 -endif +AM_CFLAGS += -DDEVICE_IPC_V4 libsamsung_ipc_la_LIBADD = \ $(OPENSSL_LIBS) \ diff --git a/tools/Makefile.am b/tools/Makefile.am index 732d27f..b320ef1 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -4,13 +4,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/include \ $(NULL) -if WANT_PROTOCOL_VERISON_CRESPO -AM_CFLAGS += -DDEVICE_CRESPO -endif - -if WANT_PROTOCOL_VERISON_H1 -AM_CFLAGS += -DDEVICE_H1 -endif +AM_CFLAGS += -DDEVICE_IPC_V4 bin_PROGRAMS = \ modemctrl \ |