X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Foptions%2Fparser.am;h=8bf6b65f92d225c31e99fb1c288502c4d585f2eb;hb=aaf936aeae19cb0369339573d1ab19f98916804b;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=259ed7e68a0de0887e9aedbe0aa5fdd9404929f9;p=m6w6%2Flibmemcached diff --git a/libmemcached/options/parser.am b/libmemcached/options/parser.am index e69de29b..8bf6b65f 100644 --- a/libmemcached/options/parser.am +++ b/libmemcached/options/parser.am @@ -0,0 +1,32 @@ +# vim:ft=automake +# +# Libmemcached Scanner and Parser +# +# Copyright (C) 2011 DataDifferental, http://datadifferential.com +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +EXTRA_DIST+= \ + libmemcached/options/parser.yy \ + libmemcached/options/scanner.l + +libmemcached/options/parser.h: libmemcached/options/parser.cc + +libmemcached/options/parser.cc: libmemcached/options/parser.yy libmemcached/options/scanner.l libmemcached/options/scanner.h + $(AM_V_YACC)$(am__skipyacc) $(YACC) $(YLFLAGS) $(AM_YFLAGS) -o $@ $< + +libmemcached/options/scanner.h: libmemcached/options/scanner.cc + +libmemcached/options/scanner.cc: libmemcached/options/scanner.l libmemcached/options/parser.yy + $(AM_V_GEN)$(LEX) $<