freebsd-skq/crypto/heimdal/lib/sl/Makefile.am

52 lines
980 B
Makefile
Raw Normal View History

2011-10-05 07:23:29 +00:00
# $Id$
include $(top_srcdir)/Makefile.am.common
2001-06-21 02:12:07 +00:00
if do_roken_rename
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
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@
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)
# install these?
2011-10-05 07:23:29 +00:00
libexec_heimdal_PROGRAMS = slc
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
2011-10-05 07:23:29 +00:00
LDADD = libsl.la $(LIB_roken)
2011-10-05 07:23:29 +00:00
slc_LDADD = $(LEXLIB) $(LDADD)
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 .
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