1# doc/Makefile.am 2# 3# Copyright (C) 2015 Carsten Schoenert <c.schoenert@t-online.de> 4# 5# This file is part of the CoAP C library libcoap. Please see README and 6# COPYING for terms of use. 7 8# just do anything if 'HAVE_CUNIT' is defined 9if HAVE_CUNIT 10 11# picking up the default warning CFLAGS 12AM_CFLAGS = $(WARNING_CFLAGS) -std=c99 13 14noinst_PROGRAMS = \ 15 testdriver 16 17testdriver_SOURCES = \ 18 testdriver.c \ 19 test_error_response.c \ 20 test_options.c \ 21 test_pdu.c \ 22 test_sendqueue.c \ 23 test_uri.c \ 24 test_wellknown.c 25 26testdriver_LDADD = @CUNIT_LIBS@ @top_builddir@/.libs/libcoap-$(LIBCOAP_API_VERSION).la 27 28# If there is a API change to something $(LIBCOAP_API_VERSION) > 1 there is 29# nothing to adopt here. No needed to implement something here because the test 30# unit will always be build againts the actual header files! 31# 32testdriver_CFLAGS = -I @top_builddir@/include/coap/ $(AM_CFLAGS) 33 34CLEANFILES = testdriver 35 36all-am: testdriver 37 38endif # HAVE_CUNIT 39