1# $Id: Makefile.am 21619 2007-07-17 07:34:00Z lha $ 2 3include $(top_srcdir)/Makefile.am.common 4 5YFLAGS = -d 6 7lib_LTLIBRARIES = libcom_err.la 8libcom_err_la_LDFLAGS = -version-info 2:3:1 9 10if versionscript 11libcom_err_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map 12endif 13 14bin_PROGRAMS = compile_et 15 16include_HEADERS = com_err.h com_right.h 17 18compile_et_SOURCES = compile_et.c compile_et.h parse.y lex.l lex.h 19 20libcom_err_la_CPPFLAGS = $(ROKEN_RENAME) 21dist_libcom_err_la_SOURCES = error.c com_err.c roken_rename.h 22 23if do_roken_rename 24nodist_libcom_err_la_SOURCES = snprintf.c strlcpy.c 25endif 26 27$(compile_et_OBJECTS): parse.h parse.c ## XXX broken automake 1.4s 28 29compile_et_LDADD = \ 30 libcom_err.la \ 31 $(LIB_roken) \ 32 $(LEXLIB) 33 34snprintf.c: 35 $(LN_S) $(srcdir)/../roken/snprintf.c . 36strlcpy.c: 37 $(LN_S) $(srcdir)/../roken/strlcpy.c . 38 39EXTRA_DIST = version-script.map 40