if HAVE_CHECK unittests = check-webservices else unittests = endif noinst_PROGRAMS = \ twitter-post \ $(unittests) common_ldflags = \ $(top_builddir)/libwebservices/libwebservices.la \ $(PACKAGE_LIBS) check_webservices_SOURCES = check-webservices.c check_webservices_LDADD = $(common_ldflags) $(CHECK_LIBS) twitter_post_SOURCES = twitter-post.c twitter_post_LDADD = $(common_ldflags) CLEANFILES = check-webservices.log INCLUDES = \ -I$(top_srcdir) \ $(PACKAGE_CFLAGS) \ $(CHECK_CFLAGS)