1 # Set of programs to convert UNRES xdrf format (compressed Cartesian coordinates) to PDF
2 # or raw-Cartesian format (*.x) or to extract backbone angular coordinates (*.ang)
3 # The pdb files can be constructed from canonical or MREMD trajectories.
5 # The xdrf library is required
9 # xdrf2pdb : converts a single cx trajectory file to PDB format
10 # xdrf2x : converts a single cx trajectory file to raw-coordinate (x) format
11 # xdrf2ang : extracts backbone angles from a cx trajectory file
12 # xdrf2pdb-m : converts a selected trajectory of a MREMD run dumpend into a cx file to PDB format
14 # xdrf2pdb1 : converts conformation(s) selected from a wham post-processing run into PDB format
15 # xdrf2x1 : converts conformation(s) selected from a wham post-processing run into raw (x) format.
21 BINDIR = ../../../bin/xdrfpdb
31 M4FILE = underscore.m4
35 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
37 ${CC} -c ${CPPFLAGS} $*.c
39 all:xdrf2pdb xdrf2pdb-m
41 xdrf2pdb: xdrf2pdb.o geomout.o misc.o rescode.o nazwy.o xdrf/libxdrf.a
42 ${FC} -Bstatic -o ${BINDIR}/xdrf2pdb xdrf2pdb.o geomout.o rescode.o misc.o nazwy.o xdrf/libxdrf.a
44 xdrf2pdb-m: xdrf2pdb-m.o geomout.o misc.o rescode.o nazwy.o xdrf/libxdrf.a
45 ${FC} -Bstatic -o ${BINDIR}/xdrf2pdb-m xdrf2pdb-m.o geomout.o rescode.o misc.o nazwy.o xdrf/libxdrf.a
47 xdrf2pdb1: xdrf2pdb1.o geomout.o misc.o rescode.o nazwy.o xdrf/libxdrf.a
48 ${FC} -Bstatic -o ${BINDIR}/xdrf2pdb1 xdrf2pdb1.o geomout.o rescode.o misc.o nazwy.o xdrf/libxdrf.a
50 xdrf2x: xdrf2x.o xdrf/libxdrf.a
51 ${FC} -o xdrf2x xdrf2x.o xdrf/libxdrf.a
53 xdrf2x1: xdrf2x1.o xdrf/libxdrf.a
54 ${FC} -o xdrf2x1 xdrf2x1.o xdrf/libxdrf.a
56 xdrf2ang: xdrf2ang.o misc.o rescode.o nazwy.o intcor.o arcos.o xdrf/libxdrf.a
57 ${FC} -Bstatic -o ${BINDIR}/xdrf2ang xdrf2ang.o rescode.o \
58 misc.o nazwy.o intcor.o arcos.o xdrf/libxdrf.a
64 rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean