|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@SET_MAKE@ |
|
|
|
|
|
|
|
VPATH = @srcdir@ |
|
pkgdatadir = $(datadir)/@PACKAGE@ |
|
pkgincludedir = $(includedir)/@PACKAGE@ |
|
pkglibdir = $(libdir)/@PACKAGE@ |
|
pkglibexecdir = $(libexecdir)/@PACKAGE@ |
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
|
install_sh_DATA = $(install_sh) -c -m 644 |
|
install_sh_PROGRAM = $(install_sh) -c |
|
install_sh_SCRIPT = $(install_sh) -c |
|
INSTALL_HEADER = $(INSTALL_DATA) |
|
transform = $(program_transform_name) |
|
NORMAL_INSTALL = : |
|
PRE_INSTALL = : |
|
POST_INSTALL = : |
|
NORMAL_UNINSTALL = : |
|
PRE_UNINSTALL = : |
|
POST_UNINSTALL = : |
|
build_triplet = @build@ |
|
host_triplet = @host@ |
|
bin_PROGRAMS = crf_learn$(EXEEXT) crf_test$(EXEEXT) |
|
subdir = . |
|
DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \ |
|
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \ |
|
$(srcdir)/Makefile.msvc.in $(srcdir)/config.h.in \ |
|
$(top_srcdir)/configure $(top_srcdir)/swig/version.h.in \ |
|
AUTHORS COPYING ChangeLog INSTALL NEWS config.guess config.sub \ |
|
depcomp install-sh ltmain.sh missing mkinstalldirs |
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
|
am__aclocal_m4_deps = $(top_srcdir)/configure.in |
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
|
$(ACLOCAL_M4) |
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
|
configure.lineno config.status.lineno |
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
|
CONFIG_HEADER = config.h |
|
CONFIG_CLEAN_FILES = Makefile.msvc swig/version.h |
|
CONFIG_CLEAN_VPATH_FILES = |
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
|
am__vpath_adj = case $$p in \ |
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
|
*) f=$$p;; \ |
|
esac; |
|
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
|
am__install_max = 40 |
|
am__nobase_strip_setup = \ |
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
|
am__nobase_strip = \ |
|
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
|
am__nobase_list = $(am__nobase_strip_setup); \ |
|
for p in $$list; do echo "$$p $$p"; done | \ |
|
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ |
|
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ |
|
if (++n[$$2] == $(am__install_max)) \ |
|
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ |
|
END { for (dir in files) print dir, files[dir] }' |
|
am__base_list = \ |
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
|
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ |
|
"$(DESTDIR)$(includedir)" |
|
LTLIBRARIES = $(lib_LTLIBRARIES) |
|
libcrfpp_la_LIBADD = |
|
am_libcrfpp_la_OBJECTS = libcrfpp.lo lbfgs.lo param.lo encoder.lo \ |
|
feature.lo feature_cache.lo feature_index.lo node.lo path.lo \ |
|
tagger.lo |
|
libcrfpp_la_OBJECTS = $(am_libcrfpp_la_OBJECTS) |
|
PROGRAMS = $(bin_PROGRAMS) |
|
am_crf_learn_OBJECTS = crf_learn.$(OBJEXT) |
|
crf_learn_OBJECTS = $(am_crf_learn_OBJECTS) |
|
crf_learn_DEPENDENCIES = libcrfpp.la |
|
am_crf_test_OBJECTS = crf_test.$(OBJEXT) |
|
crf_test_OBJECTS = $(am_crf_test_OBJECTS) |
|
crf_test_DEPENDENCIES = libcrfpp.la |
|
DEFAULT_INCLUDES = -I.@am__isrc@ |
|
depcomp = |
|
am__depfiles_maybe = |
|
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
|
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
|
--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
|
CXXLD = $(CXX) |
|
CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
|
--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ |
|
$(LDFLAGS) -o $@ |
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
|
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
CCLD = $(CC) |
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ |
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ |
|
$(LDFLAGS) -o $@ |
|
SOURCES = $(libcrfpp_la_SOURCES) $(crf_learn_SOURCES) \ |
|
$(crf_test_SOURCES) |
|
DIST_SOURCES = $(libcrfpp_la_SOURCES) $(crf_learn_SOURCES) \ |
|
$(crf_test_SOURCES) |
|
HEADERS = $(include_HEADERS) |
|
ETAGS = etags |
|
CTAGS = ctags |
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
|
distdir = $(PACKAGE)-$(VERSION) |
|
top_distdir = $(distdir) |
|
am__remove_distdir = \ |
|
{ test ! -d "$(distdir)" \ |
|
|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
|
&& rm -fr "$(distdir)"; }; } |
|
DIST_ARCHIVES = $(distdir).tar.gz |
|
GZIP_ENV = --best |
|
distuninstallcheck_listfiles = find . -type f -print |
|
distcleancheck_listfiles = find . -type f -print |
|
ACLOCAL = @ACLOCAL@ |
|
AMTAR = @AMTAR@ |
|
AR = @AR@ |
|
AUTOCONF = @AUTOCONF@ |
|
AUTOHEADER = @AUTOHEADER@ |
|
AUTOMAKE = @AUTOMAKE@ |
|
AWK = @AWK@ |
|
CC = @CC@ |
|
CCDEPMODE = @CCDEPMODE@ |
|
CFLAGS = @CFLAGS@ |
|
CPP = @CPP@ |
|
CPPFLAGS = @CPPFLAGS@ |
|
CXX = @CXX@ |
|
CXXCPP = @CXXCPP@ |
|
CXXDEPMODE = @CXXDEPMODE@ |
|
CXXFLAGS = @CXXFLAGS@ |
|
CYGPATH_W = @CYGPATH_W@ |
|
DEFS = @DEFS@ |
|
DEPDIR = @DEPDIR@ |
|
DSYMUTIL = @DSYMUTIL@ |
|
DUMPBIN = @DUMPBIN@ |
|
ECHO_C = @ECHO_C@ |
|
ECHO_N = @ECHO_N@ |
|
ECHO_T = @ECHO_T@ |
|
EGREP = @EGREP@ |
|
EXEEXT = @EXEEXT@ |
|
FGREP = @FGREP@ |
|
GREP = @GREP@ |
|
INSTALL = @INSTALL@ |
|
INSTALL_DATA = @INSTALL_DATA@ |
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
|
LD = @LD@ |
|
LDFLAGS = @LDFLAGS@ |
|
LIBOBJS = @LIBOBJS@ |
|
LIBS = @LIBS@ |
|
LIBTOOL = @LIBTOOL@ |
|
LIPO = @LIPO@ |
|
LN_S = @LN_S@ |
|
LTLIBOBJS = @LTLIBOBJS@ |
|
MAKEINFO = @MAKEINFO@ |
|
MKDIR_P = @MKDIR_P@ |
|
NM = @NM@ |
|
NMEDIT = @NMEDIT@ |
|
OBJDUMP = @OBJDUMP@ |
|
OBJEXT = @OBJEXT@ |
|
OTOOL = @OTOOL@ |
|
OTOOL64 = @OTOOL64@ |
|
PACKAGE = @PACKAGE@ |
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
|
PACKAGE_NAME = @PACKAGE_NAME@ |
|
PACKAGE_STRING = @PACKAGE_STRING@ |
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
|
PACKAGE_URL = @PACKAGE_URL@ |
|
PACKAGE_VERSION = @PACKAGE_VERSION@ |
|
PATH_SEPARATOR = @PATH_SEPARATOR@ |
|
RANLIB = @RANLIB@ |
|
SED = @SED@ |
|
SET_MAKE = @SET_MAKE@ |
|
SHELL = @SHELL@ |
|
STRIP = @STRIP@ |
|
VERSION = @VERSION@ |
|
abs_builddir = @abs_builddir@ |
|
abs_srcdir = @abs_srcdir@ |
|
abs_top_builddir = @abs_top_builddir@ |
|
abs_top_srcdir = @abs_top_srcdir@ |
|
ac_ct_CC = @ac_ct_CC@ |
|
ac_ct_CXX = @ac_ct_CXX@ |
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
|
am__include = @am__include@ |
|
am__leading_dot = @am__leading_dot@ |
|
am__quote = @am__quote@ |
|
am__tar = @am__tar@ |
|
am__untar = @am__untar@ |
|
bindir = @bindir@ |
|
build = @build@ |
|
build_alias = @build_alias@ |
|
build_cpu = @build_cpu@ |
|
build_os = @build_os@ |
|
build_vendor = @build_vendor@ |
|
builddir = @builddir@ |
|
datadir = @datadir@ |
|
datarootdir = @datarootdir@ |
|
docdir = @docdir@ |
|
dvidir = @dvidir@ |
|
exec_prefix = @exec_prefix@ |
|
host = @host@ |
|
host_alias = @host_alias@ |
|
host_cpu = @host_cpu@ |
|
host_os = @host_os@ |
|
host_vendor = @host_vendor@ |
|
htmldir = @htmldir@ |
|
includedir = @includedir@ |
|
infodir = @infodir@ |
|
install_sh = @install_sh@ |
|
libdir = @libdir@ |
|
libexecdir = @libexecdir@ |
|
localedir = @localedir@ |
|
localstatedir = @localstatedir@ |
|
lt_ECHO = @lt_ECHO@ |
|
mandir = @mandir@ |
|
mkdir_p = @mkdir_p@ |
|
oldincludedir = @oldincludedir@ |
|
pdfdir = @pdfdir@ |
|
prefix = @prefix@ |
|
program_transform_name = @program_transform_name@ |
|
psdir = @psdir@ |
|
sbindir = @sbindir@ |
|
sharedstatedir = @sharedstatedir@ |
|
srcdir = @srcdir@ |
|
sysconfdir = @sysconfdir@ |
|
target_alias = @target_alias@ |
|
top_build_prefix = @top_build_prefix@ |
|
top_builddir = @top_builddir@ |
|
top_srcdir = @top_srcdir@ |
|
EXTRA_DIST = README Makefile.msvc.in merge-models.pl |
|
EXTRA_DIRS = doc example sdk perl python ruby java swig |
|
AUTOMAKE_OPTIONS = no-dependencies |
|
lib_LTLIBRARIES = libcrfpp.la |
|
libcrfpp_la_SOURCES = crfpp.h thread.h libcrfpp.cpp lbfgs.cpp scoped_ptr.h param.cpp param.h encoder.cpp feature.cpp stream_wrapper.h \ |
|
feature_cache.cpp feature_index.cpp node.cpp path.cpp tagger.cpp \ |
|
common.h darts.h encoder.h feature_cache.h feature_index.h \ |
|
freelist.h lbfgs.h mmap.h node.h path.h tagger.h timer.h |
|
|
|
include_HEADERS = crfpp.h |
|
crf_learn_SOURCES = crf_learn.cpp |
|
crf_learn_LDADD = libcrfpp.la |
|
crf_test_SOURCES = crf_test.cpp |
|
crf_test_LDADD = libcrfpp.la |
|
all: config.h |
|
$(MAKE) $(AM_MAKEFLAGS) all-am |
|
|
|
.SUFFIXES: |
|
.SUFFIXES: .cpp .lo .o .obj |
|
am--refresh: |
|
@: |
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
|
@for dep in $?; do \ |
|
case '$(am__configure_deps)' in \ |
|
*$$dep*) \ |
|
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
|
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
|
&& exit 0; \ |
|
exit 1;; \ |
|
esac; \ |
|
done; \ |
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
|
$(am__cd) $(top_srcdir) && \ |
|
$(AUTOMAKE) --gnu Makefile |
|
.PRECIOUS: Makefile |
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
|
@case '$?' in \ |
|
*config.status*) \ |
|
echo ' $(SHELL) ./config.status'; \ |
|
$(SHELL) ./config.status;; \ |
|
*) \ |
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
|
esac; |
|
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
|
$(SHELL) ./config.status --recheck |
|
|
|
$(top_srcdir)/configure: $(am__configure_deps) |
|
$(am__cd) $(srcdir) && $(AUTOCONF) |
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
|
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
|
$(am__aclocal_m4_deps): |
|
|
|
config.h: stamp-h1 |
|
@if test ! -f $@; then \ |
|
rm -f stamp-h1; \ |
|
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ |
|
else :; fi |
|
|
|
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
|
@rm -f stamp-h1 |
|
cd $(top_builddir) && $(SHELL) ./config.status config.h |
|
$(srcdir)/config.h.in: $(am__configure_deps) |
|
($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
|
rm -f stamp-h1 |
|
touch $@ |
|
|
|
distclean-hdr: |
|
-rm -f config.h stamp-h1 |
|
Makefile.msvc: $(top_builddir)/config.status $(srcdir)/Makefile.msvc.in |
|
cd $(top_builddir) && $(SHELL) ./config.status $@ |
|
swig/version.h: $(top_builddir)/config.status $(top_srcdir)/swig/version.h.in |
|
cd $(top_builddir) && $(SHELL) ./config.status $@ |
|
install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
|
@$(NORMAL_INSTALL) |
|
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" |
|
@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ |
|
list2=; for p in $$list; do \ |
|
if test -f $$p; then \ |
|
list2="$$list2 $$p"; \ |
|
else :; fi; \ |
|
done; \ |
|
test -z "$$list2" || { \ |
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ |
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ |
|
} |
|
|
|
uninstall-libLTLIBRARIES: |
|
@$(NORMAL_UNINSTALL) |
|
@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ |
|
for p in $$list; do \ |
|
$(am__strip_dir) \ |
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ |
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ |
|
done |
|
|
|
clean-libLTLIBRARIES: |
|
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ |
|
test "$$dir" != "$$p" || dir=.; \ |
|
echo "rm -f \"$${dir}/so_locations\""; \ |
|
rm -f "$${dir}/so_locations"; \ |
|
done |
|
libcrfpp.la: $(libcrfpp_la_OBJECTS) $(libcrfpp_la_DEPENDENCIES) |
|
$(CXXLINK) -rpath $(libdir) $(libcrfpp_la_OBJECTS) $(libcrfpp_la_LIBADD) $(LIBS) |
|
install-binPROGRAMS: $(bin_PROGRAMS) |
|
@$(NORMAL_INSTALL) |
|
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" |
|
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
|
for p in $$list; do echo "$$p $$p"; done | \ |
|
sed 's/$(EXEEXT)$$//' | \ |
|
while read p p1; do if test -f $$p || test -f $$p1; \ |
|
then echo "$$p"; echo "$$p"; else :; fi; \ |
|
done | \ |
|
sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ |
|
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
|
sed 'N;N;N;s,\n, ,g' | \ |
|
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
|
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ |
|
if ($$2 == $$4) files[d] = files[d] " " $$1; \ |
|
else { print "f", $$3 "/" $$4, $$1; } } \ |
|
END { for (d in files) print "f", d, files[d] }' | \ |
|
while read type dir files; do \ |
|
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ |
|
test -z "$$files" || { \ |
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ |
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ |
|
} \ |
|
; done |
|
|
|
uninstall-binPROGRAMS: |
|
@$(NORMAL_UNINSTALL) |
|
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
|
files=`for p in $$list; do echo "$$p"; done | \ |
|
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
|
-e 's/$$/$(EXEEXT)/' `; \ |
|
test -n "$$list" || exit 0; \ |
|
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ |
|
cd "$(DESTDIR)$(bindir)" && rm -f $$files |
|
|
|
clean-binPROGRAMS: |
|
@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ |
|
echo " rm -f" $$list; \ |
|
rm -f $$list || exit $$?; \ |
|
test -n "$(EXEEXT)" || exit 0; \ |
|
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ |
|
echo " rm -f" $$list; \ |
|
rm -f $$list |
|
crf_learn$(EXEEXT): $(crf_learn_OBJECTS) $(crf_learn_DEPENDENCIES) |
|
@rm -f crf_learn$(EXEEXT) |
|
$(CXXLINK) $(crf_learn_OBJECTS) $(crf_learn_LDADD) $(LIBS) |
|
crf_test$(EXEEXT): $(crf_test_OBJECTS) $(crf_test_DEPENDENCIES) |
|
@rm -f crf_test$(EXEEXT) |
|
$(CXXLINK) $(crf_test_OBJECTS) $(crf_test_LDADD) $(LIBS) |
|
|
|
mostlyclean-compile: |
|
-rm -f *.$(OBJEXT) |
|
|
|
distclean-compile: |
|
-rm -f *.tab.c |
|
|
|
.cpp.o: |
|
$(CXXCOMPILE) -c -o $@ $< |
|
|
|
.cpp.obj: |
|
$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
|
|
|
.cpp.lo: |
|
$(LTCXXCOMPILE) -c -o $@ $< |
|
|
|
mostlyclean-libtool: |
|
-rm -f *.lo |
|
|
|
clean-libtool: |
|
-rm -rf .libs _libs |
|
|
|
distclean-libtool: |
|
-rm -f libtool config.lt |
|
install-includeHEADERS: $(include_HEADERS) |
|
@$(NORMAL_INSTALL) |
|
test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" |
|
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ |
|
for p in $$list; do \ |
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
|
echo "$$d$$p"; \ |
|
done | $(am__base_list) | \ |
|
while read files; do \ |
|
echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ |
|
$(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ |
|
done |
|
|
|
uninstall-includeHEADERS: |
|
@$(NORMAL_UNINSTALL) |
|
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ |
|
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
|
test -n "$$files" || exit 0; \ |
|
echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ |
|
cd "$(DESTDIR)$(includedir)" && rm -f $$files |
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
|
unique=`for i in $$list; do \ |
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
|
done | \ |
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
|
END { if (nonempty) { for (i in files) print i; }; }'`; \ |
|
mkid -fID $$unique |
|
tags: TAGS |
|
|
|
TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
|
$(TAGS_FILES) $(LISP) |
|
set x; \ |
|
here=`pwd`; \ |
|
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
|
unique=`for i in $$list; do \ |
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
|
done | \ |
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
|
END { if (nonempty) { for (i in files) print i; }; }'`; \ |
|
shift; \ |
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
|
test -n "$$unique" || unique=$$empty_fix; \ |
|
if test $$ |
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
|
"$$@" $$unique; \ |
|
else \ |
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
|
$$unique; \ |
|
fi; \ |
|
fi |
|
ctags: CTAGS |
|
CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
|
$(TAGS_FILES) $(LISP) |
|
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
|
unique=`for i in $$list; do \ |
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
|
done | \ |
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
|
END { if (nonempty) { for (i in files) print i; }; }'`; \ |
|
test -z "$(CTAGS_ARGS)$$unique" \ |
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
|
$$unique |
|
|
|
GTAGS: |
|
here=`$(am__cd) $(top_builddir) && pwd` \ |
|
&& $(am__cd) $(top_srcdir) \ |
|
&& gtags -i $(GTAGS_ARGS) "$$here" |
|
|
|
distclean-tags: |
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
|
|
|
distdir: $(DISTFILES) |
|
$(am__remove_distdir) |
|
test -d "$(distdir)" || mkdir "$(distdir)" |
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
|
list='$(DISTFILES)'; \ |
|
dist_files=`for file in $$list; do echo $$file; done | \ |
|
sed -e "s|^$$srcdirstrip/||;t" \ |
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
|
case $$dist_files in \ |
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \ |
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
|
sort -u` ;; \ |
|
esac; \ |
|
for file in $$dist_files; do \ |
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
|
if test -d $$d/$$file; then \ |
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
|
if test -d "$(distdir)/$$file"; then \ |
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
|
fi; \ |
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
|
fi; \ |
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
|
else \ |
|
test -f "$(distdir)/$$file" \ |
|
|| cp -p $$d/$$file "$(distdir)/$$file" \ |
|
|| exit 1; \ |
|
fi; \ |
|
done |
|
$(MAKE) $(AM_MAKEFLAGS) \ |
|
top_distdir="$(top_distdir)" distdir="$(distdir)" \ |
|
dist-hook |
|
-test -n "$(am__skip_mode_fix)" \ |
|
|| find "$(distdir)" -type d ! -perm -755 \ |
|
-exec chmod u+rwx,go+rx {} \; -o \ |
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
|
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
|
|| chmod -R a+r "$(distdir)" |
|
dist-gzip: distdir |
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
|
$(am__remove_distdir) |
|
|
|
dist-bzip2: distdir |
|
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
|
$(am__remove_distdir) |
|
|
|
dist-lzma: distdir |
|
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
|
$(am__remove_distdir) |
|
|
|
dist-xz: distdir |
|
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz |
|
$(am__remove_distdir) |
|
|
|
dist-tarZ: distdir |
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
|
$(am__remove_distdir) |
|
|
|
dist-shar: distdir |
|
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
|
$(am__remove_distdir) |
|
|
|
dist-zip: distdir |
|
-rm -f $(distdir).zip |
|
zip -rq $(distdir).zip $(distdir) |
|
$(am__remove_distdir) |
|
|
|
dist dist-all: distdir |
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
|
$(am__remove_distdir) |
|
|
|
|
|
|
|
|
|
distcheck: dist |
|
case '$(DIST_ARCHIVES)' in \ |
|
*.tar.gz*) \ |
|
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
|
*.tar.bz2*) \ |
|
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
|
*.tar.lzma*) \ |
|
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
|
*.tar.xz*) \ |
|
xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
|
*.tar.Z*) \ |
|
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
|
*.shar.gz*) \ |
|
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
|
*.zip*) \ |
|
unzip $(distdir).zip ;;\ |
|
esac |
|
chmod -R a-w $(distdir); chmod a+w $(distdir) |
|
mkdir $(distdir)/_build |
|
mkdir $(distdir)/_inst |
|
chmod a-w $(distdir) |
|
test -d $(distdir)/_build || exit 0; \ |
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
|
&& am__cwd=`pwd` \ |
|
&& $(am__cd) $(distdir)/_build \ |
|
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
|
$(DISTCHECK_CONFIGURE_FLAGS) \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) check \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) install \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
|
distuninstallcheck \ |
|
&& chmod -R a-w "$$dc_install_base" \ |
|
&& ({ \ |
|
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
|
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
|
} || { rm -rf "$$dc_destdir"; exit 1; }) \ |
|
&& rm -rf "$$dc_destdir" \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \ |
|
&& rm -rf $(DIST_ARCHIVES) \ |
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
|
&& cd "$$am__cwd" \ |
|
|| exit 1 |
|
$(am__remove_distdir) |
|
@(echo "$(distdir) archives ready for distribution: "; \ |
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
|
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
|
distuninstallcheck: |
|
@$(am__cd) '$(distuninstallcheck_dir)' \ |
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
|
|| { echo "ERROR: files left after uninstall:" ; \ |
|
if test -n "$(DESTDIR)"; then \ |
|
echo " (check DESTDIR support)"; \ |
|
fi ; \ |
|
$(distuninstallcheck_listfiles) ; \ |
|
exit 1; } >&2 |
|
distcleancheck: distclean |
|
@if test '$(srcdir)' = . ; then \ |
|
echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
|
exit 1 ; \ |
|
fi |
|
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
|
|| { echo "ERROR: files left in build directory after distclean:" ; \ |
|
$(distcleancheck_listfiles) ; \ |
|
exit 1; } >&2 |
|
check-am: all-am |
|
check: check-am |
|
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) config.h |
|
install-binPROGRAMS: install-libLTLIBRARIES |
|
|
|
installdirs: |
|
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)"; do \ |
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
|
done |
|
install: install-am |
|
install-exec: install-exec-am |
|
install-data: install-data-am |
|
uninstall: uninstall-am |
|
|
|
install-am: all-am |
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
|
|
|
installcheck: installcheck-am |
|
install-strip: |
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
|
`test -z '$(STRIP)' || \ |
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
|
mostlyclean-generic: |
|
|
|
clean-generic: |
|
|
|
distclean-generic: |
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
|
|
|
maintainer-clean-generic: |
|
@echo "This command is intended for maintainers to use" |
|
@echo "it deletes files that may require special tools to rebuild." |
|
clean: clean-am |
|
|
|
clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ |
|
clean-libtool mostlyclean-am |
|
|
|
distclean: distclean-am |
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES) |
|
-rm -f Makefile |
|
distclean-am: clean-am distclean-compile distclean-generic \ |
|
distclean-hdr distclean-libtool distclean-tags |
|
|
|
dvi: dvi-am |
|
|
|
dvi-am: |
|
|
|
html: html-am |
|
|
|
html-am: |
|
|
|
info: info-am |
|
|
|
info-am: |
|
|
|
install-data-am: install-includeHEADERS |
|
|
|
install-dvi: install-dvi-am |
|
|
|
install-dvi-am: |
|
|
|
install-exec-am: install-binPROGRAMS install-libLTLIBRARIES |
|
|
|
install-html: install-html-am |
|
|
|
install-html-am: |
|
|
|
install-info: install-info-am |
|
|
|
install-info-am: |
|
|
|
install-man: |
|
|
|
install-pdf: install-pdf-am |
|
|
|
install-pdf-am: |
|
|
|
install-ps: install-ps-am |
|
|
|
install-ps-am: |
|
|
|
installcheck-am: |
|
|
|
maintainer-clean: maintainer-clean-am |
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES) |
|
-rm -rf $(top_srcdir)/autom4te.cache |
|
-rm -f Makefile |
|
maintainer-clean-am: distclean-am maintainer-clean-generic |
|
|
|
mostlyclean: mostlyclean-am |
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \ |
|
mostlyclean-libtool |
|
|
|
pdf: pdf-am |
|
|
|
pdf-am: |
|
|
|
ps: ps-am |
|
|
|
ps-am: |
|
|
|
uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \ |
|
uninstall-libLTLIBRARIES |
|
|
|
.MAKE: all install-am install-strip |
|
|
|
.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ |
|
clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ |
|
clean-libtool ctags dist dist-all dist-bzip2 dist-gzip \ |
|
dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ |
|
distcheck distclean distclean-compile distclean-generic \ |
|
distclean-hdr distclean-libtool distclean-tags distcleancheck \ |
|
distdir distuninstallcheck dvi dvi-am html html-am info \ |
|
info-am install install-am install-binPROGRAMS install-data \ |
|
install-data-am install-dvi install-dvi-am install-exec \ |
|
install-exec-am install-html install-html-am \ |
|
install-includeHEADERS install-info install-info-am \ |
|
install-libLTLIBRARIES install-man install-pdf install-pdf-am \ |
|
install-ps install-ps-am install-strip installcheck \ |
|
installcheck-am installdirs maintainer-clean \ |
|
maintainer-clean-generic mostlyclean mostlyclean-compile \ |
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
|
tags uninstall uninstall-am uninstall-binPROGRAMS \ |
|
uninstall-includeHEADERS uninstall-libLTLIBRARIES |
|
|
|
|
|
dist-hook: |
|
for subdir in $(EXTRA_DIRS); do \ |
|
cp -rp $$subdir $(distdir); \ |
|
rm -f $(distdir)/$$subdir/*~; \ |
|
rm -f $(distdir)/$$subdir/*.{bak,orig}; \ |
|
rm -rf $(distdir)/$$subdir/CVS; \ |
|
rm -rf $(distdir)/$$subdir/.svn; \ |
|
rm -rf $(distdir)/.svn; \ |
|
rm -rf $(distdir)/*/.svn; \ |
|
rm -rf $(distdir)/*/*/.svn; \ |
|
rm -rf $(distdir)/$$subdir/*/CVS; \ |
|
rm -rf $(distdir)/$$subdir/*/.svn; \ |
|
find $(distdir) -name .svn | xargs rm -fr; \ |
|
done |
|
|
|
win: |
|
(cd src; rm -f *.exe *.obj *.dll) |
|
|
|
|
|
win-dist: |
|
rm -f @PACKAGE@-@VERSION@.zip |
|
mkdir -p @PACKAGE@-@VERSION@/doc |
|
mkdir -p @PACKAGE@-@VERSION@/example |
|
mkdir -p @PACKAGE@-@VERSION@/sdk |
|
cp -f crf_learn.exe @PACKAGE@-@VERSION@ |
|
cp -f crf_test.exe @PACKAGE@-@VERSION@ |
|
cp -f libcrfpp.dll @PACKAGE@-@VERSION@ |
|
cp -f libcrfpp.lib @PACKAGE@-@VERSION@/sdk |
|
cp -f crfpp.h @PACKAGE@-@VERSION@/sdk |
|
|
|
cp -f sdk/example.cpp @PACKAGE@-@VERSION@/sdk |
|
cp -fr doc/*.html doc/*.css doc/doxygen @PACKAGE@-@VERSION@/doc |
|
cp -f README COPYING AUTHORS LGPL BSD @PACKAGE@-@VERSION@ |
|
cp -fr example/* @PACKAGE@-@VERSION@/example |
|
find @PACKAGE@-@VERSION@ -name CVS | xargs rm -rf |
|
find @PACKAGE@-@VERSION@ -name .svn | xargs rm -rf |
|
zip -r @PACKAGE@-@VERSION@.zip @PACKAGE@-@VERSION@ |
|
rm -fr @PACKAGE@-@VERSION@ |
|
|
|
dist-all-package: |
|
(test -f Makefile) && $(MAKE) distclean |
|
./configure |
|
$(MAKE) dist |
|
$(MAKE) clean |
|
$(MAKE) script-clean |
|
$(MAKE) script-dist |
|
$(MAKE) win |
|
$(MAKE) win-dist |
|
|
|
script-dist: |
|
for subdir in perl ruby python java; do \ |
|
rm -fr CRF++-$${subdir}-@VERSION@; \ |
|
mkdir CRF++-$${subdir}-@VERSION@; \ |
|
cp -r $${subdir}/* CRF++-$${subdir}-@VERSION@; \ |
|
cp -r doc/bindings.html CRF++-$${subdir}-@VERSION@; \ |
|
find ./CRF++-$${subdir}-@VERSION@ -type d -name CVS | xargs rm -fr; \ |
|
rm -f CRF++-$${subdir}-@VERSION@/*~; \ |
|
tar zcfv CRF++-$${subdir}-@VERSION@.tar.gz CRF++-$${subdir}-@VERSION@; \ |
|
rm -fr CRF++-$${subdir}-@VERSION@; \ |
|
done |
|
|
|
script-clean: |
|
(cd perl; $(MAKE) clean; rm -f Makefile.old Makefile) |
|
(cd ruby; $(MAKE) clean; rm -f Makefile *.log) |
|
(cd python; python setup.py clean --all) |
|
(cd java; $(MAKE) clean;) |
|
|
|
export-package: |
|
./upload.pl -p crfpp -n crfpp -r @VERSION@ -f CRF++-@VERSION@.tar.gz |
|
./upload.pl -p crfpp -n crfpp-win32 -r @VERSION@ -f CRF++-@VERSION@.zip |
|
scp doc/*.html sf:public_html/crfpp/ |
|
scp doc/*.css sf:public_html/crfpp/ |
|
|
|
|
|
|
|
.NOEXPORT: |
|
|