diff options
author | Dan Winship <danw@src.gnome.org> | 2000-02-17 09:45:58 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-02-17 09:45:58 +0800 |
commit | 704369d07078a4a6a28552eaaad30d3758052d30 (patch) | |
tree | 083a7e6616ae37ffe15cf7215bfea1178293cce7 /libibex | |
parent | cd9df589eacaf47a085119fdb91e41a01eab9bb0 (diff) | |
download | gsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.tar gsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.tar.gz gsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.tar.bz2 gsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.tar.lz gsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.tar.xz gsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.tar.zst gsoc2013-evolution-704369d07078a4a6a28552eaaad30d3758052d30.zip |
automakify libibex
svn path=/trunk/; revision=1813
Diffstat (limited to 'libibex')
-rw-r--r-- | libibex/ChangeLog | 4 | ||||
-rw-r--r-- | libibex/Makefile | 30 | ||||
-rw-r--r-- | libibex/Makefile.am | 22 |
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) |