aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gitignore2
-rw-r--r--src/Make-inst.am19
-rw-r--r--src/Make-noinst.am18
-rw-r--r--src/Make.am42
4 files changed, 81 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore
index 7c38320..bf5d140 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -2,3 +2,5 @@ grecs-gram.c
grecs-gram.h
grecs-gram.output
grecs-lex.c
+Make-noinst.in
+Make-inst.in
diff --git a/src/Make-inst.am b/src/Make-inst.am
new file mode 100644
index 0000000..3b394b0
--- /dev/null
+++ b/src/Make-inst.am
@@ -0,0 +1,19 @@
+# This file is part of grecs - Gray's Extensible Configuration System
+# Copyright (C) 2007, 2009-2011 Sergey Poznyakoff
+#
+# Grecs is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# Grecs 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Grecs. If not, see <http://www.gnu.org/licenses/>.
+
+include Make.am
+lib_LTLIBRARIES=libgrecs.la
+libgrecs_la_SOURCES = $(GRECS_SRC)
diff --git a/src/Make-noinst.am b/src/Make-noinst.am
new file mode 100644
index 0000000..bf4f7ce
--- /dev/null
+++ b/src/Make-noinst.am
@@ -0,0 +1,18 @@
+# This file is part of grecs - Gray's Extensible Configuration System
+# Copyright (C) 2007, 2009-2011 Sergey Poznyakoff
+#
+# Grecs is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# Grecs 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Grecs. If not, see <http://www.gnu.org/licenses/>.
+include Make.am
+noinst_LIBRARIES=libgrecs.a
+libgrecs_a_SOURCES = $(GRECS_SRC)
diff --git a/src/Make.am b/src/Make.am
new file mode 100644
index 0000000..e655767
--- /dev/null
+++ b/src/Make.am
@@ -0,0 +1,42 @@
+# This file is part of grecs - Gray's Extensible Configuration System
+# Copyright (C) 2007, 2009-2011 Sergey Poznyakoff
+#
+# Grecs is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# Grecs 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Grecs. If not, see <http://www.gnu.org/licenses/>.
+
+GRECS_SRC = \
+ diag.c\
+ format.c\
+ grecs-gram.y\
+ grecs-lex.l\
+ list.c\
+ lookup.c\
+ mem.c\
+ preproc.c\
+ symtab.c\
+ text.c\
+ tree.c\
+ grecs.h\
+ wordsplit.c\
+ wordsplit.h
+
+EXTRA_DIST=grecs-gram.h $(PP_SETUP_FILE) Make.am Make-inst.am Make-noinst.am
+
+INCLUDES = -I$(srcdir) @GRECS_INCLUDES@
+AM_YFLAGS = -dtv
+AM_LFLAGS = -d
+# Use a modified ylwrap implementation that understands the --prefix option.
+YLWRAP = $(top_srcdir)/$(grex_topdir)grecs/build-aux/ylwrap --prefix yy_grecs
+
+incdir=$(pkgdatadir)/$(VERSION)/include
+inc_DATA = $(PP_SETUP_FILE)

Return to:

Send suggestions and report system problems to the System administrator.