aboutsummaryrefslogtreecommitdiffstats
path: root/libibex
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-02-17 09:45:58 +0800
committerDan Winship <danw@src.gnome.org>2000-02-17 09:45:58 +0800
commit704369d07078a4a6a28552eaaad30d3758052d30 (patch)
tree083a7e6616ae37ffe15cf7215bfea1178293cce7 /libibex
parentcd9df589eacaf47a085119fdb91e41a01eab9bb0 (diff)
downloadgsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.tar.gz
gsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.tar.zst
gsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.zip
automakify libibex
svn path=/trunk/; revision=1813
Diffstat (limited to 'libibex')
-rw-r--r--libibex/ChangeLog4
-rw-r--r--libibex/Makefile30
-rw-r--r--libibex/Makefile.am22
3 files changed, 26 insertions, 30 deletions
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 <danw@helixcode.com>
+
+ * Makefile.am: automakify
+
2000-02-16 NotZed <NotZed@HelixCode.com>
* 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)
/Makefile,v 1.51.will2002-07-053-7/+5 * Upgrade to KDE 3.0.1. The delay in this upgrade is mainly due to thewill2002-06-163-2/+5 * Please welcome Qt3/KDE3 to our ports tree. This includes work since thewill2002-04-227-128/+263 * gettext upgrade uber-patch (stage 3)ade2002-04-131-1/+2 * Stage 1 of gettext update.ade2002-03-161-1/+1 * Add WWW.demon2001-12-281-0/+2 * Update to 2.2.2.demon2001-12-133-9/+16 * Upgrade to 2.2.1.demon2001-10-27