]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - crypto/heimdal/lib/com_err/Makefile.am
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / crypto / heimdal / lib / com_err / Makefile.am
1 # $Id$
2
3 include $(top_srcdir)/Makefile.am.common
4
5 YFLAGS = -d
6
7 lib_LTLIBRARIES = libcom_err.la
8 libcom_err_la_LDFLAGS = -version-info 2:3:1
9
10 if versionscript
11 libcom_err_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
12 endif
13
14 libcom_err_la_LIBADD = $(LIB_libintl)
15
16 bin_PROGRAMS = compile_et
17
18 include_HEADERS = com_err.h com_right.h
19
20 compile_et_SOURCES = compile_et.c compile_et.h parse.y lex.l lex.h
21
22 libcom_err_la_CPPFLAGS = $(ROKEN_RENAME) $(INCLUDE_libintl)
23 dist_libcom_err_la_SOURCES = error.c com_err.c roken_rename.h
24
25 if do_roken_rename
26 nodist_libcom_err_la_SOURCES = snprintf.c strlcpy.c
27 endif
28
29 libcom_err_la_DEPENDENCIES = version-script.map
30
31 $(compile_et_OBJECTS): parse.h parse.c ## XXX broken automake 1.4s
32
33 compile_et_LDADD = \
34         libcom_err.la \
35         $(LIB_roken) \
36         $(LEXLIB)
37
38 snprintf.c:
39         $(LN_S) $(srcdir)/../roken/snprintf.c .
40 strlcpy.c:
41         $(LN_S) $(srcdir)/../roken/strlcpy.c .
42
43 EXTRA_DIST = \
44         NTMakefile \
45         compile_et-version.rc \
46         libcom_err-version.rc \
47         libcom_err-exports.def \
48         version-script.map