Blob Blame History Raw
lib_LTLIBRARIES = libHBAAPI.la
libHBAAPI_la_SOURCES = hbaapi.h vendorhbaapi.h
nodist_libHBAAPI_la_SOURCES = hbaapilib.c
libHBAAPI_la_LDFLAGS = -version-info 2:2:0

nobase_include_HEADERS = hbaapi.h vendorhbaapi.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = HBAAPI.pc

dist_sysconf_DATA = hba.conf
dist_noinst_DATA = HBAAPI.pc.in libHBAAPI.spec

clean-local:
	-if [ ${abs_srcdir} != ${abs_builddir} ]; then \
		rm -f hba.conf; \
	fi

# re-write hba.conf to edit out everything except for comments and blank lines
FORCE:
hba.conf: FORCE
	grep "^#\|^[[:space:]]*$$" ${srcdir}/$@ > $@.tmp
	mv $@.tmp $@