#### Start of system configuration section. ####

VPATH =		@srcdir@
srcdir =	@srcdir@

# Common prefix for machine-independent installed files.

prefix =	/gnu

# Common prefix for machine-dependent installed files.

exec_prefix =	$(prefix)

# Directory to install executables in.

bindir =	$(exec_prefix)/bin

# Directory to install the man page in.

mandir =	$(prefix)/man/man$(manext)

# Number to put on the man page filename.

manext =	1

# Program to install data like man pages.

INSTALL_DATA =	@INSTALL_DATA@

# Generic install program.

INSTALL =	@INSTALL@

MAKE =		make

#### End of system configuration section. ####

all:
		@(cd src; $(MAKE))
		@(cd libF77; $(MAKE))
		@(cd libI77; $(MAKE))

install:
		@(cd src; $(MAKE) install)
		@(cd libF77; $(MAKE) install)
		@(cd libI77; $(MAKE) install)
		$(INSTALL_DATA) $(srcdir)/f2c.1t $(mandir)/f2c.1
		$(INSTALL_DATA) $(srcdir)/f2c.h $(prefix)/include
