add heim_ipc_reply.defs
[heimdal.git] / lib / com_err / Makefile.am
blob3def3d0493ad81648c5b09c594250795c115d8ef
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 libcom_err_la_LIBADD = $(LIB_libintl)
16 bin_PROGRAMS = compile_et
18 include_HEADERS = com_err.h com_right.h
20 compile_et_SOURCES = compile_et.c compile_et.h parse.y lex.l lex.h
22 libcom_err_la_CPPFLAGS = $(ROKEN_RENAME) $(INCLUDE_libintl)
23 dist_libcom_err_la_SOURCES = error.c com_err.c roken_rename.h
25 if do_roken_rename
26 nodist_libcom_err_la_SOURCES = snprintf.c strlcpy.c
27 endif
29 $(compile_et_OBJECTS): parse.h parse.c ## XXX broken automake 1.4s
31 compile_et_LDADD = \
32         libcom_err.la \
33         $(LIB_roken) \
34         $(LEXLIB)
36 snprintf.c:
37         $(LN_S) $(srcdir)/../roken/snprintf.c .
38 strlcpy.c:
39         $(LN_S) $(srcdir)/../roken/strlcpy.c .
41 EXTRA_DIST = version-script.map