pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = \ libpwm.pc # this one gets installed to enable others to link against your library include_HEADERS = \ pwm.h lib_LTLIBRARIES = \ libpwm.la libpwm_la_LDFLAGS = \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ -Wl,--version-script=$(top_srcdir)/libpwm.sym libpwm_la_SOURCES = \ core.c \ sysfs.c if HAVE_PWMCDEV libpwm_la_SOURCES += cdev.c endif bin_PROGRAMS = \ pwmtest \ pwmtestperf pwmtest_SOURCES = \ pwmtest.c pwmtest_LDADD = libpwm.la pwmtestperf_SOURCES = \ pwmtestperf.c pwmtestperf_LDADD = libpwm.la ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} # clean files "configure" has built DISTCLEAN = \ config.log \ config.status \ config.h \ Makefile # clean all files the maintainer of the package has created MAINTAINERCLEANFILES = \ configure \ configure.scan \ config.guess \ config.sub \ install-sh \ ltmain.sh \ config.h.in~ \ config.h.in \ missing \ Makefile.in \ compile \ autoscan.log