Compare commits

..

2 commits

Author SHA1 Message Date
5e8a7a2520 add: use shell to set env 2023-04-14 02:03:22 +08:00
82b82d9e1d fix: compile all 2023-04-14 02:02:58 +08:00
52 changed files with 33 additions and 11 deletions

Binary file not shown.

BIN
bin/bap

Binary file not shown.

Binary file not shown.

BIN
bin/cop

Binary file not shown.

Binary file not shown.

BIN
bin/dap

Binary file not shown.

BIN
bin/frog

Binary file not shown.

Binary file not shown.

BIN
bin/gip

Binary file not shown.

BIN
bin/lip

Binary file not shown.

Binary file not shown.

BIN
bin/mep

Binary file not shown.

BIN
bin/nip

Binary file not shown.

BIN
bin/nipf

Binary file not shown.

BIN
bin/nipl

Binary file not shown.

BIN
bin/pip

Binary file not shown.

BIN
bin/pipl

Binary file not shown.

BIN
bin/rep

Binary file not shown.

BIN
bin/sap

Binary file not shown.

BIN
bin/sapf

Binary file not shown.

Binary file not shown.

BIN
bin/sip

Binary file not shown.

BIN
bin/sipl

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/ted

Binary file not shown.

Binary file not shown.

BIN
bin/vep

Binary file not shown.

BIN
bin/xbap

Binary file not shown.

BIN
bin/xdap

Binary file not shown.

BIN
bin/xmep

Binary file not shown.

BIN
bin/xnip

Binary file not shown.

BIN
bin/xpip

Binary file not shown.

BIN
bin/xsap

Binary file not shown.

BIN
bin/xsip

Binary file not shown.

2
shell/bap Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
env STADTABL=/usr/share/staden-lg/tables STADUSER=/usr/share/staden-lg/userdata STADHELP=/usr/share/staden-lg/help HELPBAP=/usr/share/staden-lg/help/dap_help BAPHELP=/usr/share/staden-lg/help/BAP.HLP BAPHPNT=/usr/share/staden-lg/help/BAP.PNT BAPMARG=/usr/share/staden-lg/help/BAP.MRG TAGDB=/usr/share/staden-lg/tables/TAGDB /usr/share/staden-lg/bin/bap

2
shell/dap Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
env STADTABL=/usr/share/staden-lg/tables STADUSER=/usr/share/staden-lg/userdata STADHELP=/usr/share/staden-lg/help HELPDAP=/usr/share/staden-lg/help/dap_help DAPHELP=/usr/share/staden-lg/help/DAP.HLP DAPHPNT=/usr/share/staden-lg/help/DAP.PNT DAPMARG=/usr/share/staden-lg/help/DAP.MRG TAGDB=/usr/share/staden-lg/tables/TAGDB /usr/share/staden-lg/bin/dap

2
shell/mep Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
env STADTABL=/usr/share/staden-lg/tables STADUSER=/usr/share/staden-lg/userdata STADHELP=/usr/share/staden-lg/help HELPMEP=/usr/share/staden-lg/help/dap_help MEPHELP=/usr/share/staden-lg/help/MEP.HLP MEPHPNT=/usr/share/staden-lg/help/MEP.PNT MEPMARG=/usr/share/staden-lg/help/MEP.MRG TAGDB=/usr/share/staden-lg/tables/TAGDB /usr/share/staden-lg/bin/mep

2
shell/nipf Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
env STADTABL=/usr/share/staden-lg/tables STADUSER=/usr/share/staden-lg/userdata STADHELP=/usr/share/staden-lg/help HELPNIP=/usr/share/staden-lg/help/dap_help NIPHELP=/usr/share/staden-lg/help/NIP.HLP NIPHPNT=/usr/share/staden-lg/help/NIP.PNT NIPMARG=/usr/share/staden-lg/help/NIP.MRG TAGDB=/usr/share/staden-lg/tables/TAGDB /usr/share/staden-lg/bin/nipf

2
shell/sap Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
env STADTABL=/usr/share/staden-lg/tables STADUSER=/usr/share/staden-lg/userdata STADHELP=/usr/share/staden-lg/help HELPSAP=/usr/share/staden-lg/help/dap_help SAPHELP=/usr/share/staden-lg/help/SAP.HLP SAPHPNT=/usr/share/staden-lg/help/SAP.PNT SAPMARG=/usr/share/staden-lg/help/SAP.MRG TAGDB=/usr/share/staden-lg/tables/TAGDB /usr/share/staden-lg/bin/sap

2
shell/xbap Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
env STADTABL=/usr/share/staden-lg/tables STADUSER=/usr/share/staden-lg/userdata STADHELP=/usr/share/staden-lg/help HELPBAP=/usr/share/staden-lg/help/dap_help BAPHELP=/usr/share/staden-lg/help/BAP.HLP BAPHPNT=/usr/share/staden-lg/help/BAP.PNT BAPMARG=/usr/share/staden-lg/help/BAP.MRG TAGDB=/usr/share/staden-lg/tables/TAGDB /usr/share/staden-lg/bin/xbap

2
shell/xdap Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
env STADTABL=/usr/share/staden-lg/tables STADUSER=/usr/share/staden-lg/userdata STADHELP=/usr/share/staden-lg/help HELPDAP=/usr/share/staden-lg/help/dap_help DAPHELP=/usr/share/staden-lg/help/DAP.HLP DAPHPNT=/usr/share/staden-lg/help/DAP.PNT DAPMARG=/usr/share/staden-lg/help/DAP.MRG TAGDB=/usr/share/staden-lg/tables/TAGDB /usr/share/staden-lg/bin/xdap

2
shell/xmep Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
env STADTABL=/usr/share/staden-lg/tables STADUSER=/usr/share/staden-lg/userdata STADHELP=/usr/share/staden-lg/help HELPMEP=/usr/share/staden-lg/help/dap_help MEPHELP=/usr/share/staden-lg/help/MEP.HLP MEPHPNT=/usr/share/staden-lg/help/MEP.PNT MEPMARG=/usr/share/staden-lg/help/MEP.MRG TAGDB=/usr/share/staden-lg/tables/TAGDB /usr/share/staden-lg/bin/xmep

2
shell/xsap Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
env STADTABL=/usr/share/staden-lg/tables STADUSER=/usr/share/staden-lg/userdata STADHELP=/usr/share/staden-lg/help HELPSAP=/usr/share/staden-lg/help/dap_help SAPHELP=/usr/share/staden-lg/help/SAP.HLP SAPHPNT=/usr/share/staden-lg/help/SAP.PNT SAPMARG=/usr/share/staden-lg/help/SAP.MRG TAGDB=/usr/share/staden-lg/tables/TAGDB /usr/share/staden-lg/bin/xsap

Binary file not shown.

Binary file not shown.

View file

@ -5,7 +5,8 @@
# #
# Programs made by this makefile # Programs made by this makefile
# #
PROGS = getABISampleName PROGS = getABISampleName 2rs
all: $(PROGS)
# #
# Where the wild things are # Where the wild things are
@ -26,6 +27,8 @@ LDFLAGS = -g
getABISampleName: getABISampleName.o getABISampleName: getABISampleName.o
$(LD) $(LDFLAGS) -o getABISampleName getABISampleName.o $(LD) $(LDFLAGS) -o getABISampleName getABISampleName.o
2rs: 2rs.o
$(LD) $(LDFLAGS) -o 2rs 2rs.o
# #
# Special dependencies # Special dependencies

View file

@ -6,7 +6,7 @@
# Programs made by this makefile # Programs made by this makefile
# #
PROGS = cop cop-bap PROGS = cop cop-bap
all: $(PROGS)
# #
# Where the wild things are # Where the wild things are
# #

View file

@ -23,7 +23,7 @@
# Programs made by this makefile # Programs made by this makefile
# #
PROGS = getMCH trace2seq PROGS = getMCH trace2seq
all: $(PROGS)
# #
# Where the wild things are # Where the wild things are
# #

View file

@ -13,7 +13,7 @@ static FILE *out;
static int line_comp(char *ex, char *in, int l) static int line_comp(char *ex, char *in, int l)
/* /*
** Compare exclude line with inline ** Compare exclude line with cinline
*/ */
{ {
return strncmp(ex,in+11,l); return strncmp(ex,in+11,l);
@ -28,13 +28,13 @@ static void process()
*/ */
{ {
char exline[MAXLINE]; char exline[MAXLINE];
char inline[MAXLINE]; char cinline[MAXLINE];
char *exok, *inok; char *exok, *inok;
int compare; int compare;
exok = fgets(exline,MAXLINE,ex); exok = fgets(exline,MAXLINE,ex);
inok = fgets(inline,MAXLINE,in); inok = fgets(cinline,MAXLINE,in);
while (exok && inok) { while (exok && inok) {
@ -43,15 +43,15 @@ static void process()
if (compare < 0) if (compare < 0)
exok = fgets(exline,MAXLINE,ex); exok = fgets(exline,MAXLINE,ex);
else if (compare > 0) { else if (compare > 0) {
fprintf(out,"%s",inline); fprintf(out,"%s",cinline);
inok = fgets(inline,MAXLINE,in); inok = fgets(cinline,MAXLINE,in);
} else } else
inok = fgets(inline,MAXLINE,in); inok = fgets(cinline,MAXLINE,in);
} }
while (inok = fgets(inline,MAXLINE,in)) while (inok = fgets(cinline,MAXLINE,in))
fprintf(out,"%s",inline); fprintf(out,"%s",cinline);
} }

View file

@ -2,6 +2,7 @@
# indexseqlibs - Alpha version # indexseqlibs - Alpha version
# #
all: $(PROGS)
# #
# Programs need making # Programs need making