4 # Copyright 2015, Juniper Networks, Inc.
6 # This SOFTWARE is licensed under the LICENSE provided in the
7 # ../Copyright file. By downloading, installing, copying, or otherwise
8 # using the SOFTWARE, you agree to be bound by the terms of that
11 if LIBXO_WARNINGS_HIGH
17 include ${top_srcdir}/warnings.mk
19 enc_cborincdir = ${includedir}/libxo
22 -I${top_srcdir}/libxo \
23 -I${top_builddir}/libxo \
27 pkglib_LTLIBRARIES = libenc_cbor.la
29 -L${top_builddir}/libxo -lxo
31 LDADD = ${top_builddir}/libxo/libxo.la
33 libenc_cbor_la_SOURCES = \
36 pkglibdir = ${XO_ENCODERDIR}
41 @DLNAME=`sh -c '. ./libenc_cbor.la ; echo $$dlname'` ; \
42 if [ x"$$DLNAME" = x ]; \
43 then DLNAME=${LIBNAME}.${XO_LIBEXT}; fi ; \
44 if [ "$(build_os)" = "cygwin" ]; \
45 then DLNAME="../bin/$$DLNAME"; fi ; \
46 echo Install link $$DLNAME "->" ${UGLY_NAME} "..." ; \
47 mkdir -p ${DESTDIR}${XO_ENCODERDIR} ; \
48 cd ${DESTDIR}${XO_ENCODERDIR} \
50 && rm -f ${UGLY_NAME} \
51 && ${LN_S} $$DLNAME ${UGLY_NAME}