diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-09 19:51:18 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-09 19:51:18 +0800 |
commit | c6e5f421e2738b6005f6c3da6700b1343214f7e5 (patch) | |
tree | f4c45010fac52e4c30610ddd4640fb5b36a602a8 /Makefile.am | |
parent | a0e54cb948c9862936e16eedd2a2015be05408c8 (diff) |
Add support for Emscripten
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 66867b2..01f7b92 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,24 +4,32 @@ libicclient_la_SOURCES = \ request.c \ product.c \ catalog.c \ + client.c +if !WASM +libicclient_la_SOURCES += \ ord.c \ login.h \ login.c \ member.c \ - admin.c \ - client.c + admin.c +endif libicclient_la_CFLAGS = -I${prefix}/include -libicclient_la_LDFLAGS = $(CURL_LIBS) if WASM -libicclient_la_LDFLAGS += -static +libicclient_la_LDFLAGS = -static +else +libicclient_la_LDFLAGS = $(CURL_LIBS) endif if IOS libicclient_la_LDFLAGS += -static endif pkginclude_HEADERS = \ + icclient/typedefs.h \ icclient/product.h \ icclient/catalog.h \ + icclient/client.h +if !WASM +pkginclude_HEADERS += \ icclient/ord.h \ icclient/member.h \ - icclient/admin.h \ - icclient/client.h + icclient/admin.h +endif |