# This file was generated by configure -- don't edit it! FC = FOPTIM = COPTIM = XFFLAGS = XCFLAGS = FFLAGS = $(FOPTIM) $(XFFLAGS) LDFLAGS = -L$(CCP4_LIB) -lccp4 CFLAGS = $(COPTIM) $(XCFLAGS) XDL_LIB = /Users/proclus/temp/ccp4-darwin/lib/libxdl_view.a XWIN_LIB = $(XDL_LIB) -lX11 -lXt CC = LNS = SETFLAGS = F = INSTALL_PROGRAM = INSTALL_DATA = ############################################################# # Makefile.in for automated installation of CCP4 Xwindows progs ############################################################# # Author A.W.Ashton - although Im not sure I want the blame # 30/04/1998 for it! # SHELL = /bin/sh srcdir = $(top_srcdir)/x-windows incdir = $(top_srcdir)/../lib/src LIB_DIR = ../lib/src #where to pick up libccp4.a # xdl_view # The entry in this file will reproduce the make # file in the $CCP4/x-window/xdl_view/src # # hklview # Compiles the program in $CCP4/x-window. # # ipdisp.exe # Compiles the program in $CCP4/x-window. # # xdlgjk # Compiles the program in $CCP4/x-window. # # XCCPJIFFY # Like rasmol it goes into the directory, runs xmkmf and then make. # This will only work if system is IRIX 5+. Will adapt. # The Make part is added by the configure script. # # Rasmol # Goes into the RasMol directory, runs xmkmf and then make. # This does not account for any changes needed in rasmol.h. # # all # all : xdlview hklview ipdisp.exe xdlgjk xjiffy rasmol # # xdl_view # xdlview_dir = $(srcdir)/xdl_view/src xdlview : cd $(xdlview_dir) ; \ $(MAKE) $(MFLAGS) ; \ $(MAKE) install # # hklview # hklview_dir = $(srcdir)/hklview_ hklview_obj = hklview.o hklview : $(hklview_obj) $(FC) $(FFLAGS) -o hklview hklview.o ${LDFLAGS} ${XWIN_LIB} $(hklview_obj): $(FC) $(FFLAGS) -I$(hklview_dir) -c $(hklview_dir)/hklview.f # # ipdisp.exe # ipdisp_dir = $(srcdir)/ipdisp/src ipdisp_obj = ipdisp.o dskio.o pck.o ipdisp.exe : $(ipdisp_obj) $(FC) $(FFLAGS) -o ipdisp.exe $(ipdisp_obj) ${LDFLAGS} ${XWIN_LIB} ipdisp.o: $(FC) $(FFLAGS) -I$(ipdisp_dir) -c $(ipdisp_dir)/ipdisp.f dskio.o: $(CC) $(CFLAGS) -O -I$(ipdisp_dir) -c $(ipdisp_dir)/dskio.c pck.o: $(CC) $(CFLAGS) -O -I$(ipdisp_dir) -c $(ipdisp_dir)/pck.c # # xdlgjk # xdlgjk_obj = xdl_gksubs.o gkccp4_subs.o xdlmapman_objs = xdlmapman.o xdlmapman_subs.o xdldataman_objs = xdldataman.o xdldataman_subs.o xps_graf.o xdlgjk_dir = $(srcdir)/xdlgjk xdlgjk : xdlmapman xdldataman xdlmapman : $(xdlgjk_obj) $(xdlmapman_objs) $(FC) $(FFLAGS) -o xdlmapman $(xdlgjk_obj) $(xdlmapman_objs) ${LDFLAGS} ${XWIN_LIB} $(xdlmapman_objs) : @$(SETFLAGS) pwd=`pwd` ; \ cd $(xdlgjk_dir); \ echo $(FC) $(FFLAGS) -c -o $$pwd/$@ $(xdlgjk_dir)/`basename $@ .o`.f ;\ eval $(FC) $(FFLAGS) -c -o $$pwd/$@ $(xdlgjk_dir)/`basename $@ .o`.f xdldataman : $(xdlgjk_obj) $(xdldataman_objs) $(FC) $(FFLAGS) -o xdldataman $(xdlgjk_obj) $(xdldataman_objs) ${LDFLAGS} ${XWIN_LIB} $(xdldataman_objs) : @$(SETFLAGS) pwd=`pwd` ; \ cd $(xdlgjk_dir); \ echo $(FC) $(FFLAGS) -c -o $$pwd/$@ $(xdlgjk_dir)/`basename $@ .o`.f ;\ eval $(FC) $(FFLAGS) -c -o $$pwd/$@ $(xdlgjk_dir)/`basename $@ .o`.f $(xdlgjk_obj) : @$(SETFLAGS) pwd=`pwd` ; \ cd $(xdlgjk_dir); \ echo $(FC) $(FFLAGS) -c -o $$pwd/$@ $(xdlgjk_dir)/`basename $@ .o`.f ;\ eval $(FC) $(FFLAGS) -c -o $$pwd/$@ $(xdlgjk_dir)/`basename $@ .o`.f # XCCPJIFFY # xjiffy_dir = $(srcdir)/XCCPJIFFY xjiffy : cd $(xjiffy_dir) ; \ xmkmf ; \ $(MAKE) $(MFLAGS) # # Rasmol # rasmol_dir = $(srcdir)/RasMol/src rasmol: cd $(rasmol_dir) ; \ xmkmf ; \ $(MAKE) $(MFLAGS) # # install - not yet installed! # install_obj = ipdisp/ipdisp ipdisp.exe hklview xdldataman xdlmapman install: all $(INSTALL_PROGRAM) $(srcdir)/ipdisp/ipdisp $(bindir) $(INSTALL_PROGRAM) $(srcdir)/ipdisp.exe $(bindir) $(INSTALL_PROGRAM) $(srcdir)/hklview $(bindir) $(INSTALL_PROGRAM) $(srcdir)/xdldataman $(bindir) $(INSTALL_PROGRAM) $(srcdir)/xdlmapman $(bindir) cd $(srcdir)/XCCPJIFFY ; $(MAKE) install $(INSTALL_PROGRAM) $(rasmol_dir)/rasmol $(bindir) # # clean # clean : find . -name "*.o" -exec /bin/rm {} \; realclean: clean cd $(srcdir) /bin/rm -f ipdisp.exe hklview xdldataman xdlmapman cd $(srcdir)/XCCPJIFFY ; $(MAKE) clean ;\ cd $(xdlview_dir) ; $(MAKE) clean empty-targets: for i in $(install_obj) ; do \ test -s $$i && rm -f $$i && touch $$i || true ;\ done uninstall: for i in $(install_obj); do \ rm -f $(bindir)/$$i ;\ done FORCE : ; # Attempt at some dependencies: # hklview hklview.o: $(hklview_dir)/hklview.f $(hklview_dir)/dsplyc.h \ $(hklview_dir)/imagec.h $(hklview_dir)/masks.h \ $(hklview_dir)/version.h $(hklview_dir)/imgsiz.h \ $(hklview_dir)/mxdinc.h $(hklview_dir)/zonedf.h \ $(hklview_dir)/celldm.h $(hklview_dir)/limits.h \ $(hklview_dir)/refstr.h $(hklview_dir)/colasn.h \ $(hklview_dir)/hklview.opt $(hklview_dir)/maping.h \ $(hklview_dir)/symop.h # ipdisp ipdisp.o: $(ipdisp_dir)/ipdisp.f $(ipdisp_dir)/spdpar.h \ $(ipdisp_dir)/dsdinc.h $(ipdisp_dir)/dsplyc.h \ $(ipdisp_dir)/spdpar.h $(ipdisp_dir)/dsdinc.h \ $(ipdisp_dir)/dsplyc.h $(ipdisp_dir)/mxdinc.h \ $(ipdisp_dir)/mxdkbb.h $(ipdisp_dir)/spdpar.h dskio.o: $(ipdisp_dir)/dskio.c pck.o: $(ipdisp_dir)/pck.c # xdlgjk xdlmapman.o: $(xdlgjk_dir)/xdlmapman.f xdlmapman_subs.o: $(xdlgjk_dir)/xdlmapman_subs.f xdl_gksubs.o: $(xdlgjk_dir)/xdl_gksubs.f gkccp4_subs.o: $(xdlgjk_dir)/gkccp4_subs.f xdldataman.o: $(xdlgjk_dir)/xdldataman.f xdldataman_subs.o: $(xdlgjk_dir)/xdldataman_subs.f xps_graf.o: $(xdlgjk_dir)/xps_graf.f