netcdf-c/udunits/prog/Makefile.am
2010-06-03 13:24:43 +00:00

32 lines
889 B
Makefile

# Copyright 2008, 2009 University Corporation for Atmospheric Research
#
# This file is part of the UDUNITS-2 package. See the file LICENSE
# in the top-level source-directory of the package for copying and
# redistribution conditions.
#
## Process this file with automake to produce Makefile.in
bin_PROGRAMS = udunits2
LDADD = ../lib/libudunits2.la \
-lm
info_TEXINFOS = udunits2prog.texi
#html_DATA = udunits2prog.html
#pdf_DATA = udunits2prog.pdf
AM_MAKEINFOFLAGS = -I ..
AM_MAKEINFOHTMLFLAGS = --no-split -I ..
AM_CPPFLAGS = -I$(top_srcdir)/lib
MOSTLYCLEANFILES = lint.log *.ln
LINTFLAGS = -u
LINT = lint
TAGS_FILES = ../lib/*.c ../lib/*.h
EXTRA_DIST = udunits2prog.html udunits2prog.pdf
.c.ln:
$(LINT.c) $(AM_CPPFLAGS) -c $<
.c.i:
$(CPP) $(CPPFLAGS) $< >$@
debug: udunits2
UDUNITS2_XML_PATH=$(top_srcdir)/lib/udunits2.xml libtool \
--mode=execute gdb udunits2