summaryrefslogtreecommitdiffstats
path: root/src/liboauth.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2011-01-03 05:34:14 (GMT)
committerTony Theodore <tonyt@logyst.com>2011-01-03 05:34:14 (GMT)
commit692fde62484c94a57bb0d769c53344f7a1af7655 (patch)
tree81eb38c33a85be49d382710418ad98f4f9faf58f /src/liboauth.mk
parente9ec1dd0651c15e709d6a8a75cb7101d0e6d3b88 (diff)
downloadmxe-692fde62484c94a57bb0d769c53344f7a1af7655.zip
mxe-692fde62484c94a57bb0d769c53344f7a1af7655.tar.gz
mxe-692fde62484c94a57bb0d769c53344f7a1af7655.tar.bz2
package liboauth: add test program and remove check target and associated variables
Diffstat (limited to 'src/liboauth.mk')
-rw-r--r--src/liboauth.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/liboauth.mk b/src/liboauth.mk
index cbd50ed..b9967cf 100644
--- a/src/liboauth.mk
+++ b/src/liboauth.mk
@@ -23,10 +23,12 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-shared \
- --disable-curl \
- HASH_LIBS="`$(TARGET)-pkg-config --libs libcrypto`" \
- HASH_CFLAGS="`$(TARGET)-pkg-config --cflags libcrypto`"
+ --disable-curl
$(MAKE) -C '$(1)' -j '$(JOBS)'
- $(MAKE) -C '$(1)' -j '$(JOBS)' check
- $(MAKE) -C '$(1)' -j '$(JOBS)' install
+ $(MAKE) -C '$(1)' -j 1 install
+
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror -ansi -pedantic \
+ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-liboauth.exe' \
+ `'$(TARGET)-pkg-config' oauth --cflags --libs`
endef