2002-08-30 21:23:27 +00:00
|
|
|
# $Id: Makefile.am,v 1.29 2002/08/13 13:48:17 joda Exp $
|
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
|
|
|
|
|
2002-08-30 21:23:27 +00:00
|
|
|
INCLUDES += $(ROKEN_RENAME)
|
2001-06-21 02:12:07 +00:00
|
|
|
|
2000-01-09 20:58:00 +00:00
|
|
|
YFLAGS = -d
|
|
|
|
|
|
|
|
include_HEADERS = sl.h
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libsl.la libss.la
|
2001-06-21 02:12:07 +00:00
|
|
|
libsl_la_LDFLAGS = -version-info 1:2:1
|
|
|
|
libss_la_LDFLAGS = -version-info 1:4:1
|
2001-02-13 16:46:19 +00:00
|
|
|
|
|
|
|
libsl_la_LIBADD = @LIB_readline@
|
2002-02-19 15:46:56 +00:00
|
|
|
libss_la_LIBADD = @LIB_readline@ @LIB_com_err@
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2001-06-21 02:12:07 +00:00
|
|
|
libsl_la_SOURCES = sl_locl.h sl.c $(ES)
|
2000-01-09 20:58:00 +00:00
|
|
|
libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h
|
|
|
|
|
|
|
|
# install these?
|
|
|
|
|
2001-02-13 16:46:19 +00:00
|
|
|
bin_PROGRAMS = mk_cmds
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2002-08-30 21:23:27 +00:00
|
|
|
mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l
|
|
|
|
mk_cmds_LDADD = libsl.la $(LDADD)
|
2000-01-09 20:58:00 +00:00
|
|
|
|
|
|
|
ssincludedir = $(includedir)/ss
|
|
|
|
ssinclude_HEADERS = ss.h
|
|
|
|
|
2002-02-19 15:46:56 +00:00
|
|
|
CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c strdup.c strupr.c getprogname.c
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2002-02-19 15:46:56 +00:00
|
|
|
$(mk_cmds_OBJECTS): parse.h parse.c
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2001-02-13 16:46:19 +00:00
|
|
|
LDADD = \
|
|
|
|
$(LIB_roken) \
|
2000-01-09 20:58:00 +00:00
|
|
|
$(LEXLIB)
|
|
|
|
|
|
|
|
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 .
|