1 # $Heimdal: Makefile.am 21625 2007-07-17 07:48:26Z lha $
4 include $(top_srcdir)/Makefile.am.common
7 ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
10 AM_CPPFLAGS += $(ROKEN_RENAME)
14 include_HEADERS = sl.h
16 lib_LTLIBRARIES = libsl.la libss.la
17 libsl_la_LDFLAGS = -version-info 2:1:2
18 libss_la_LDFLAGS = -version-info 1:6:1
20 libsl_la_LIBADD = @LIB_readline@
21 libss_la_LIBADD = @LIB_readline@ @LIB_com_err@
23 dist_libsl_la_SOURCES = sl_locl.h sl.c roken_rename.h
24 nodist_libsl_la_SOURCES = $(ES)
25 dist_libss_la_SOURCES = $(dist_libsl_la_SOURCES) ss.c ss.h
26 nodist_libss_la_SOURCES = $(ES)
29 check_PROGRAMS = $(TESTS)
33 bin_PROGRAMS = mk_cmds
36 mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l
37 mk_cmds_LDADD = libsl.la $(LDADD)
39 slc_SOURCES = slc-gram.y slc-lex.l slc.h
41 ssincludedir = $(includedir)/ss
42 ssinclude_HEADERS = ss.h
44 CLEANFILES = snprintf.c strtok_r.c strdup.c strupr.c getprogname.c
46 $(mk_cmds_OBJECTS): parse.h parse.c
54 $(LN_S) $(srcdir)/../roken/strtok_r.c .
56 $(LN_S) $(srcdir)/../roken/snprintf.c .
58 $(LN_S) $(srcdir)/../roken/strdup.c .
60 $(LN_S) $(srcdir)/../roken/strupr.c .
62 $(LN_S) $(srcdir)/../roken/getprogname.c .