1*ae771770SStanislav Sedov# $Id$ 2b528cefcSMark Murray 3b528cefcSMark Murrayinclude $(top_srcdir)/Makefile.am.common 4b528cefcSMark Murray 5adb0ddaeSAssar Westerlundif do_roken_rename 64137ff4cSJacques VidrineES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c 7adb0ddaeSAssar Westerlundendif 8adb0ddaeSAssar Westerlund 9c19800e8SDoug RabsonAM_CPPFLAGS += $(ROKEN_RENAME) 10adb0ddaeSAssar Westerlund 11b528cefcSMark MurrayYFLAGS = -d 12b528cefcSMark Murray 13b528cefcSMark Murrayinclude_HEADERS = sl.h 14b528cefcSMark Murray 15*ae771770SStanislav Sedovlib_LTLIBRARIES = libsl.la 16c19800e8SDoug Rabsonlibsl_la_LDFLAGS = -version-info 2:1:2 175e9cd1aeSAssar Westerlund 185e9cd1aeSAssar Westerlundlibsl_la_LIBADD = @LIB_readline@ 19b528cefcSMark Murray 20c19800e8SDoug Rabsondist_libsl_la_SOURCES = sl_locl.h sl.c roken_rename.h 21c19800e8SDoug Rabsonnodist_libsl_la_SOURCES = $(ES) 22c19800e8SDoug Rabson 23c19800e8SDoug RabsonTESTS = test_sl 24c19800e8SDoug Rabsoncheck_PROGRAMS = $(TESTS) 25b528cefcSMark Murray 26b528cefcSMark Murray# install these? 27b528cefcSMark Murray 28*ae771770SStanislav Sedovlibexec_heimdal_PROGRAMS = slc 29b528cefcSMark Murray 30c19800e8SDoug Rabsonslc_SOURCES = slc-gram.y slc-lex.l slc.h 31c19800e8SDoug Rabson 32*ae771770SStanislav SedovCLEANFILES = snprintf.c strtok_r.c strdup.c strupr.c getprogname.c slc-lex.c 33b528cefcSMark Murray 34*ae771770SStanislav SedovLDADD = libsl.la $(LIB_roken) 35b528cefcSMark Murray 36*ae771770SStanislav Sedovslc_LDADD = $(LEXLIB) $(LDADD) 37b528cefcSMark Murray 38b528cefcSMark Murraystrtok_r.c: 39b528cefcSMark Murray $(LN_S) $(srcdir)/../roken/strtok_r.c . 40b528cefcSMark Murraysnprintf.c: 41b528cefcSMark Murray $(LN_S) $(srcdir)/../roken/snprintf.c . 42adb0ddaeSAssar Westerlundstrdup.c: 43adb0ddaeSAssar Westerlund $(LN_S) $(srcdir)/../roken/strdup.c . 44adb0ddaeSAssar Westerlundstrupr.c: 45adb0ddaeSAssar Westerlund $(LN_S) $(srcdir)/../roken/strupr.c . 464137ff4cSJacques Vidrinegetprogname.c: 474137ff4cSJacques Vidrine $(LN_S) $(srcdir)/../roken/getprogname.c . 48c19800e8SDoug Rabson 49c19800e8SDoug Rabsonslc-lex.c: slc-gram.h 50*ae771770SStanislav Sedov 51*ae771770SStanislav SedovEXTRA_DIST = NTMakefile 52