ACLOCAL_AMFLAGS = -I m4 dist_doc_DATA = README.md LICENSE example-song.js src/bytebeat.h src/bytebeat-gen.c lib_LTLIBRARIES = libbytebeat.la include_HEADERS = src/bytebeat.h libbytebeat_la_SOURCES = src/bytebeat.c src/bytebeat.h nodist_libbytebeat_la_SOURCES = src/bblib.h libbytebeat_la_CFLAGS = $(libs_CFLAGS) -iquote src/ libbytebeat_la_LIBADD = $(libs_LIBS) BUILT_SOURCES = src/bblib.h CLEANFILES = src/bblib.h src/bblib.h: Makefile src/bblibgen.c src/bblib.js $(CC_FOR_BUILD) $(srcdir)/src/bblibgen.c -o bblibgen$(BUILD_EXEEXT) ./bblibgen$(BUILD_EXEEXT) $(srcdir)/src/bblib.js $@ EXTRA_DIST = src/bblibgen.c src/bblib.js parse.js parse.sh example-song.js noinst_PROGRAMS = bytebeat-gen bytebeat_gen_SOURCES = src/bytebeat-gen.c src/bytebeat.h bytebeat_gen_LDADD = libbytebeat.la pkgconfig/libbytebeat.pc: mkdir -p pkgconfig printf "Name: $(PACKAGE_NAME)\\n" >$@ printf "Description:\\n" >>$@ printf "Version: $(PACKAGE_VERSION)\\n" >>$@ printf "Cflags: -I$(includedir)\\n" >>$@ printf "Libs: -L$(libdir) -lbytebeat\\n" >>$@ printf "Libs.private: $(libs_LIBS)\\n" >>$@ pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA = pkgconfig/libbytebeat.pc