1# Copyright (C) 2017 Yann Pouillon
2
3#
4# Makefile for the SAX examples of XMLF90
5#
6
7# Connect this directory to the main source code
8AM_CPPFLAGS = -I../../../../src/sax -DSAX_DATA_DIR=\"$(srcdir)/\"
9AM_FCFLAGS = -I../../../../src/sax
10
11noinst_PROGRAMS = count
12
13count_SOURCES = count.F90 m_count.f90
14count_LDADD = ../../../../src/libxmlf90.la
15count_DEPENDENCIES = big-file.xml
16
17if F90_MOD_UPPERCASE
18f03_mods = M_COUNT.$(MODEXT)
19else
20f03_mods = m_count.$(MODEXT)
21endif
22
23EXTRA_DIST = README big-file.xml
24
25CLEANFILES = $(f03_mods)
26
27TESTS = count
28
29count.$(OBJEXT): m_count.$(OBJEXT)
30