# # Makefile for Mark6 & ALMA support # # (c) Massachusetts Institute of Technology, 2010..2023 # (c) Geoffrey B. Crew, 2010..2023 # SUBDIRS = . AM_CPPFLAGS = -Wall EXTRA_DIST = readme.sh gpl-3.0.txt vdifuse-doc.txt if WITH_FUSE if HAVE_FUSE if HAVE_LINUX vdifuse = vdifuse vdifuse_h = vdifuse.h vdifsg2.h vdifsig.h vdifprc.h vdfxmsg.h vdifthr.h prepone = prep-one-scan.sh set-read-ahead.sh else vdifuse = vdifuse_h = prepone = endif else vdifuse = vdifuse_h = prepone = endif else vdifuse = vdifuse_h = prepone = endif dist_noinst_HEADERS = vdif.h vdif_epochs.h vdif_time_util.h \ sg_access.h sc_stats.h exthdr.h m6scmodule.h $(vdifuse_h) \ fix_the_file.h test_scripts = hammer.sh hammerplot.sh fillerfrac.sh \ statsplot.py glitchplot.sh chk_fixer.sh vdif_epochs.py check_PROGRAMS = TESTS = if HAVE_LINUX scanext=exthdr.c almahdr.c r2dbehdr.c scan_check_SOURCES = scan_check.c per_file.c sg_access.c sc_stats.c $(scanext) scan_check_CPPFLAGS = -DEXTEND_HCHK=1 scan_fixer_SOURCES = scan_fixer.c fix_the_file.c sg_access.c vdif_time_SOURCES = vdif_time_main.c vdif_time.c else scan_check_SOURCES = scan_check_CPPFLAGS = scan_fixer_SOURCES = vdif_time_SOURCES = endif if WITH_FUSE if HAVE_FUSE if HAVE_LINUX vdsrc = vdifuse.c vdifsig.c vdiftrc.c vdifopt.c \ vdifpar.c vdifsup.c vdiftst.c vdifseq.c \ vdiforr.c vdiflat.c vdifrex.c vdfxmsg.c \ vdifsg2.c vdifsp2.c vdifprc.c vdifthr.c \ sg_access.c sg_advice.c sg_spwrda.c dist_vdifuse_SOURCES = $(vdsrc) else dist_vdifuse_SOURCES = endif else dist_vdifuse_SOURCES = endif else dist_vdifuse_SOURCES = endif vdifuse_CPPFLAGS = $(AM_CPPFLAGS) -DVDIFUSE_VERSION=$(PACKAGE_VERSION) vdifuse_CFLAGS = $(FUSE_CFLAGS) vdifuse_LDADD = $(FUSE_LIBS) if HAVE_LINUX bin_PROGRAMS = scan_check scan_fixer vdif_time $(vdifuse) dist_bin_SCRIPTS = $(prepone) $(test_scripts) else bin_PROGRAMS = dist_bin_SCRIPTS = endif CLEANFILES = DISTCLEANFILES = \ depcomp install-sh test-driver missing compile config.guess config.sub # # eof vim: ts=8 #