Commit 3c785b9d authored by Whitney Armstrong's avatar Whitney Armstrong

new file: CMakeLists.txt

parent 25f35a6a
# physica
set( FSRCS
src/acm624.F
src/acm626.F
src/auto_axes.F
src/best_fit.F
src/bin.F
src/bin2d.F
src/bindec.F
src/box_dens.F
src/calcfn.F
src/calcop.F
src/call_sharable.F
src/cft.F
src/ch_real8.F
src/chng_banner.F
src/chck_resname.F
src/cntour.F
src/commensurate.F
src/contour.F
src/cnvrt_units.F
src/crd_trnsfrm.F
src/copy.F
src/dlt_txt_var.F
src/dlt_var.F
src/density_mono.F
src/density_plot.F
src/destroy.F
src/device.F
src/diffusion.F
src/dinter.F
src/display.F
src/dspl_fill.F
src/dspl_font.F
src/dspl_lines.F
src/dspl_pchar.F
src/dspl_special.F
src/dither.F
src/dlqf.F
src/draw_border.F
src/drzfun.F
src/dssol.F
src/eigen_rs.F
src/ellfit.F
src/ellipse.F
src/erase_rect.F
src/error_msg.F
src/eval_exprs.F
src/excalt.F
src/excalx.F
src/excode.F
src/execut_dum.F
src/exfnx.F
src/exopx.F
src/expand.F
src/exptxt.F
src/exrpn.F
src/exrpnt.F
src/extype.F
src/exvalx.F
src/fcint.F
src/figure.F
src/filter.F
src/find_median.F
src/fit.F
src/fmin.F
src/framer.F
src/fzero.F
src/gen_vec.F
src/get_matrix.F
src/get_otxtvar.F
src/get_ovar.F
src/get_ovname.F
src/get_scalar.F
src/get_tmp_spc.F
src/get_txt_var.F
src/get_variable.F
src/get_verror.F
src/get_vindex.F
src/get_vector.F
src/get_wild.F
src/getnam.F
src/glegend.F
src/menu_gxy.F
src/graph_replot.F
src/graph_vecs.F
src/grid.F
src/hid12.F
src/hide.F
src/hplot.F
src/hst2d.F
src/init_physica.F
src/inp_matrix.F
src/inside_box.F
src/inside_poly.F
src/int_to_char.F
src/labels.F
src/lgrng_deriv.F
src/lgnd_lbl_len.F
src/list_matrix.F
src/list_vectors.F
src/lqline.F
src/lubksb.F
src/ludcmp.F
src/median8.F
src/minvar.F
src/mirror.F
src/my_hist2d.F
src/my_inquire.F
src/my_jplot.F
src/nextprime.F
src/nova_dum.F
src/prs_in_line.F
src/parse_name.F
src/pause2.F
src/pd_xhair.F
src/peak.F
src/pearson.F
src/phys_ascale.F
src/phys_close.F
src/phys_gauto.F
src/phys_get.F
src/phys_gplot.F
src/phys_gplot_r.F
src/phys_gplt.F
src/phys_menu.F
src/phys_set.F
src/phys_stat.F
src/phys_user.F
src/physica_fcn.F
src/pie_graph.F
src/pixel_extent.F
src/plot3d.F
src/plot_legend.F
src/plot_line.F
src/plot_slices.F
src/plottext.F
src/polygon.F
src/pre_parse.F
src/psangl.F
src/put_fiowa_v.F
src/put_hbook_v.F
src/put_txt_var.F
src/put_var.F
src/pxdens.F
src/question.F
src/rd_command.F
src/rd_exec_file.F
src/rd_matrix.F
src/rd_physica.F
src/rd_scalars.F
src/rd_text.F
src/rd_vectors.F
src/r4_to_char.F
src/r8_to_char.F
src/rebin.F
src/remake_ln.F
src/rename_var.F
src/rplt_clear.F
src/rplt_lgnd.F
src/rplt_store.F
src/reset_wndos.F
src/rstr_chaos.F
src/rstr_fiowa.F
src/rstr_xfiowa.F
src/rstr_imsr_dum.F
src/rstr_msr.F
src/rite.F
src/save.F
src/savgol.F
src/scale1d.F
src/scale2.F
src/scales.F
src/set_window.F
src/show.F
src/simq.F
src/sinter1.F
src/sinter2.F
src/sort.F
src/ssort8.F
src/text.F
src/three_d_plot.F
src/tile.F
src/teqs.F
src/tlen.F
src/transform.F
src/tt_buff.F
src/unique.F
src/update_hist.F
src/variable.F
src/volumecalc.F
src/warning_msg.F
src/window.F
src/wrld_phys.F
src/wrld_to_gplt.F
src/zero_lines.F
src/bell.F
src/calctn.F
src/chsize.F
src/digitize.F
src/execute.F
src/free_space.F
src/get_cmnd.F
src/get_space.F
src/hardcopy.F
src/inp_vector.F
src/keysearch.F
src/lib_free_vm.F
src/lib_get_vm.F
src/my_pick.F
src/prcs_cmnd.F
src/put_formsg.F
src/put_sysmsg.F
src/rd_key.F
src/restore.F
src/sleep2.F
src/write_phys.F
src/dum_motif.F
src/resize.F
src/use_file.F
src/rstr_mud.F
src/linux/trigd.F
src/functions/adigam.F
src/functions/aerf.F
src/functions/airey.F
src/functions/airy.F
src/functions/alogam.F
src/functions/aslegf.F
src/functions/besi0.F
src/functions/besi1.F
src/functions/besj0.F
src/functions/besj1.F
src/functions/besjn.F
src/functions/besk0.F
src/functions/besk1.F
src/functions/beslri.F
src/functions/besy0.F
src/functions/besy1.F
src/functions/beta.F
src/functions/betai.F
src/functions/binom.F
src/functions/biry.F
src/functions/bivnor.F
src/functions/cdigam.F
src/functions/chisq.F
src/functions/chisqi.F
src/functions/chlogu.F
src/functions/clogam.F
src/functions/cosint.F
src/functions/coulomb.F
src/functions/cragam.F
src/functions/cwerf.F
src/functions/d9aimp.F
src/functions/d9b0mp.F
src/functions/d9b1mp.F
src/functions/d9chu.F
src/functions/d9gmic.F
src/functions/d9gmit.F
src/functions/d9lgic.F
src/functions/d9lgit.F
src/functions/d9lgmc.F
src/functions/daie.F
src/functions/daws.F
src/functions/dawson.F
src/functions/dbie.F
src/functions/dcot.F
src/functions/dcsevl.F
src/functions/dexprl.F
src/functions/dgamlm.F
src/functions/dgamma.F
src/functions/dgamr.F
src/functions/dilog.F
src/functions/dlbeta.F
src/functions/dlgams.F
src/functions/dlngam.F
src/functions/dlnrel.F
src/functions/ebesi0.F
src/functions/ebesi1.F
src/functions/ebesk0.F
src/functions/ebesk1.F
src/functions/ei.F
src/functions/einell.F
src/functions/ellice.F
src/functions/ellick.F
src/functions/eltime.F
src/functions/erf.F
src/functions/erfc.F
src/functions/expint.F
src/functions/expn.F
src/functions/factor.F
src/functions/ferdir.F
src/functions/finell.F
src/functions/fisher.F
src/functions/frec12.F
src/functions/freq.F
src/functions/fres12.F
src/functions/gamaic.F
src/functions/gamait.F
src/functions/gamma.F
src/functions/gammai.F
src/functions/gammln.F
src/functions/gammq.F
src/functions/gamra.F
src/functions/gamra1.F
src/functions/gaussin.F
src/functions/hypgeo.F
src/functions/initds.F
src/functions/kel2.F
src/functions/kelvin.F
src/functions/normal.F
src/functions/polgam.F
src/functions/polyml.F
src/functions/prob.F
src/functions/psi.F
src/functions/radmac.F
src/functions/sinint.F
src/functions/spence.F
src/functions/strh0.F
src/functions/strh1.F
src/functions/stud.F
src/functions/studin.F
src/functions/tina.F
src/functions/voigt.F
src/functions/walsh.F
src/functions/wigner.F
src/functions/d1mach.F
)
Set( XSRCS
src/physica_minuit.F
src/map_hbook_dum.F
src/rstr_hbook.F
)
Set( CSRCS
src/physica_malloc.c
src/physica_free.c
src/x_resize_window.c
src/digitize_png.c
src/readline_wrapper.c
src/linux/rstr_mudc.c
)
# FFLAGS = -g -malign-double -fno-second-underscore -fno-automatic -frecord-marker=4
# MACROS = -Dgfortran -Dunix
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -malign-double -fno-second-underscore -fno-automatic -frecord-marker=4 -Dgfortran -Dunix ")
#ifeq (${HAVE_CERNLIB},YES)
# KERNLIB = $(CERN_DIR)/libkernlib.a
# PACKLIB = $(CERN_DIR)/libpacklib.a
#else
# KERNLIB =
# PACKLIB =
#endif
#
#GPLOT_LIB = $(GPLOT_DIR)/libgplot.a
#MUD_LIB = $(MUD_DIR)/lib/libmud.a
#PHYSICA_LIB = $(PHYSICA_DIR)/physica.a
#
#INCLUDES = -I/usr/X11R6/include -I/usr/local/include -I/$(HOME)/include
#OTHER_LIBS = -L/usr/lib -lX11 -L$(HOME)/lib64 -lgd $(HOME)/lib64/libgd.a -lpng -lz -lreadline -lncurses -lnsl -lpthread
enable_language( C Fortran )
add_library(physicalib ${FSRCS} ${XSRCS} ${CSRCS})
#physicalib gplot mud kernlib packlib )
#physica : $(PHYSICA_LIB)
# $(FORTRAN) -o $@ -Wl,-u,MAIN__ \
# $(PHYSICA_LIB) $(MUD_LIB) $(GPLOT_LIB) $(KERNLIB) $(PACKLIB) $(OTHER_LIBS)
#ifeq (${HAVE_CERNLIB},YES)
# XSRCS = $(PHYSICA_DIR)/src/physica_minuit.F \
# $(PHYSICA_DIR)/src/map_hbook_dum.F \
# $(PHYSICA_DIR)/src/rstr_hbook.F
#else
# XSRCS = $(PHYSICA_DIR)/src/cern_dum.F
#endif
#
#CSRCS = $(PHYSICA_DIR)/src/physica_malloc.c \
# $(PHYSICA_DIR)/src/physica_free.c \
# $(PHYSICA_DIR)/src/x_resize_window.c \
# $(PHYSICA_DIR)/src/digitize_png.c \
# $(PHYSICA_DIR)/src/readline_wrapper.c \
# $(PHYSICA_DIR)/src/linux/rstr_mudc.c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment