srcdir = @srcdir@
VPATH = @srcdir@

include ../MakeVars

PSILIBS = -lPSI_qt -lPSI_chkpt -lPSI_iwl -lPSI_psio -lPSI_ciomr -lPSI_ipv1

CINC += -DINSTALLEDPSIDATADIR=\"$(datadir)\"

CSRC = input.c parsing.c read_cart.c read_zmat.c reorient.c io.c \
find_symmetry.c count_uniques.c functions.c sym_operations.c atom_num.c \
init_elem_names.c read_basis.c build_transmat.c build_cart2pureang.c \
build_so_classes.c build_usotao.c write_to_chkpt.c projection.c oe_osrr.c \
overlap.c gto.c oldcalc.c write_scf_to_chkpt.c globals.c read_chkpt.c \
read_charges.c read_geomdat.c linalg.c overlap_float.c oe_osrr_float.c \
freeze_orbs.c

BINOBJ = $(CSRC:%.c=%.o)

include ../MakeRules

ifneq ($(DODEPEND),no)
$(BINOBJ:%.o=%.d): $(DEPENDINCLUDE)
include $(BINOBJ:%.o=%.d)
endif

install_man:: input.1
	$(MKDIRS) $(mandir)/man1
	$(INSTALL_INCLUDE) $^ $(mandir)/man1

