** This is part of the CTSim program
** Copyright (C) 1983-2001 Kevin Rosenberg
**
-** $Id: dlgezplot.cpp,v 1.1 2001/01/13 04:47:50 kevin Exp $
+** $Id: dlgezplot.cpp,v 1.2 2001/01/13 05:01:15 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef HAVE_WXWINDOWS
#ifdef __GNUG__
noinst_LIBRARIES = libctsim.a
-libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp dlgezplot.cpp
+libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp
INCLUDES=@my_includes@
wxlibs = @wxlibs@
noinst_LIBRARIES = libctsim.a
-libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp
+libctsim_a_SOURCES = filter.cpp scanner.cpp projections.cpp phantom.cpp imagefile.cpp backprojectors.cpp array2dfile.cpp trace.cpp procsignal.cpp reconstruct.cpp fourier.cpp globalvars.cpp dlgezplot.cpp
INCLUDES = @my_includes@
EXTRA_DIST = Makefile.nt
libctsim_a_LIBADD =
libctsim_a_OBJECTS = filter.o scanner.o projections.o phantom.o \
imagefile.o backprojectors.o array2dfile.o trace.o procsignal.o \
-reconstruct.o fourier.o globalvars.o
+reconstruct.o fourier.o globalvars.o dlgezplot.o
AR = ar
CXXFLAGS = @CXXFLAGS@
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
TAR = gtar
GZIP_ENV = --best
-DEP_FILES = .deps/array2dfile.P .deps/backprojectors.P .deps/filter.P \
-.deps/fourier.P .deps/globalvars.P .deps/imagefile.P .deps/phantom.P \
-.deps/procsignal.P .deps/projections.P .deps/reconstruct.P \
-.deps/scanner.P .deps/trace.P
+DEP_FILES = .deps/array2dfile.P .deps/backprojectors.P \
+.deps/dlgezplot.P .deps/filter.P .deps/fourier.P .deps/globalvars.P \
+.deps/imagefile.P .deps/phantom.P .deps/procsignal.P \
+.deps/projections.P .deps/reconstruct.P .deps/scanner.P .deps/trace.P
SOURCES = $(libctsim_a_SOURCES)
OBJECTS = $(libctsim_a_OBJECTS)
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ctsimtext.cpp,v 1.11 2001/01/13 04:44:47 kevin Exp $
+** $Id: ctsimtext.cpp,v 1.12 2001/01/13 05:02:20 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
// If linked to ctsimtext, but executed as another name, eg pjrec, then program will use that
// linked name as name of function.
-static const char* const g_szIdStr = "$Id: ctsimtext.cpp,v 1.11 2001/01/13 04:44:47 kevin Exp $";
+static const char* const g_szIdStr = "$Id: ctsimtext.cpp,v 1.12 2001/01/13 05:02:20 kevin Exp $";
static const char* const s_szProgramName = "ctsimtext";
static const char* const s_szProgramName2 = "ctsimtext.exe";
int iReturn = 0;
if (argc > 1 && (strcmp(argv[0], fileBasename (s_szProgramName)) == 0 || strcmp(argv[0], fileBasename (s_szProgramName2)) == 0)) {
- argv = &argv[1];
+ argv++;
argc--;
- if (argc > 1 && (strcmp(argv[0], fileBasename (s_szProgramName)) == 0 || strcmp(argv[0], fileBasename (s_szProgramName2)) == 0)) {
- argv = &argv[2];
- argc--;
}
iReturn = processCommand (argc, argv);
} else if (argc > 1){