mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 12:52:28 -04:00
Remove several unused files, and update Makefile.linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3556 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
826929599b
commit
e8cc4a572b
64
fftw3.f
64
fftw3.f
@ -1,64 +0,0 @@
|
|||||||
INTEGER FFTW_R2HC
|
|
||||||
PARAMETER (FFTW_R2HC=0)
|
|
||||||
INTEGER FFTW_HC2R
|
|
||||||
PARAMETER (FFTW_HC2R=1)
|
|
||||||
INTEGER FFTW_DHT
|
|
||||||
PARAMETER (FFTW_DHT=2)
|
|
||||||
INTEGER FFTW_REDFT00
|
|
||||||
PARAMETER (FFTW_REDFT00=3)
|
|
||||||
INTEGER FFTW_REDFT01
|
|
||||||
PARAMETER (FFTW_REDFT01=4)
|
|
||||||
INTEGER FFTW_REDFT10
|
|
||||||
PARAMETER (FFTW_REDFT10=5)
|
|
||||||
INTEGER FFTW_REDFT11
|
|
||||||
PARAMETER (FFTW_REDFT11=6)
|
|
||||||
INTEGER FFTW_RODFT00
|
|
||||||
PARAMETER (FFTW_RODFT00=7)
|
|
||||||
INTEGER FFTW_RODFT01
|
|
||||||
PARAMETER (FFTW_RODFT01=8)
|
|
||||||
INTEGER FFTW_RODFT10
|
|
||||||
PARAMETER (FFTW_RODFT10=9)
|
|
||||||
INTEGER FFTW_RODFT11
|
|
||||||
PARAMETER (FFTW_RODFT11=10)
|
|
||||||
INTEGER FFTW_FORWARD
|
|
||||||
PARAMETER (FFTW_FORWARD=-1)
|
|
||||||
INTEGER FFTW_BACKWARD
|
|
||||||
PARAMETER (FFTW_BACKWARD=+1)
|
|
||||||
INTEGER FFTW_MEASURE
|
|
||||||
PARAMETER (FFTW_MEASURE=0)
|
|
||||||
INTEGER FFTW_DESTROY_INPUT
|
|
||||||
PARAMETER (FFTW_DESTROY_INPUT=1)
|
|
||||||
INTEGER FFTW_UNALIGNED
|
|
||||||
PARAMETER (FFTW_UNALIGNED=2)
|
|
||||||
INTEGER FFTW_CONSERVE_MEMORY
|
|
||||||
PARAMETER (FFTW_CONSERVE_MEMORY=4)
|
|
||||||
INTEGER FFTW_EXHAUSTIVE
|
|
||||||
PARAMETER (FFTW_EXHAUSTIVE=8)
|
|
||||||
INTEGER FFTW_PRESERVE_INPUT
|
|
||||||
PARAMETER (FFTW_PRESERVE_INPUT=16)
|
|
||||||
INTEGER FFTW_PATIENT
|
|
||||||
PARAMETER (FFTW_PATIENT=32)
|
|
||||||
INTEGER FFTW_ESTIMATE
|
|
||||||
PARAMETER (FFTW_ESTIMATE=64)
|
|
||||||
INTEGER FFTW_ESTIMATE_PATIENT
|
|
||||||
PARAMETER (FFTW_ESTIMATE_PATIENT=128)
|
|
||||||
INTEGER FFTW_BELIEVE_PCOST
|
|
||||||
PARAMETER (FFTW_BELIEVE_PCOST=256)
|
|
||||||
INTEGER FFTW_DFT_R2HC_ICKY
|
|
||||||
PARAMETER (FFTW_DFT_R2HC_ICKY=512)
|
|
||||||
INTEGER FFTW_NONTHREADED_ICKY
|
|
||||||
PARAMETER (FFTW_NONTHREADED_ICKY=1024)
|
|
||||||
INTEGER FFTW_NO_BUFFERING
|
|
||||||
PARAMETER (FFTW_NO_BUFFERING=2048)
|
|
||||||
INTEGER FFTW_NO_INDIRECT_OP
|
|
||||||
PARAMETER (FFTW_NO_INDIRECT_OP=4096)
|
|
||||||
INTEGER FFTW_ALLOW_LARGE_GENERIC
|
|
||||||
PARAMETER (FFTW_ALLOW_LARGE_GENERIC=8192)
|
|
||||||
INTEGER FFTW_NO_RANK_SPLITS
|
|
||||||
PARAMETER (FFTW_NO_RANK_SPLITS=16384)
|
|
||||||
INTEGER FFTW_NO_VRANK_SPLITS
|
|
||||||
PARAMETER (FFTW_NO_VRANK_SPLITS=32768)
|
|
||||||
INTEGER FFTW_NO_VRECURSE
|
|
||||||
PARAMETER (FFTW_NO_VRECURSE=65536)
|
|
||||||
INTEGER FFTW_NO_SIMD
|
|
||||||
PARAMETER (FFTW_NO_SIMD=131072)
|
|
@ -34,7 +34,7 @@ OBJS1 = pctile.o graycode.o sort.o ssort.o \
|
|||||||
fil3.o decoder.o grid2n.o n2grid.o timer.o \
|
fil3.o decoder.o grid2n.o n2grid.o timer.o \
|
||||||
softsym.o peakdt9.o getlags.o afc9.o fchisq.o \
|
softsym.o peakdt9.o getlags.o afc9.o fchisq.o \
|
||||||
twkfreq.o downsam9.o symspec2.o ipcomm.o sleep_msec.o \
|
twkfreq.o downsam9.o symspec2.o ipcomm.o sleep_msec.o \
|
||||||
stdmsg.o sec_midn.o cutil.o azdist.o geodist.o morse.o \
|
stdmsg.o sec_midn.o usleep.o azdist.o geodist.o morse.o \
|
||||||
fillcom.o chkss2.o zplot9.o flat2.o \
|
fillcom.o chkss2.o zplot9.o flat2.o \
|
||||||
jt65a.o symspec65.o flat65.o ccf65.o decode65a.o \
|
jt65a.o symspec65.o flat65.o ccf65.o decode65a.o \
|
||||||
filbig.o fil6521.o afc65b.o decode65b.o setup65.o \
|
filbig.o fil6521.o afc65b.o decode65b.o setup65.o \
|
||||||
|
93
lib/cutil.c
93
lib/cutil.c
@ -1,93 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
// #include <sys/times.h>
|
|
||||||
// #include <time.h>
|
|
||||||
// #include <sys/time.h>
|
|
||||||
#include "sleep.h"
|
|
||||||
#include "timeval.h"
|
|
||||||
|
|
||||||
/* FORTRAN: fd = close(filedes) */
|
|
||||||
int close_(int *filedes)
|
|
||||||
{
|
|
||||||
return(close(*filedes));
|
|
||||||
}
|
|
||||||
/* FORTRAN: fd = open(filnam,mode) */
|
|
||||||
int open_(char filnam[], int *mode)
|
|
||||||
{
|
|
||||||
return(open(filnam,*mode));
|
|
||||||
}
|
|
||||||
/* FORTRAN: fd = creat(filnam,mode) */
|
|
||||||
int creat_(char filnam[],int *mode)
|
|
||||||
{
|
|
||||||
return(creat(filnam,*mode));
|
|
||||||
}
|
|
||||||
/* FORTRAN: nread = read(fd,buf,n) */
|
|
||||||
int read_(int *fd, char buf[], int *n)
|
|
||||||
{
|
|
||||||
return(read(*fd,buf,*n));
|
|
||||||
}
|
|
||||||
/* FORTRAN: nwrt = write(fd,buf,n) */
|
|
||||||
int write_(int *fd, char buf[], int *n)
|
|
||||||
{
|
|
||||||
return(write(*fd,buf,*n));
|
|
||||||
}
|
|
||||||
/* FORTRAN: ns = lseek(fd,offset,origin) */
|
|
||||||
int lseek_(int *fd,int *offset, int *origin)
|
|
||||||
{
|
|
||||||
return(lseek(*fd,*offset,*origin));
|
|
||||||
}
|
|
||||||
/* times(2) */
|
|
||||||
//int times_(struct tms *buf)
|
|
||||||
//{
|
|
||||||
// return (times(buf));
|
|
||||||
//}
|
|
||||||
/* ioperm(2) */
|
|
||||||
//ioperm_(from,num,turn_on)
|
|
||||||
//unsigned long *from,*num,*turn_on;
|
|
||||||
//{
|
|
||||||
// return (ioperm(*from,*num,*turn_on));
|
|
||||||
// return (i386_get_ioperm(*from,*num,*turn_on));
|
|
||||||
//}
|
|
||||||
|
|
||||||
/* usleep(3) */
|
|
||||||
void usleep_(unsigned long *microsec)
|
|
||||||
{
|
|
||||||
usleep(*microsec);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* returns random numbers between 0 and 32767 to FORTRAN program */
|
|
||||||
int iran_(int *arg)
|
|
||||||
{
|
|
||||||
return (rand());
|
|
||||||
}
|
|
||||||
|
|
||||||
int exit_(int *n)
|
|
||||||
{
|
|
||||||
printf("\n\n");
|
|
||||||
exit(*n);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
struct tm *
|
|
||||||
gmtime_r_(const time_t *clock, struct tm *result)
|
|
||||||
{
|
|
||||||
gmtime_r(clock, result);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
time_t time_(void)
|
|
||||||
{
|
|
||||||
return time(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* hrtime() */
|
|
||||||
double hrtime_(void)
|
|
||||||
{
|
|
||||||
struct timeval tv;
|
|
||||||
gettimeofday(&tv,NULL);
|
|
||||||
return(tv.tv_sec+1.e-6*tv.tv_usec);
|
|
||||||
}
|
|
@ -1,75 +0,0 @@
|
|||||||
/*
|
|
||||||
* timeval.h 1.0 01/12/19
|
|
||||||
*
|
|
||||||
* Defines gettimeofday, timeval, etc. for Win32
|
|
||||||
*
|
|
||||||
* By Wu Yongwei
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _TIMEVAL_H
|
|
||||||
#define _TIMEVAL_H
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
|
||||||
#include <windows.h>
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#ifndef __GNUC__
|
|
||||||
#define EPOCHFILETIME (116444736000000000i64)
|
|
||||||
#else
|
|
||||||
#define EPOCHFILETIME (116444736000000000LL)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//struct timeval {
|
|
||||||
// long tv_sec; /* seconds */
|
|
||||||
// long tv_usec; /* microseconds */
|
|
||||||
//};
|
|
||||||
|
|
||||||
/*
|
|
||||||
struct timezone {
|
|
||||||
int tz_minuteswest; // minutes W of Greenwich
|
|
||||||
int tz_dsttime; // type of dst correction
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
__inline int gettimeofday(struct timeval *tv, struct timezone *tz)
|
|
||||||
{
|
|
||||||
FILETIME ft;
|
|
||||||
LARGE_INTEGER li;
|
|
||||||
__int64 t;
|
|
||||||
static int tzflag;
|
|
||||||
|
|
||||||
if (tv)
|
|
||||||
{
|
|
||||||
GetSystemTimeAsFileTime(&ft);
|
|
||||||
li.LowPart = ft.dwLowDateTime;
|
|
||||||
li.HighPart = ft.dwHighDateTime;
|
|
||||||
t = li.QuadPart; /* In 100-nanosecond intervals */
|
|
||||||
t -= EPOCHFILETIME; /* Offset to the Epoch time */
|
|
||||||
t /= 10; /* In microseconds */
|
|
||||||
tv->tv_sec = (long)(t / 1000000);
|
|
||||||
tv->tv_usec = (long)(t % 1000000);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tz)
|
|
||||||
{
|
|
||||||
if (!tzflag)
|
|
||||||
{
|
|
||||||
_tzset();
|
|
||||||
tzflag++;
|
|
||||||
}
|
|
||||||
tz->tz_minuteswest = _timezone / 60;
|
|
||||||
tz->tz_dsttime = _daylight;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#else /* _WIN32 */
|
|
||||||
|
|
||||||
#include <sys/time.h>
|
|
||||||
|
|
||||||
#endif /* _WIN32 */
|
|
||||||
|
|
||||||
#endif /* _TIMEVAL_H */
|
|
@ -1,4 +1,4 @@
|
|||||||
//--------------------------------------------------------------- MainWindow
|
//-------------------------------------------------------------- MainWindow
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user