
AM_FCFLAGS = $(FC_MODINC)$(top_srcdir)/lib $(FC_MODOUT)$(top_srcdir)/lib

pkglibexec_PROGRAMS = astrometry cross

astrometry_SOURCES = match.f95 nearmatch.f95 estimator.f95 \
	lsfit.f95 absfit.f95 robfit.f95 \
	astromatch.f95 astrofit.f95 astrofits.f95 astrometry.f95
astrometry_LDFLAGS = @LIBGFORTRAN@ @LIBGCC@ @LDMINPACK@ -L$(top_srcdir)/lib
astrometry_LDADD = -lminpacks -lminpack -lrstat -lfmm -llmin -lnoise -lsort \
	-lastrosphere -lastrotrafo -lphio -lfitsio -lcfitsio -lm

cross_SOURCES = crossmatch.f95 cross.f95
cross_LDFLAGS = @LIBGFORTRAN@ @LIBGCC@ -L$(top_srcdir)/lib
cross_LDADD = -lastrosphere -lfitsio -lcfitsio -lm
