# Generated automatically from Makefile.in by configure. ############################################################## # # PyRAF Makefile.in for the source distribution # 18 April 2001 # ############################################################## #Generated automatically from Makefile.in by configure. PYTHON_LIB_DIR = /scisoft/python/lib/python2.2 PythonIncludePath = /scisoft/python/include/python2.2 PythonBin = /scisoft/python/bin/python2.2 PYTHONVERSION = 2.2 TclIncludePath = /scisoft/include OpenGLIncludePath = /scisoft/Mesa/include srcdir = . SHLIB_CFLAGS = -fPIC x_includes = /usr/X11R6/include x_libraries = /usr/X11R6/lib TclLibPath = /scisoft/lib ToglPath = /scisoft/python/lib/python2.2/site-packages/OpenGL/Tk/linux2-tk8.3 ToglLib = /scisoft/lib CFLAGS = -c EXTRA_LFLAGS =-lc LDFLAG =-shared CC = gcc RM = rm LD = ld all: libcdl.a xutilmodule.so toglcolorsmodule.so cdlmodule.so \ sscanfmodule.so install clean: $(RM) -f *.o *.so *.a Makefile config.cache *~ cd ../; $(RM) -f *.so pyraf *~ links: cd $(TclLibPath); cp $(ToglPath)/* . dist: $(RM) -f *.o *.so *.a Makefile config.cache config.log config.status *~ cd ../; $(RM) -r clcache; $(RM) -f *.pyc *.so pyraf *~ cd ../../; tar -cvf pyraf_@VERSION@_src.tar pyraf # # Dependent on Python and X11 Windows # xutilmodule.so: xutil.c $(CC) $(CFLAGS) $(SHLIB_CFLAGS) -I$(PythonIncludePath) -I$(x_includes) xutil.c $(LD) $(LDFLAG) xutil.o -o xutilmodule.so -L$(x_libraries) -lX11 \ $(EXTRA_LFLAGS) # # Dependent on Python # The Togl directory should be located in the same directory # as the Tcl/Tk libraries; the togl.so is in the Togl directory. # toglcolorsmodule.so: toglcolors.c $(CC) $(CFLAGS) $(SHLIB_CFLAGS) -I$(PythonIncludePath) -I$(x_includes) \ -I$(TclIncludePath) -I$(OpenGLIncludePath) toglcolors.c $(LD) $(LDFLAG) toglcolors.o -o toglcolorsmodule.so \ $(ToglLib)/Togl.so \ $(EXTRA_LFLAGS) # # Dependent on Python and Numeric and a static build of CDL # cdlmodule.so: cdl_wrap.c $(CC) $(CFLAGS) $(SHLIB_CFLAGS) -I$(PythonIncludePath) cdl_wrap.c $(LD) $(LDFLAG) cdl_wrap.o -o cdlmodule.so libcdl.a -lm \ $(EXTRA_LFLAGS) # # Dependent on Python # sscanfmodule.so: sscanfmodule.c $(CC) $(CFLAGS) $(SHLIB_CFLAGS) -I$(PythonIncludePath) sscanfmodule.c $(LD) $(LDFLAG) sscanfmodule.o -o sscanfmodule.so \ $(EXTRA_LFLAGS) libcdl.a: cd CDL; ./configure; make World; cp libcdl.a ../ install: cp *.so ../; chmod +x ../pyraf