auto* stuff for helpbrowser

-Yosh
This commit is contained in:
Manish Singh 1999-10-04 02:23:41 +00:00
parent 31d282ff25
commit b3a6662262
6 changed files with 49 additions and 15 deletions

View File

@ -1,3 +1,9 @@
Sun Oct 3 19:21:00 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in
* plug-ins/Makefile.am
* plug-ins/helpbrowser/Makefile.am: auto* stuff for helpbrowser
1999-10-04 Olof S Kylander <olof@gimp.org>
* app/color_cmds.c

View File

@ -508,6 +508,16 @@ if test $ac_cv_path_LPC_COMMAND != ":"; then
LPC_DEF="-DLPC_COMMAND=\\\"$ac_cv_path_LPC_COMMAND\\\""
fi
dnl This is for the help browser
AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
if test "$GNOME_CONFIG" = "no"; then
HELPBROWSER=
else
GTKXMHTML_CFLAGS=`$GNOME_CONFIG --cflags gnomeui`
GTKXMHTML_LIBS=`$GNOME_CONFIG --libs gtkxmhtml`
HELPBROWSER=helpbrowser
fi
dnl This is for the gimp-perl plug-in
AC_ARG_ENABLE(perl, [ --disable-perl do not build perl extension [by default enabled]
--enable-perl[=prefix] use specified prefix for perl (see INSTALL)])
@ -647,6 +657,9 @@ AC_SUBST(GIMP_MP_LIBS)
AC_SUBST(GIMP_PERL)
AC_SUBST(GIMPDOCS)
AC_SUBST(GIMPINSTALL)
AC_SUBST(HELPBROWSER)
AC_SUBST(GTKXMHTML_CFLAGS)
AC_SUBST(GTKXMHTML_LIBS)
dnl easy way to skip the plug-in build
GIMP_PLUGINS=plug-ins
@ -700,6 +713,7 @@ plug-ins/gimpressionist/Makefile
plug-ins/gimpressionist/Brushes/Makefile
plug-ins/gimpressionist/Paper/Makefile
plug-ins/gimpressionist/Presets/Makefile
plug-ins/helpbrowser/Makefile
plug-ins/ifscompose/Makefile
plug-ins/imagemap/Makefile
plug-ins/maze/Makefile

View File

@ -51,6 +51,7 @@ SUBDIRS = \
gflare \
gfli \
gimpressionist \
$(HELPBROWSER) \
ifscompose \
imagemap \
maze \

View File

@ -3,5 +3,4 @@ Makefile
.deps
_libs
.libs
*.o
helpbrowser

View File

@ -0,0 +1,28 @@
## Process this file with automake to produce Makefile.in
libexecdir = $(gimpplugindir)/plug-ins
libexec_PROGRAMS = helpbrowser
helpbrowser_SOURCES = \
back.xpm \
helpbrowser.c \
queue.c \
queue.h
INCLUDES = \
-I$(top_srcdir) \
$(GTKXMHTML_CFLAGS) \
-I$(includedir)
LDADD = \
$(top_builddir)/libgimp/libgimp.la \
$(GTKXMHTML_LIBS) \
$(INTLLIBS)
.PHONY: files
files:
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
echo $$p; \
done

View File

@ -1,14 +0,0 @@
CFLAGS = `gtk-config --cflags` -g -Wall -ansi
LDFLAGS = `gtk-config --libs` `gimptool --libs` -lgtkxmhtml
OBJECTS = helpbrowser.o queue.o
TARGET = helpbrowser
$(TARGET): $(OBJECTS)
$(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS)
.PHONY: clean
clean:
-rm -f $(OBJECTS)