|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/make/makeentr.cl |
source navigation diff markup identifier search freetext search file search |
1 ######################################################################## 2 # demo makefile for NCBI applications 3 # THIS IS A DEMO FOR USING CODECENTER UNDER SOLARIS 4 # It makes network entrez. Just copy the entrez.c file from 5 # ncbi/demo to your working directory. The make sets the 6 # paths to the codecenter libraries, includes, and sources for you 7 # 8 # start codecenter from the directory with the entrez.c file from 9 # ncbi/demo and this makefile (called makeentr.cl) 10 # Then type "make -f makeentr.cl Nentrez.src" 11 # It will load, link, and instrument the whole thing, including 12 # all relevant code from the libraries. 13 # Do not be put off by the following message: 14 # CodeCenter cannot display all the requested information 15 # because its size exceeds an internal limit. 16 # This display is truncated. 17 # It is just a display limit. The libraries are all instrumented 18 # ok. 19 # 20 # You can then push "run" 21 # to execute it. 22 # 23 ####################################################################### 24 # 25 # default flags for compiling and loading 26 # 27 ####################################################################### 28 29 include $(NCBI)/ncbi.mk 30 31 CC = $(NCBI_CC) 32 CFLAGS1 = $(NCBI_CFLAGS1) 33 LDFLAGS1 = $(NCBI_LDFLAGS1) 34 OPTFLAG = -g 35 OTHERLIBS = $(NCBI_CLOTHERLIBS) 36 VIBLIBS= $(NCBI_VIBLIBS) 37 VIBFLAG= $(NCBI_VIBFLAG) 38 INCPATH = $(NCBI_CLINCDIR) 39 LIBPATH = $(NCBI_CLLIB) 40 # LIBPATH = $(NCBI_ALTLIB) 41 42 CFLAGS = $(CFLAGS1) $(OPTFLAG) -I$(INCPATH) $(VIBFLAG) 43 LDFLAGS = -I./ -I$(INCPATH) $(OPTFLAG) -L$(LIBPATH) $(VIBFLAG) 44 45 # all NCBI libraries aliased for easy access here 46 LIB1 = -lncbi 47 LIB2 = -lncbiobj 48 LIB3 = -lncbicdr 49 LIB4 = -lvibrant 50 LIB5 = -lncbiacc 51 LIB6 = -lnetcli 52 LIB7 = -lnetentr 53 LIB8 = -lncbiNacc 54 LIB9 = -lncbiCacc 55 # LIB10 is reserved for NCSA socket library 56 LIB10 = 57 LIB11 = -lncbimla 58 LIB12 = -lncbitax 59 LIB13 = -lncbiid0 60 LIB15 = -lnetcliE 61 LIB20 = -lncbidesk 62 LIB22 = -lncbimmdb 63 LIB23 = -lncbitool 64 LIB30 = -lncbicn3d 65 LIB31 = -lvibnet 66 67 ## To clean out the directory without removing make 68 ## 69 70 ## Implicit actions 71 ## 72 ## if need a .o, compile the .c 73 ## 74 75 .c.o : 76 $(CC) $(CFLAGS) $< 77 78 ##################################################################### 79 ## 80 ## Here is where you set up your own things to make 81 ## 82 ##################################################################### 83 84 85 SRC = entrez.c 86 87 88 Nentrez.src : $(SRC) 89 #setopt instrument_space 6 90 #use ./ $(NCBI_ALTSRC) 91 #load $(LDFLAGS) $(SRC) $(LIB31) $(LIB30) $(LIB20) $(LIB22) $(LIB23) $(LIB8) $(LIB7) $(LIB6) $(LIB5) $(LIB4) $(LIB3) $(LIB2) $(LIB1) $(VIBLIBS) $(OTHERLIBS) 92 #link 93 #instrument all 94
|
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |