Permalink
Browse files

Build system for bibentry parser.

  • Loading branch information...
Rémy Oudompheng
Rémy Oudompheng committed Feb 3, 2010
1 parent 0dff414 commit 450edc2595ce480bca4dca0cf4e07b34330ba8a0
Showing with 9 additions and 3 deletions.
  1. +1 −1 Makefile.am
  2. +3 −1 configure.ac
  3. +3 −0 parser/Makefile.am
  4. 0 parser/parser.cpp
  5. +2 −1 src/Makefile.am
View
@@ -1,2 +1,2 @@
-SUBDIRS = src
+SUBDIRS = parser src
View
@@ -10,6 +10,7 @@ AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
+AC_PROG_RANLIB
AC_PATH_PROG(XXD, xxd)
AC_PATH_PROG(SED, sed)
@@ -30,5 +31,6 @@ PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4 >= 2.12])
# Checks for library functions.
AC_CONFIG_FILES([Makefile
- src/Makefile])
+ src/Makefile
+ parser/Makefile])
AC_OUTPUT
View
@@ -0,0 +1,3 @@
+noinst_LIBRARIES = libparser.a
+
+libparser_a_SOURCES = parser.cpp
View
No changes.
View
@@ -9,7 +9,8 @@ mathbib_SOURCES = main.cpp UIDefinition.h \
mathbib_CPPFLAGS = $(GTKMM_CFLAGS)
-mathbib_LDADD = $(GTKMM_LIBS)
+mathbib_LDADD = $(GTKMM_LIBS) \
+ $(top_srcdir)/parser/libparser.a
clean-local:
rm -f UIDefinition.h

0 comments on commit 450edc2

Please sign in to comment.