1# $Id: Makefile.am,v 1.15 2000/01/06 21:52:20 assar Exp $ 2 3include $(top_srcdir)/Makefile.am.common 4 5YFLAGS = -d 6 7include_HEADERS = sl.h 8 9lib_LTLIBRARIES = libsl.la libss.la 10libsl_la_LDFLAGS = -version-info 0:1:0 11libss_la_LDFLAGS = -version-info 0:1:0 12 13RENAME_SRC = roken_rename.h strtok_r.c snprintf.c 14 15libsl_la_SOURCES = sl_locl.h sl.c 16libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h 17 18EXTRA_libsl_la_SOURCES = strtok_r.c snprintf.c roken_rename.h 19 20# install these? 21 22noinst_PROGRAMS = mk_cmds 23 24mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l 25 26RENAME_mk_cmds_SRC = roken_rename.h snprintf.c 27 28EXTRA_mk_cmds_SOURCES = snprintf.c roken_rename.h 29 30ssincludedir = $(includedir)/ss 31ssinclude_HEADERS = ss.h 32 33CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c 34 35$(mk_cmds_OBJECTS): parse.h 36 37LDADD = \ 38 $(LIB_roken) \ 39 $(LEXLIB) 40 41strtok_r.c: 42 $(LN_S) $(srcdir)/../roken/strtok_r.c . 43snprintf.c: 44 $(LN_S) $(srcdir)/../roken/snprintf.c . 45