# # Makefile file for # ciftbx # cyclops # cif2cif # cif2pdb # cif2xml # # Top level directory # Version of 1 September 2006 # H. J. Bernstein, Bernstein+Sons # # Define the shell to be used by Makefile # #=============== The following definitions may need to be modified for #=============== your system # # The locations of any programs used # The most common alternative are given immediately below M4 = m4 MKDECOMPLN = ./mkdecompln RMDECOMPLN = ./rmdecompln EXPAND = /var/tmp # # The definition of VPATH must be the httpd virtual path to # the directory holding this version of the directory, i.e. # containing the ciftbx_n.n.n directory MANIFEST.html # and README.html must be rebuilt if VPATH changes. #VPATH = NDB/mmcif/software #VPATH = ~yaya/software #VPATH = pb/pdb2cif VPATH = software # # The definition of DECOMP must be the httpd virtual path to # the cgi-bin script decomp.cgi. If this script is not available # define DECOMP as NODECOMP DECOMP = /cgi-bin/yaya/decomp.cgi #DECOMP = /~yaya/cgi-bin/decomp.cgi #DECOMP = /pb/pdb2cif/cgi-bin/decomp.cgi #DECOMP = NODECOMP #DECOMP = /~BernsteH/cgi-bin/decomp.cgi # # # ZPATH = $(DECOMP)/$(VPATH) # SHELL = /bin/sh # # provide the name for the command timer here TIMER = time all: BUILDS PREP README.html: README.html.m4 Makefile -@rm README.html.BAK -@mv README.html README.html.BAK m4 -DGRAPHICS=1 \ -DZPATH=$(ZPATH) -DDECOMP=$(DECOMP) < README.html.m4 \ > README.html BUILDS: $(TIMER) (cd ciftbx.src; make) $(TIMER) (cd cyclops.src; make) $(TIMER) (cd cif2cif.src; make) $(TIMER) (cd cif2pdb.src; make) $(TIMER) (cd cif2xml.src; make) PREP: ./.symlinks chmod 755 mkdecompln chmod 755 rmdecompln touch PREP clean: -$(TIMER) (cd ciftbx.src; make clean) -$(TIMER) (cd cyclops.src; make clean) -$(TIMER) (cd cif2cif.src; make clean) -$(TIMER) (cd cif2pdb.src; make clean) -$(TIMER) (cd cif2xml.src; make clean) tests: -$(TIMER) (cd ciftbx.src; make tests) -$(TIMER) (cd cyclops.src; make tests) -$(TIMER) (cd cif2cif.src; make tests) -$(TIMER) (cd cif2pdb.src; make tests) -$(TIMER) (cd cif2xml.src; make tests) shars: -$(TIMER) (cd ciftbx.src; make shars) -$(TIMER) (cd cyclops.src; make shars) -$(TIMER) (cd cif2cif.src; make shars) -$(TIMER) (cd cif2pdb.src; make shars) -$(TIMER) (cd cif2xml.src; make shars) distclean: clean -rm PREP -$(TIMER) (cd ciftbx.src; make distclean) -$(TIMER) (cd cyclops.src; make distclean) -$(TIMER) (cd cif2cif.src; make distclean) -$(TIMER) (cd cif2pdb.src; make distclean) -$(TIMER) (cd cif2xml.src; make distclean)