Commit 53773ae0 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

autogenerated libgimp/gimp_pdb.h

2002-03-13  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/lib.pl: autogenerated libgimp/gimp_pdb.h

        * tools/pdbgen/app.pl: fix a bug in the file open error message

        * libgimp/gimp_pdb.h: now generated
parent f589e398
2002-03-13 Manish Singh <yosh@gimp.org>
* tools/pdbgen/lib.pl: autogenerated libgimp/gimp_pdb.h
* tools/pdbgen/app.pl: fix a bug in the file open error message
* libgimp/gimp_pdb.h: now generated
2002-03-13 Sven Neumann <sven@gimp.org>
* app/Makefile.am (SUBDIRS): moved pdb directory to the end.
......
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* Copyright (C) 1995-2000 Peter Mattis and Spencer Kimball
*
* gimp_pdb.h
*
......@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
/* NOTE: This file is autogenerated by pdbgen.pl */
#ifndef __GIMP_PDB_H__
#define __GIMP_PDB_H__
......@@ -50,8 +52,8 @@
#include <libgimp/gimppaths_pdb.h>
#include <libgimp/gimppatterns_pdb.h>
#include <libgimp/gimppatternselect_pdb.h>
#include <libgimp/gimpproceduraldb_pdb.h>
#include <libgimp/gimpplugin_pdb.h>
#include <libgimp/gimpproceduraldb_pdb.h>
#include <libgimp/gimpselection_pdb.h>
#include <libgimp/gimpselectiontools_pdb.h>
#include <libgimp/gimptexttool_pdb.h>
......
......@@ -8,3 +8,4 @@ gimp-tips.xml
gimp-tips.xml.in.h
messages
.intltool-merge-cachemake
.memdump
......@@ -841,7 +841,7 @@ GPL
if (! $ENV{PDBGEN_GROUPS}) {
my $internal = "$destdir/internal_procs.h$FILE_EXT";
open IFILE, "> $internal" or die "Can't open $cmdfile: $!\n";
open IFILE, "> $internal" or die "Can't open $internal: $!\n";
print IFILE $gpl;
my $guard = "__INTERNAL_PROCS_H__";
print IFILE <<HEADER;
......@@ -857,7 +857,7 @@ HEADER
&write_file($internal);
$internal = "$destdir/internal_procs.c$FILE_EXT";
open IFILE, "> $internal" or die "Can't open $cmdfile: $!\n";
open IFILE, "> $internal" or die "Can't open $internal: $!\n";
print IFILE $gpl;
print IFILE qq@#include "config.h"\n\n@;
print IFILE qq@#include <glib-object.h>\n\n@;
......
......@@ -604,4 +604,33 @@ HEADER
close CFILE;
&write_file($cfile);
}
if (! $ENV{PDBGEN_GROUPS}) {
my $gimp_pdb = "$destdir/gimp_pdb.h$FILE_EXT";
open PFILE, "> $gimp_pdb" or die "Can't open $gimp_pdb: $!\n";
print PFILE $lgpl_top;
print PFILE " * gimp_pdb.h\n";
print PFILE $lgpl_bottom;
my $guard = "__GIMP_PDB_H__";
print PFILE <<HEADER;
#ifndef $guard
#define $guard
HEADER
my @groups;
foreach $group (keys %out) {
my $hname = "gimp${group}pdb.h";
$hname =~ s/_//g; $hname =~ s/pdb\./_pdb./;
push @groups, $hname;
}
foreach $group (sort @groups) {
print PFILE "#include <libgimp/$group>\n";
}
print PFILE <<HEADER;
#endif /* $guard */
HEADER
close PFILE;
&write_file($gimp_pdb);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment