From 704369d07078a4a6a28552eaaad30d3758052d30 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 17 Feb 2000 01:45:58 +0000 Subject: automakify libibex svn path=/trunk/; revision=1813 --- libibex/ChangeLog | 4 ++++ libibex/Makefile | 30 ------------------------------ libibex/Makefile.am | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 30 deletions(-) delete mode 100644 libibex/Makefile create mode 100644 libibex/Makefile.am (limited to 'libibex') diff --git a/libibex/ChangeLog b/libibex/ChangeLog index d5b183c451..c527f6ec4b 100644 --- a/libibex/ChangeLog +++ b/libibex/ChangeLog @@ -1,3 +1,7 @@ +2000-02-16 Dan Winship + + * Makefile.am: automakify + 2000-02-16 NotZed * find.[ch] (ibex_find_name): Finds if a word is indexed under a diff --git a/libibex/Makefile b/libibex/Makefile deleted file mode 100644 index 8cc2c1b873..0000000000 --- a/libibex/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -OBJS=file.lo index.lo find.lo words.lo -MKINDEXOBJS=mkindex.lo -LOOKUPOBJS=lookup.lo - -CFLAGS=${PROF} -g -Wall -Wstrict-prototypes -Wmissing-prototypes `glib-config --cflags` `unicode-config --cflags` -LDFLAGS=${PROF} - -LIBTOOL=sh ../libtool - -all: libibex.la mkindex lookup - -%.lo: %.c - $(LIBTOOL) --mode compile $(CC) $(CFLAGS) -c -o $@ $< - -libibex.la: ${OBJS} - $(LIBTOOL) --mode link $(CC) -static $^ -o $@ - -mkindex: ${MKINDEXOBJS} libibex.la - ${LIBTOOL) --mode link $(CC) ${LDFLAGS} -o mkindex ${MKINDEXOBJS} libibex.la \ - `glib-config --libs` `unicode-config --libs` - -lookup: ${LOOKUPOBJS} libibex.la - $(LIBTOOL) --mode link ${CC} ${LDFLAGS} -o lookup ${LOOKUPOBJS} libibex.la \ - `glib-config --libs` `unicode-config --libs` - -clean: - rm -f ${OBJS} libibex.la - rm -f ${MKINDEXOBJS} mkindex - rm -f ${LOOKUPOBJS} lookup - rm -f *.core *~ INDEX \ No newline at end of file diff --git a/libibex/Makefile.am b/libibex/Makefile.am new file mode 100644 index 0000000000..6bbd72034f --- /dev/null +++ b/libibex/Makefile.am @@ -0,0 +1,22 @@ +## Process this file with automake to produce Makefile.in + +lib_LTLIBRARIES = libibex.la + +libibex_la_SOURCES = file.c index.c find.c words.c + +include_HEADERS = ibex.h + +noinst_HEADERS = ibex_internal.h + +INCLUDES = -I$(srcdir) $(GLIB_CFLAGS) $(UNICODE_CFLAGS) + + +noinst_PROGRAMS = mkindex lookup + +mkindex_SOURCES = mkindex.c + +mkindex_LDADD = libibex.la $(GLIB_LIBS) $(UNICODE_LIBS) + +lookup_SOURCES = lookup.c + +lookup_LDADD = libibex.la $(GLIB_LIBS) $(UNICODE_LIBS) -- cgit