NCBI C Toolkit Cross Reference

C/biostruc/make.mmdbsrv


  1 #######################################################################
  2 #
  3 # This makefile is now used to make both the flat file (suffix "FF")
  4 # and pubstruct (suffix "PS") production versions of mmdbsrv. The
  5 # previous version (6.24) was used only for building the pubstruct version.
  6 #
  7 # Historical comments that are no longer relevant have been removed.
  8 #
  9 #######################################################################
 10 #
 11 # $Log: make.mmdbsrv,v $
 12 # Revision 6.27  2000/06/23 22:35:56  lewisg
 13 # get rid of hardcoded urls
 14 #
 15 # Revision 6.26  1999/06/11 19:56:29  zimmerma
 16 # new makefiles
 17 #
 18 # 
 19 #######################################################################
 20 
 21 # Define sybase libs before ncbi.mk to allow them to be overridden:
 22 NCBI_SYBLIBS_CT = -L$(NCBI_SYBASE)/lib -lblk -lct -lcs -ltcl -lcomn -lintl
 23 
 24 include $(NCBI)/ncbi.mk
 25 CC = $(NCBI_CC)
 26 CFLAGS1 = -c
 27 OTHERLIBS = -lm
 28 INCPATH = $(NCBI_INCDIR)
 29 
 30 #development mode
 31 #OPTFLAG = -g
 32 #LIBPATH = $(NCBI_ALTLIB)
 33 
 34 #production mode
 35 OPTFLAG = $(NCBI_OPTFLAG)
 36 # LIBPATH = ../lib
 37 LIBPATH = $(NCBI_LIBDIR)
 38 
 39 # SYMBOLS FOR flat file source, executables.
 40 
 41 SRC_FF = mmdbsrv.c mmdbFF.c
 42 SRC_PS = mmdbsrv.c mmdb_pubstruct.c PubStructAsn.c
 43 
 44 CFLAGS = $(CFLAGS1) $(OPTFLAG) -I$(INCPATH) 
 45 LDFLAGS = -I$(INCPATH) $(OPTFLAG) -L../lib -L$(LIBPATH)
 46 
 47 # The current list of NCBI libraries copied from makenet.unx
 48 
 49 LIB1 = -lncbi
 50 LIB2 = -lncbiobj
 51 LIB3 = -lncbicdr
 52 LIB6 = -lnetcli
 53 LIB7 = -lnetentr
 54 LIB8 = -lncbiNacc
 55 LIB22 = -lncbimmdb
 56 
 57 # Implicit actions
 58 
 59 # if need a .o, compile the .c
 60 .c.o :
 61         $(CC) $(CFLAGS) $<
 62 
 63 ## make individual applications and components
 64 ##$
 65 
 66 mmdbsrv.FF : $(SRC_FF)
 67         $(CC) -o $@ -I./ $(LDFLAGS) $(SRC_FF) \
 68         $(LIB22) $(LIB8) $(LIB7) $(LIB6) $(LIB3) $(LIB2) $(LIB1) $(NCBI_OTHERLIBS) 
 69 
 70 mmdbsrv.PS : $(SRC_PS)
 71         $(CC) -o $@ -I./ $(LDFLAGS) $(NCBI_SYBFLAG) $(SRC_PS) -lnlmzip -lctutils $(NCBI_SYBLIBS_CT) \
 72         $(LIB22) $(LIB8) $(LIB7) $(LIB6) $(LIB3) $(LIB2) $(LIB1) $(NCBI_OTHERLIBS)

source navigation ]   [ diff markup ]   [ identifier search ]   [ freetext search ]   [ file search ]  

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.