pty testing application
[heimdal.git] / lib / com_err / Makefile.am
blob461be152741f72805c2df239b18b541ae70cbdeb
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 YFLAGS = -d
7 lib_LTLIBRARIES = libcom_err.la
8 libcom_err_la_LDFLAGS = -version-info 2:3:1
10 if versionscript
11 libcom_err_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
12 endif
14 bin_PROGRAMS = compile_et
16 include_HEADERS = com_err.h com_right.h
18 compile_et_SOURCES = compile_et.c compile_et.h parse.y lex.l lex.h
20 libcom_err_la_CPPFLAGS = $(ROKEN_RENAME)
21 dist_libcom_err_la_SOURCES = error.c com_err.c roken_rename.h
23 if do_roken_rename
24 nodist_libcom_err_la_SOURCES = snprintf.c strlcpy.c
25 endif
27 $(compile_et_OBJECTS): parse.h parse.c ## XXX broken automake 1.4s
29 compile_et_LDADD = \
30         libcom_err.la \
31         $(LIB_roken) \
32         $(LEXLIB)
34 snprintf.c:
35         $(LN_S) $(srcdir)/../roken/snprintf.c .
36 strlcpy.c:
37         $(LN_S) $(srcdir)/../roken/strlcpy.c .
39 EXTRA_DIST = version-script.map