|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/biostruc/make.vastsrv |
source navigation diff markup identifier search freetext search file search |
1 ####################################################################### 2 # 3 # This makefile is now used to make both the flat file (suffix "FF") 4 # and pubstruct (suffix "PS") production versions of vastsrv. The 5 # previous version (6.24) was used only for building the flat file version. 6 # 7 # Historical comments that are no longer relevant have been removed. 8 # 9 ####################################################################### 10 # 11 # $Log: make.vastsrv,v $ 12 # Revision 6.12 2000/06/23 22:35:57 lewisg 13 # get rid of hardcoded urls 14 # 15 # Revision 6.11 1999/07/26 14:30:31 zimmerma 16 # Reorganized lines dealing with debug vs production build 17 # 18 # Revision 6.10 1999/06/11 19:38:00 zimmerma 19 # new make for both binaries - file & pubstruct retrieval 20 # 21 # 22 ####################################################################### 23 24 # Define sybase libs before ncbi.mk to allow them to be overridden: 25 NCBI_SYBLIBS_CT = -L$(NCBI_SYBASE)/lib -lblk -lct -lcs -ltcl -lcomn -lintl 26 27 include $(NCBI)/ncbi.mk 28 CC = $(NCBI_CC) 29 CFLAGS1 = -c 30 OTHERLIBS = -lm 31 INCPATH = $(NCBI_INCDIR) 32 33 #development mode 34 # OPTFLAG = -g 35 # LIBPATH = $(NCBI_ALTLIB) 36 37 #production mode 38 OPTFLAG = $(NCBI_OPTFLAG) 39 LIBPATH = $(NCBI_LIBDIR) 40 41 SHARED_SRC = vastsrv.c vastlocl.c vast2mage.c vast2pdb.c vast2cn3d.c vastsubs.c \ 42 vastchkid.c mkbioseq_vs.c mkbioseqA.c mkbioseqB.c 43 44 SRC_FF = $(SHARED_SRC) mmdbFF.c 45 SRC_PS = $(SHARED_SRC) mmdb_pubstruct.c PubStructAsn.c 46 47 CFLAGS = $(CFLAGS1) $(OPTFLAG) -I$(INCPATH) 48 LDFLAGS = -I$(INCPATH) $(OPTFLAG) -L../lib -L$(LIBPATH) 49 50 LIB1 = -lncbi 51 LIB2 = -lncbiobj 52 LIB3 = -lncbicdr 53 LIB6 = -lnetcli 54 LIB7 = -lnetentr 55 LIB8 = -lncbiNacc 56 LIB22 = -lncbimmdb 57 LIB28 = -lncbimsc1 58 LIB29 = -lncbiwww 59 60 ## if need a .o, compile the .c 61 62 .c.o : 63 $(CC) $(CFLAGS) $< 64 65 ## make individual applications and components 66 ##$ 67 68 vastsrv.FF : $(SRC_FF) 69 $(CC) -o $@ -I./ $(LDFLAGS) $(SRC_FF) \ 70 $(LIB29) $(LIB22) $(LIB8) $(LIB7) $(LIB6) $(LIB3) $(LIB2) $(LIB1) \ 71 $(LIB28) $(NCBI_OTHERLIBS) 72 73 vastsrv.PS : $(SRC_PS) 74 $(CC) -o $@ -I./ $(LDFLAGS) $(NCBI_SYBFLAG) $(SRC_PS) -lnlmzip -lctutils $(NCBI_SYBLIBS_CT) \ 75 $(LIB29) $(LIB22) $(LIB8) $(LIB7) $(LIB6) $(LIB3) $(LIB2) $(LIB1) \ 76 $(LIB28) $(NCBI_OTHERLIBS)
|
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |