Cleaned up the makefiles, fixed a few build problems, removed YACC-generated files from the repository

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-01-29 14:44:27 +00:00
commit c85c99425c
23 changed files with 97 additions and 15861 deletions

View file

@ -1,7 +1,4 @@
AUTOMAKE_OPTIONS = foreign
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include \
-I$(top_srcdir)/Source/SWILL/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a \
$(top_builddir)/Source/SWILL/SWILL/libswill.a
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -47,10 +47,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -91,11 +90,8 @@ YFLAGS = @YFLAGS@
AUTOMAKE_OPTIONS = foreign
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include -I$(top_srcdir)/Source/SWILL/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a $(top_builddir)/Source/SWILL/SWILL/libswill.a
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a
EXTRA_DIST = Makefile.common LICENSE Lib Doc Examples
@ -111,7 +107,7 @@ configure.in install-sh missing mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
@ -265,7 +261,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -305,7 +301,7 @@ uninstall: uninstall-recursive
all-am: Makefile all-local
all-redirect: all-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:

13
README
View file

@ -16,11 +16,12 @@ SWIG release. The guilty parties working on this are:
- Dustin Mitchell (djmitche@cs.uchicago.edu) (SWIG core)
- Ian Cooke (iancooke@cs.uchicago.edu) (SWIG core)
- Bryan King (bwking@midway.uchicago.edu) (SWIG core)
- Hasan Baran Kovuk (hbkovuk@midway.uchicago.edu) (SWIG core)
- Loic Dachary (loic@ceic.com) (Perl5)
- Harco de Hilster (Harco.de.Hilster@ATComputing.nl) (Java)
*** Disclaimer : The Source directory is a nightmare right now. Please
pardon our dust.
pardon the dust.
General overview:
=================
@ -41,6 +42,8 @@ in ANSI C. Please avoid C++ if at all possible. -- Dave ***
Core - New SWIG core (ANSI C)
Preprocessor - SWIG preprocessor module
Dustin - Some Python stuff Dustin is working on.
SWILL - An embedded web-server library
Swim - The SWIG monitor project.
Documentation for these components is weak or non-existent at this
time. However, this should only matter if you are actually hacking
@ -48,15 +51,17 @@ on SWIG itself. Please bear with us.
Installation
============
It should be relatively simple. Simply type the following:
To build and install SWIG, simply type the following:
% ./configure
% make
% make install
If you checked the code out via CVS, you will have to run autoconf
before typing 'configure.' In addition, a full build of SWIG requires
the use bison or yacc.
before typing 'configure.' SWIG requires the use of autoconf-2.13 or
higher. In addition, a full build of SWIG requires the use bison or yacc.
If you plan to make modifications or contributions to SWIG, you
should also plan on installing automake-1.4 or higher on your machine.
Participate!
============

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -47,10 +47,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -98,7 +97,7 @@ DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
DEP_FILES = .deps/base.P .deps/callable.P .deps/file.P .deps/fio.P \
.deps/hash.P .deps/list.P .deps/memory.P .deps/string.P .deps/void.P
@ -211,7 +210,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -272,7 +271,7 @@ uninstall: uninstall-am
all-am: Makefile $(LIBRARIES)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(libdir)

View file

@ -14,6 +14,8 @@ static char cvsroot[] = "$Header$";
#include "dohint.h"
#define DOH_STRING_UPDATE_LINES
typedef struct String {
DOHXCOMMON;
int maxsize; /* Max size allocated */

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -46,10 +46,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -78,7 +77,7 @@ DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
@ -147,7 +146,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -176,7 +175,7 @@ uninstall: uninstall-am
all-am: Makefile $(HEADERS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(includedir)

View file

@ -2,4 +2,4 @@ include $(top_srcdir)/Makefile.common
EXTRA_DIST = Makefile.common
SUBDIRS = Doh Example Include
SUBDIRS = Doh Include

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -47,10 +47,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -76,7 +75,7 @@ DOH_LIBS = -L$(top_builddir)/Doh -ldoh
EXTRA_DIST = Makefile.common
SUBDIRS = Doh Example Include
SUBDIRS = Doh Include
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
@ -86,7 +85,7 @@ configure.in install-sh missing mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
@ -240,7 +239,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -279,7 +278,7 @@ uninstall: uninstall-recursive
all-am: Makefile
all-redirect: all-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:

1579
Source/DOH/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -9,4 +9,4 @@ noinst_LIBRARIES = liblparse.a
liblparse_a_SOURCES = parser.y cscanner.c type.c
noinst_HEADERS = lparse.h lyacc.h
noinst_HEADERS = lparse.h

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -47,10 +47,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -91,11 +90,8 @@ YFLAGS = @YFLAGS@
AUTOMAKE_OPTIONS = foreign
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include -I$(top_srcdir)/Source/SWILL/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a $(top_builddir)/Source/SWILL/SWILL/libswill.a
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a
INCLUDES = $(SWIG_INCLUDES) -I$(top_srcdir)/Source/Swig -I$(top_srcdir)/Source/Include -I$(top_srcdir)/Source/Preprocessor
@ -104,7 +100,7 @@ noinst_LIBRARIES = liblparse.a
liblparse_a_SOURCES = parser.y cscanner.c type.c
noinst_HEADERS = lparse.h lyacc.h
noinst_HEADERS = lparse.h
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
LIBRARIES = $(noinst_LIBRARIES)
@ -127,7 +123,7 @@ DIST_COMMON = Makefile.am Makefile.in parser.c
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
DEP_FILES = .deps/cscanner.P .deps/parser.P .deps/type.P
SOURCES = $(liblparse_a_SOURCES)
@ -223,7 +219,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -284,7 +280,7 @@ uninstall: uninstall-am
all-am: Makefile $(LIBRARIES) $(HEADERS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:

File diff suppressed because it is too large Load diff

View file

@ -1,146 +0,0 @@
typedef union {
struct {
DOH *filename;
int line;
DOH *text;
int ivalue;
void *data;
} tok;
DOH *node;
LParseType *type;
struct {
DOH *id;
int is_pointer;
int is_reference;
} decl;
struct {
DOH *name;
DOH *value;
DOH *array;
} pname;
struct {
DOH *name;
DOH *array;
DOH *parms;
} tmname;
} YYSTYPE;
#define ID 257
#define TYPE_TYPEDEF 258
#define HBLOCK 259
#define STRING 260
#define NUM_INT 261
#define NUM_FLOAT 262
#define CHARCONST 263
#define NUM_UNSIGNED 264
#define NUM_LONG 265
#define NUM_ULONG 266
#define LPAREN 267
#define RPAREN 268
#define LBRACE 269
#define RBRACE 270
#define COMMA 271
#define SEMI 272
#define PERIOD 273
#define LBRACKET 274
#define RBRACKET 275
#define EQUAL 276
#define COLON 277
#define POUND 278
#define CONST 279
#define DEFINED 280
#define ENUM 281
#define EXTERN 282
#define SIZEOF 283
#define STATIC 284
#define STRUCT 285
#define TYPEDEF 286
#define UNION 287
#define CLASS 288
#define FRIEND 289
#define OPERATOR 290
#define PRIVATE 291
#define PROTECTED 292
#define PUBLIC 293
#define TEMPLATE 294
#define THROW 295
#define VIRTUAL 296
#define OC_INTERFACE 297
#define OC_END 298
#define OC_PUBLIC 299
#define OC_PRIVATE 300
#define OC_PROTECTED 301
#define OC_CLASS 302
#define OC_IMPLEMENT 303
#define OC_PROTOCOL 304
#define TYPE_INT 305
#define TYPE_UNSIGNED 306
#define TYPE_SHORT 307
#define TYPE_LONG 308
#define TYPE_FLOAT 309
#define TYPE_DOUBLE 310
#define TYPE_CHAR 311
#define TYPE_VOID 312
#define TYPE_SIGNED 313
#define TYPE_BOOL 314
#define ADDMETHODS 315
#define ALPHA_MODE 316
#define APPLY 317
#define CHECKOUT 318
#define CLEAR 319
#define CONSTANT 320
#define DOCONLY 321
#define DOC_DISABLE 322
#define DOC_ENABLE 323
#define ECHO 324
#define EXCEPT 325
#define ILLEGAL 326
#define IMPORT 327
#define INCLUDE 328
#define INIT 329
#define INLINE 330
#define LOCALSTYLE 331
#define MACRO 332
#define MODULE 333
#define NAME 334
#define NATIVE 335
#define NEW 336
#define PRAGMA 337
#define RAW_MODE 338
#define READONLY 339
#define READWRITE 340
#define RENAME 341
#define SECTION 342
#define STYLE 343
#define SUBSECTION 344
#define SUBSUBSECTION 345
#define TEXT 346
#define TITLE 347
#define TYPE 348
#define TYPEMAP 349
#define USERDIRECTIVE 350
#define WEXTERN 351
#define WRAPPER 352
#define LOR 353
#define LAND 354
#define EQUALTO 355
#define NOTEQUAL 356
#define GREATERTHAN 357
#define LESSTHAN 358
#define LTEQUAL 359
#define GTEQUAL 360
#define OR 361
#define XOR 362
#define AND 363
#define LSHIFT 364
#define RSHIFT 365
#define PLUS 366
#define MINUS 367
#define STAR 368
#define SLASH 369
#define UMINUS 370
#define NOT 371
#define LNOT 372
#define DCOLON 373
extern YYSTYPE yylval;

View file

@ -2,4 +2,4 @@ include $(top_srcdir)/Makefile.common
EXTRA_DIST = Include
SUBDIRS = DOH SWILL Modules1.1 Swig Preprocessor SWIG1.1 LParse Experiment Swim
SUBDIRS = DOH SWILL Modules1.1 Swig Preprocessor SWIG1.1 LParse Swim Experiment

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -47,10 +47,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -91,15 +90,12 @@ YFLAGS = @YFLAGS@
AUTOMAKE_OPTIONS = foreign
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include -I$(top_srcdir)/Source/SWILL/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a $(top_builddir)/Source/SWILL/SWILL/libswill.a
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a
EXTRA_DIST = Include
SUBDIRS = DOH SWILL Modules1.1 Swig Preprocessor SWIG1.1 LParse Experiment Swim
SUBDIRS = DOH SWILL Modules1.1 Swig Preprocessor SWIG1.1 LParse Swim Experiment
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
DIST_COMMON = Makefile.am Makefile.in
@ -107,7 +103,7 @@ DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
@ -221,7 +217,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -260,7 +256,7 @@ uninstall: uninstall-recursive
all-am: Makefile
all-redirect: all-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -47,10 +47,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -91,11 +90,8 @@ YFLAGS = @YFLAGS@
AUTOMAKE_OPTIONS = foreign
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include -I$(top_srcdir)/Source/SWILL/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a $(top_builddir)/Source/SWILL/SWILL/libswill.a
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a
SWIG_LIB = $(prefix)/lib/swig1.3
@ -131,7 +127,7 @@ DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
DEP_FILES = .deps/ascii.P .deps/guile.P .deps/html.P .deps/java.P \
.deps/perl5.P .deps/pycpp.P .deps/python.P .deps/swigmain.P \
@ -224,7 +220,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -304,7 +300,7 @@ uninstall: uninstall-am
all-am: Makefile $(LIBRARIES) $(HEADERS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -47,10 +47,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -91,11 +90,8 @@ YFLAGS = @YFLAGS@
AUTOMAKE_OPTIONS = foreign
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include -I$(top_srcdir)/Source/SWILL/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a $(top_builddir)/Source/SWILL/SWILL/libswill.a
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a
INCLUDES = $(SWIG_INCLUDES) -I$(top_srcdir)/Source/Swig -I$(top_srcdir)/Source/Include
@ -127,7 +123,7 @@ DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
DEP_FILES = .deps/cpp.P .deps/expr.P
SOURCES = $(libpreprocessor_a_SOURCES)
@ -216,7 +212,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -277,7 +273,7 @@ uninstall: uninstall-am
all-am: Makefile $(LIBRARIES) $(HEADERS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -47,10 +47,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -91,11 +90,8 @@ YFLAGS = @YFLAGS@
AUTOMAKE_OPTIONS = foreign
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include -I$(top_srcdir)/Source/SWILL/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a $(top_builddir)/Source/SWILL/SWILL/libswill.a
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a
SWIG_LIB = $(prefix)/lib/swig1.3
@ -137,7 +133,7 @@ DIST_COMMON = Makefile.am Makefile.in parser.cxx
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
DEP_FILES = .deps/comment.P .deps/cplus.P .deps/emit.P .deps/hash.P \
.deps/include.P .deps/lang.P .deps/main.P .deps/naming.P .deps/newdoc.P \
@ -171,8 +167,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
$(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
else :; fi; \
done
@ -253,7 +249,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -333,7 +329,7 @@ uninstall: uninstall-am
all-am: Makefile $(PROGRAMS) $(HEADERS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(bindir)

File diff suppressed because it is too large Load diff

View file

@ -1,147 +0,0 @@
typedef union {
char *id;
struct Declaration {
char *id;
int is_pointer;
int is_reference;
} decl;
struct InitList {
char **names;
int count;
} ilist;
struct DocList {
char **names;
char **values;
int count;
} dlist;
struct Define {
char *id;
int type;
} dtype;
struct {
char *filename;
int line;
int flag;
} loc;
DataType *type;
Parm *p;
TMParm *tmparm;
ParmList *pl;
int ivalue;
} YYSTYPE;
#define ID 257
#define HBLOCK 258
#define WRAPPER 259
#define POUND 260
#define STRING 261
#define INCLUDE 262
#define IMPORT 263
#define WEXTERN 264
#define SWIGMACRO 265
#define NUM_INT 266
#define NUM_FLOAT 267
#define CHARCONST 268
#define NUM_UNSIGNED 269
#define NUM_LONG 270
#define NUM_ULONG 271
#define TYPEDEF 272
#define TYPE_INT 273
#define TYPE_UNSIGNED 274
#define TYPE_SHORT 275
#define TYPE_LONG 276
#define TYPE_FLOAT 277
#define TYPE_DOUBLE 278
#define TYPE_CHAR 279
#define TYPE_VOID 280
#define TYPE_SIGNED 281
#define TYPE_BOOL 282
#define TYPE_TYPEDEF 283
#define LPAREN 284
#define RPAREN 285
#define COMMA 286
#define SEMI 287
#define EXTERN 288
#define INIT 289
#define LBRACE 290
#define RBRACE 291
#define DEFINE 292
#define PERIOD 293
#define CONST 294
#define STRUCT 295
#define UNION 296
#define EQUAL 297
#define SIZEOF 298
#define MODULE 299
#define LBRACKET 300
#define RBRACKET 301
#define ILLEGAL 302
#define CONSTANT 303
#define READONLY 304
#define READWRITE 305
#define NAME 306
#define RENAME 307
#define ADDMETHODS 308
#define PRAGMA 309
#define CVALUE 310
#define COUT 311
#define ENUM 312
#define ENDDEF 313
#define MACRO 314
#define CLASS 315
#define PRIVATE 316
#define PUBLIC 317
#define PROTECTED 318
#define COLON 319
#define STATIC 320
#define VIRTUAL 321
#define FRIEND 322
#define OPERATOR 323
#define THROW 324
#define TEMPLATE 325
#define NATIVE 326
#define INLINE 327
#define RAW_MODE 328
#define ALPHA_MODE 329
#define TEXT 330
#define DOC_DISABLE 331
#define DOC_ENABLE 332
#define STYLE 333
#define LOCALSTYLE 334
#define TYPEMAP 335
#define EXCEPT 336
#define ECHO 337
#define NEW 338
#define APPLY 339
#define CLEAR 340
#define DOCONLY 341
#define TITLE 342
#define SECTION 343
#define SUBSECTION 344
#define SUBSUBSECTION 345
#define LESSTHAN 346
#define GREATERTHAN 347
#define USERDIRECTIVE 348
#define OC_INTERFACE 349
#define OC_END 350
#define OC_PUBLIC 351
#define OC_PRIVATE 352
#define OC_PROTECTED 353
#define OC_CLASS 354
#define OC_IMPLEMENT 355
#define OC_PROTOCOL 356
#define OR 357
#define XOR 358
#define AND 359
#define LSHIFT 360
#define RSHIFT 361
#define PLUS 362
#define MINUS 363
#define STAR 364
#define SLASH 365
#define UMINUS 366
#define NOT 367
#define LNOT 368
#define DCOLON 369
extern YYSTYPE yylval;

View file

@ -1,4 +1,4 @@
# Makefile.in generated automatically by automake 1.4a from Makefile.am
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@ -47,10 +47,9 @@ AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@
NORMAL_INSTALL = :
@ -91,11 +90,8 @@ YFLAGS = @YFLAGS@
AUTOMAKE_OPTIONS = foreign
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include -I$(top_srcdir)/Source/SWILL/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a $(top_builddir)/Source/SWILL/SWILL/libswill.a
SWIG_INCLUDES = -I$(top_srcdir)/Source/DOH/Include
SWIG_LIBS = $(top_builddir)/Source/DOH/Doh/libdoh.a
INCLUDES = $(SWIG_INCLUDES)
@ -127,7 +123,7 @@ DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
TAR = tar
GZIP_ENV = --best
DEP_FILES = .deps/getopt.P .deps/include.P .deps/misc.P .deps/scanner.P \
.deps/super.P .deps/type.P .deps/types.P
@ -217,7 +213,7 @@ distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
cp -pr $$/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@ -278,7 +274,7 @@ uninstall: uninstall-am
all-am: Makefile $(LIBRARIES) $(HEADERS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:

3051
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -451,6 +451,18 @@ AC_SUBST(PERL5EXT)
AC_SUBST(ROOT_DIR)ROOT_DIR=`pwd`
if test ! -r Source/DOH/configure; then
cd Source/DOH
autoconf
cd ../..
fi
if test ! -r Source/SWILL/configure; then
cd Source/SWILL
autoconf
cd ../..
fi
AC_CONFIG_SUBDIRS(Source/SWILL Source/DOH)
AC_OUTPUT(Makefile Source/Makefile Source/Swig/Makefile