2011-10-05 07:23:29 +00:00
|
|
|
# $Id$
|
2000-01-09 20:58:00 +00:00
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.am.common
|
|
|
|
|
2001-06-21 02:12:07 +00:00
|
|
|
if do_roken_rename
|
2002-02-19 15:46:56 +00:00
|
|
|
ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
|
2001-06-21 02:12:07 +00:00
|
|
|
endif
|
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
AM_CPPFLAGS += $(ROKEN_RENAME)
|
2001-06-21 02:12:07 +00:00
|
|
|
|
2000-01-09 20:58:00 +00:00
|
|
|
YFLAGS = -d
|
|
|
|
|
|
|
|
include_HEADERS = sl.h
|
|
|
|
|
2011-10-05 07:23:29 +00:00
|
|
|
lib_LTLIBRARIES = libsl.la
|
2008-05-07 13:39:42 +00:00
|
|
|
libsl_la_LDFLAGS = -version-info 2:1:2
|
2001-02-13 16:46:19 +00:00
|
|
|
|
|
|
|
libsl_la_LIBADD = @LIB_readline@
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
dist_libsl_la_SOURCES = sl_locl.h sl.c roken_rename.h
|
|
|
|
nodist_libsl_la_SOURCES = $(ES)
|
|
|
|
|
|
|
|
TESTS = test_sl
|
|
|
|
check_PROGRAMS = $(TESTS)
|
2000-01-09 20:58:00 +00:00
|
|
|
|
|
|
|
# install these?
|
|
|
|
|
2011-10-05 07:23:29 +00:00
|
|
|
libexec_heimdal_PROGRAMS = slc
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
slc_SOURCES = slc-gram.y slc-lex.l slc.h
|
|
|
|
|
2011-10-05 07:23:29 +00:00
|
|
|
CLEANFILES = snprintf.c strtok_r.c strdup.c strupr.c getprogname.c slc-lex.c
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2011-10-05 07:23:29 +00:00
|
|
|
LDADD = libsl.la $(LIB_roken)
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2011-10-05 07:23:29 +00:00
|
|
|
slc_LDADD = $(LEXLIB) $(LDADD)
|
2000-01-09 20:58:00 +00:00
|
|
|
|
|
|
|
strtok_r.c:
|
|
|
|
$(LN_S) $(srcdir)/../roken/strtok_r.c .
|
|
|
|
snprintf.c:
|
|
|
|
$(LN_S) $(srcdir)/../roken/snprintf.c .
|
2001-06-21 02:12:07 +00:00
|
|
|
strdup.c:
|
|
|
|
$(LN_S) $(srcdir)/../roken/strdup.c .
|
|
|
|
strupr.c:
|
|
|
|
$(LN_S) $(srcdir)/../roken/strupr.c .
|
2002-02-19 15:46:56 +00:00
|
|
|
getprogname.c:
|
|
|
|
$(LN_S) $(srcdir)/../roken/getprogname.c .
|
2008-05-07 13:39:42 +00:00
|
|
|
|
|
|
|
slc-lex.c: slc-gram.h
|
2011-10-05 07:23:29 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = NTMakefile
|