SUBDIRS =

INCLUDES = @FW_PKGCONFIG_PREREQS_CFLAGS@ 

myincludedir = $(includedir)/@PACKAGE_NAME@-@FW_PACKAGE_MAJOR_VERSION@/

myinclude_HEADERS =					\
  @PACKAGE@.h						\
  $(filter-out @PACKAGE@.h config.h, $(wildcard *.h))

@PACKAGE@.h: $(filter-out @PACKAGE@.h config.h, $(wildcard *.h))
	@(echo "/* Do not edit this file, it is autogenerated. */";	  \
	  echo "";							  \
	  for x in *.h;							  \
	    do								  \
	      if test "$$x" != "config.h" && test "$$x" != "@PACKAGE@.h"; \
		then							  \
		  echo "#include<$$x>";  				  \
		fi							  \
	    done) > $@

CLEANFILES =		\
  @PACKAGE@.h		\
  $(wildcard *.bb)	\
  $(wildcard *.bbg)	\
  $(wildcard *.da)	\
  $(wildcard *.gcov)

MAINTAINERCLEANFILES =	\
  Makefile.am		\
  Makefile.in

EXTRA_DIST =					\
  $(filter-out @PACKAGE@.h, $(wildcard *.h))

include $(top_srcdir)/src/Makefile.am.local
