summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am19
1 files changed, 6 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am
index 7f218cf..1f34163 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,18 +1,15 @@
lib_LTLIBRARIES = libicclient.la
libicclient_la_SOURCES = \
+ client.c \
request.h \
request.c \
- product.c \
catalog.c \
- client.c
-if !WASM
-libicclient_la_SOURCES += \
+ product.c \
ord.c \
login.h \
login.c \
member.c \
admin.c
-endif
libicclient_la_CPPFLAGS = -I${prefix}/include $(DEPS_CFLAGS)
if WASM
libicclient_la_LDFLAGS = -static
@@ -23,20 +20,16 @@ if IOS
libicclient_la_LDFLAGS += -static
endif
pkginclude_HEADERS = \
- icclient/typedefs.h \
- icclient/product.h \
+ icclient/client.h \
icclient/catalog.h \
- icclient/client.h
-if !WASM
-pkginclude_HEADERS += \
+ icclient/product.h \
+ icclient/typedefs.h \
icclient/ord.h \
icclient/member.h \
icclient/admin.h
-endif
-
#if !WASM
#bin_PROGRAMS = icclient
-#icclient_SOURCES = main.c client.c catalog.c product.c request.c login.c member.c
+#icclient_SOURCES = main.c client.c catalog.c product.c request.c ord.c login.c member.c admin.c
#icclient_CPPFLAGS = -I${prefix}/include $(DEPS_CFLAGS)
#icclient_LDFLAGS = $(DEPS_LIBS) -lcurl
#endif