sprinkle more windows files
[heimdal.git] / lib / com_err / Makefile.am
blobd9e751fdccb9f847c671c6b0ef54fa611ee36daa
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 = \
42         NTMakefile \
43         compile_et-version.rc \
44         libcom_err-version.rc \
45         libcom_err-exports.def \
46         version-script.map