3 include $(top_srcdir)/Makefile.am.common
6 ES = strtok_r.c snprintf.c strdup.c strupr.c
9 AM_CPPFLAGS += $(ROKEN_RENAME)
11 YFLAGS = -d -o slc-gram.c
12 LFLAGS = @FLEXNOUNPUTARGS@
14 include_HEADERS = sl.h
16 lib_LTLIBRARIES = libsl.la
17 libsl_la_LDFLAGS = -version-info 2:1:2
19 libsl_la_LIBADD = @LIB_readline@
21 dist_libsl_la_SOURCES = sl_locl.h sl.c roken_rename.h
22 nodist_libsl_la_SOURCES = $(ES)
25 check_PROGRAMS = $(TESTS)
29 libexec_heimdal_PROGRAMS = slc
31 slc_SOURCES = slc-gram.y slc-lex.l slc.h
33 CLEANFILES = snprintf.c strtok_r.c strdup.c strupr.c slc-lex.c
35 LDADD = libsl.la $(LIB_roken)
37 slc_LDADD = $(LEXLIB) $(LDADD)
40 $(LN_S) $(srcdir)/../roken/strtok_r.c .
42 $(LN_S) $(srcdir)/../roken/snprintf.c .
44 $(LN_S) $(srcdir)/../roken/strdup.c .
46 $(LN_S) $(srcdir)/../roken/strupr.c .
50 EXTRA_DIST = NTMakefile