1# Id 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 14libcom_err_la_LIBADD = $(LIB_libintl) 15 16noinst_PROGRAMS = compile_et 17 18include_HEADERS = com_err.h com_right.h 19 20compile_et_SOURCES = compile_et.c compile_et.h parse.y lex.l lex.h 21 22libcom_err_la_CPPFLAGS = $(ROKEN_RENAME) $(INCLUDE_libintl) 23dist_libcom_err_la_SOURCES = error.c com_err.c roken_rename.h 24 25if do_roken_rename 26nodist_libcom_err_la_SOURCES = snprintf.c strlcpy.c 27endif 28 29libcom_err_la_DEPENDENCIES = version-script.map 30 31$(compile_et_OBJECTS): parse.h parse.c ## XXX broken automake 1.4s 32 33compile_et_LDADD = \ 34 libcom_err.la \ 35 $(LIB_roken) \ 36 $(LEXLIB) 37 38snprintf.c: 39 $(LN_S) $(srcdir)/../roken/snprintf.c . 40strlcpy.c: 41 $(LN_S) $(srcdir)/../roken/strlcpy.c . 42 43EXTRA_DIST = \ 44 NTMakefile \ 45 com_err.3 \ 46 compile_et-version.rc \ 47 libcom_err-version.rc \ 48 libcom_err-exports.def \ 49 version-script.map 50