No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / lib / com_err / Makefile.am
blob997e1d2c2392b3dfe5b1dee5151b9edec4197d2a
1 # $Heimdal: Makefile.am 21619 2007-07-17 07:34:00Z lha $
2 # $NetBSD$
4 include $(top_srcdir)/Makefile.am.common
6 YFLAGS = -d
8 lib_LTLIBRARIES = libcom_err.la
9 libcom_err_la_LDFLAGS = -version-info 2:3:1
11 if versionscript
12 libcom_err_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
13 endif
15 bin_PROGRAMS = compile_et
17 include_HEADERS = com_err.h com_right.h
19 compile_et_SOURCES = compile_et.c compile_et.h parse.y lex.l lex.h
21 libcom_err_la_CPPFLAGS = $(ROKEN_RENAME)
22 dist_libcom_err_la_SOURCES = error.c com_err.c roken_rename.h
24 if do_roken_rename
25 nodist_libcom_err_la_SOURCES = snprintf.c strlcpy.c
26 endif
28 $(compile_et_OBJECTS): parse.h parse.c ## XXX broken automake 1.4s
30 compile_et_LDADD = \
31         libcom_err.la \
32         $(LIB_roken) \
33         $(LEXLIB)
35 snprintf.c:
36         $(LN_S) $(srcdir)/../roken/snprintf.c .
37 strlcpy.c:
38         $(LN_S) $(srcdir)/../roken/strlcpy.c .
40 EXTRA_DIST = version-script.map