Fixed compile of makeidx for MinGW
This commit is contained in:
parent
7271c3ce01
commit
8cdf0e148d
|
|
@ -3,8 +3,11 @@
|
||||||
SUBDIRS = misc maths frontend spicelib include @XSPICEDIR@ @CIDERDIR@
|
SUBDIRS = misc maths frontend spicelib include @XSPICEDIR@ @CIDERDIR@
|
||||||
DIST_SUBDIRS = misc maths frontend spicelib include xspice ciderlib
|
DIST_SUBDIRS = misc maths frontend spicelib include xspice ciderlib
|
||||||
|
|
||||||
bin_PROGRAMS = ngspice ngnutmeg nghelp ngsconvert ngproc2mod ngmultidec \
|
bin_PROGRAMS = ngspice ngnutmeg nghelp makeidx
|
||||||
makeidx
|
|
||||||
|
if !WINDOWS
|
||||||
|
bin_PROGRAMS += ngsconvert ngproc2mod ngmultidec
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = ngspice.txt ngspice.idx setplot spectrum \
|
EXTRA_DIST = ngspice.txt ngspice.idx setplot spectrum \
|
||||||
devload devaxis ciderinit winmain.c
|
devload devaxis ciderinit winmain.c
|
||||||
|
|
@ -157,7 +160,6 @@ if !WINDOWS
|
||||||
ngsconvert_SOURCES = ngsconvert.c
|
ngsconvert_SOURCES = ngsconvert.c
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ngsconvert_LDADD = \
|
ngsconvert_LDADD = \
|
||||||
frontend/libfte.a \
|
frontend/libfte.a \
|
||||||
frontend/parser/libparser.a \
|
frontend/parser/libparser.a \
|
||||||
|
|
@ -173,7 +175,6 @@ ngproc2mod_LDADD = \
|
||||||
misc/libmisc.a
|
misc/libmisc.a
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## multidec:
|
## multidec:
|
||||||
|
|
||||||
ngmultidec_SOURCES = ngmultidec.c
|
ngmultidec_SOURCES = ngmultidec.c
|
||||||
|
|
@ -181,6 +182,8 @@ ngmultidec_SOURCES = ngmultidec.c
|
||||||
ngmultidec_LDADD = \
|
ngmultidec_LDADD = \
|
||||||
maths/sparse/libsparse.a \
|
maths/sparse/libsparse.a \
|
||||||
misc/libmisc.a
|
misc/libmisc.a
|
||||||
|
|
||||||
|
endif !WINDOWS
|
||||||
|
|
||||||
## makeidx:
|
## makeidx:
|
||||||
|
|
||||||
|
|
@ -192,8 +195,6 @@ ngspice.idx: makeidx
|
||||||
./makeidx $(srcdir)/ngspice.txt
|
./makeidx $(srcdir)/ngspice.txt
|
||||||
|
|
||||||
|
|
||||||
endif !WINDOWS
|
|
||||||
|
|
||||||
## General Includes and libraries:
|
## General Includes and libraries:
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,13 @@ Copyright 1990 Regents of the University of California. All rights reserved.
|
||||||
|
|
||||||
/* from FILENAME.txt, make FILENAME.idx */
|
/* from FILENAME.txt, make FILENAME.idx */
|
||||||
|
|
||||||
#include "ngspice.h"
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include "cpdefs.h"
|
#include "cpdefs.h"
|
||||||
#include "hlpdefs.h"
|
#include "hlpdefs.h"
|
||||||
#include "suffix.h"
|
#include "suffix.h"
|
||||||
|
|
||||||
|
#define BSIZE_SP 512
|
||||||
|
|
||||||
int
|
int
|
||||||
main(argc, argv)
|
main(argc, argv)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue