2008-05-08 10:58:50 +00:00
|
|
|
# $Id: Makefile.am 21619 2007-07-17 07:34:00Z lha $
|
1999-09-01 20:02:46 +00:00
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.am.common
|
|
|
|
|
|
|
|
YFLAGS = -d
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libcom_err.la
|
2008-05-08 10:58:50 +00:00
|
|
|
libcom_err_la_LDFLAGS = -version-info 2:3:1
|
|
|
|
|
|
|
|
if versionscript
|
|
|
|
libcom_err_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
|
|
|
|
endif
|
1999-09-01 20:02:46 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = compile_et
|
|
|
|
|
|
|
|
include_HEADERS = com_err.h com_right.h
|
|
|
|
|
2008-05-08 10:58:50 +00:00
|
|
|
compile_et_SOURCES = compile_et.c compile_et.h parse.y lex.l lex.h
|
1999-09-01 20:02:46 +00:00
|
|
|
|
2008-05-08 10:58:50 +00:00
|
|
|
libcom_err_la_CPPFLAGS = $(ROKEN_RENAME)
|
|
|
|
dist_libcom_err_la_SOURCES = error.c com_err.c roken_rename.h
|
1999-09-01 20:02:46 +00:00
|
|
|
|
2008-05-08 10:58:50 +00:00
|
|
|
if do_roken_rename
|
|
|
|
nodist_libcom_err_la_SOURCES = snprintf.c strlcpy.c
|
|
|
|
endif
|
1999-09-01 20:02:46 +00:00
|
|
|
|
2004-04-03 21:08:58 +00:00
|
|
|
$(compile_et_OBJECTS): parse.h parse.c ## XXX broken automake 1.4s
|
1999-09-01 20:02:46 +00:00
|
|
|
|
|
|
|
compile_et_LDADD = \
|
2008-05-08 10:58:50 +00:00
|
|
|
libcom_err.la \
|
1999-09-01 20:02:46 +00:00
|
|
|
$(LIB_roken) \
|
|
|
|
$(LEXLIB)
|
2008-05-08 10:58:50 +00:00
|
|
|
|
|
|
|
snprintf.c:
|
|
|
|
$(LN_S) $(srcdir)/../roken/snprintf.c .
|
|
|
|
strlcpy.c:
|
|
|
|
$(LN_S) $(srcdir)/../roken/strlcpy.c .
|
|
|
|
|
|
|
|
EXTRA_DIST = version-script.map
|