xref: /freebsd/contrib/libxo/xo/Makefile.am (revision 25f3fb54b6bdf5c3112535832462dc130e315dee)
1#
2# Copyright 2014, Juniper Networks, Inc.
3# All rights reserved.
4# This SOFTWARE is licensed under the LICENSE provided in the
5# ../Copyright file. By downloading, installing, copying, or otherwise
6# using the SOFTWARE, you agree to be bound by the terms of that
7# LICENSE.
8
9if LIBXO_WARNINGS_HIGH
10LIBXO_WARNINGS = HIGH
11endif
12include ${top_srcdir}/warnings.mk
13
14AM_CFLAGS = \
15    -DLIBXO_XMLSOFT_NEED_PRIVATE \
16    -I${top_builddir} \
17    -I${top_srcdir} \
18    -I${top_srcdir}/libxo \
19    ${WARNINGS}
20
21LIBS = \
22    ${LIBXO_LIBS}
23
24bin_PROGRAMS = xo
25
26xo_SOURCES = xo.c
27#xo_LDADD = ../libxo/libxo.la
28#xo_LDFLAGS = -static
29
30LDADD = \
31    ${top_builddir}/libxo/libxo.la
32
33man_MANS = xo.1
34
35EXTRA_DIST = xo.1
36