lib_LTLIBRARIES = libreiserfscore.la reiserfsdir = $(includedir)/reiserfs reiserfs_HEADERS = reiserfs_err.h # compile_et writes reiserfs_err.c AND reiserfs_err.h in one pass. Keep the # recipe on a single target: when one recipe is shared by two targets, parallel # make can run it concurrently for both, and one run deletes the .c while # another job is still compiling it ("no input files"). reiserfs_err.h only # depends on reiserfs_err.c, so the recipe always runs exactly once. reiserfs_err.c: $(srcdir)/reiserfs_err.et $(RM) -f reiserfs_err.c reiserfs_err.h compile_et $(srcdir)/reiserfs_err.et reiserfs_err.h: reiserfs_err.c BUILT_SOURCES = reiserfs_err.h reiserfs_err.c CLEANFILES = reiserfs_err.h reiserfs_err.c EXTRA_DIST = reiserfs_err.et libreiserfscore_la_SOURCES = do_balan.c fix_node.c hashes.c ibalance.c \ lbalance.c prints.c stree.c node_formats.c \ reiserfslib.c bitmap.c journal.c xattr.c \ includes.h reiserfs_err.c libreiserfscore_la_LIBADD = ../lib/libmisc.la -lcom_err pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = reiserfscore.pc