head	1.5;
access;
symbols
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.4
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.3
	RELEASE_3_3_0:1.3
	RELEASE_3_2_0:1.2
	v7_02:1.1.1.1
	MIYAMOTO:1.1.1;
locks; strict;
comment	@# @;


1.5
date	2006.07.03.04.41.35;	author maho;	state dead;
branches;
next	1.4;

1.4
date	2000.06.07.16.20.59;	author will;	state Exp;
branches;
next	1.3;

1.3
date	99.05.24.02.20.21;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	99.05.07.05.12.17;	author taoka;	state Exp;
branches;
next	1.1;

1.1
date	99.05.06.08.23.20;	author taoka;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.05.06.08.23.20;	author taoka;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Update to 1.10 (maintained by others) and unbreak.
@
text
@--- Makefile.orig	Wed Jun  7 19:24:45 2000
+++ Makefile	Wed Jun  7 19:27:38 2000
@@@@ -7,7 +7,8 @@@@
 #	make		Makes the MOPAC file
 #	make clean	Clean up disk to minimum config
 #
-FFLAGS	        = -O2 -w
+FFLAGS	        = -O -Wall
+CFLAGS		= -I$(PREFIX)/include -Wall
 HDRS		= SIZES
 SRCS		:= $(shell ls *.f)
 CSRCS           := $(shell ls *.c) 
@@@@ -15,14 +16,16 @@@@
 SIZEDEPSRC	:= $(shell grep -l -i '      INCLUDE ' *.f; true)
 SIZEDEPEND	= $(SIZEDEPSRC:.f=.o)
 MOPAC		= MOPAC7
-MOPACSHELL	= mopac
-BINDIR		= /usr/local/bin
+MOPACSHELL	= rmopac
+BINDIR		= $(PREFIX)/bin
 OWNER		= root.bin
 
 $(MOPAC):     	SIZES $(OBJS) 
 		@@echo -n "Loading $@@ ... "
-		f77 -O $(OBJS) -o $@@
+		$(FC) $(OBJS) $(LFLAGS) -o $@@
 		@@echo "done"
+
+all:          $(MOPAC)
 
 clean:
 	 	$(RM) $(OBJS) *.trace core
@


1.4
log
@Convert to usable F77 binary, especially on 4.0 and newer.

PR:		19090
Submitted by:	MAINTAINER
@
text
@@


1.3
log
@Fix build for -current boxes with egcs' f77 compiler.
@
text
@d1 32
a32 58
*** Makefile.orig	Sat May 22 13:51:28 1999
--- Makefile	Sat May 22 13:56:17 1999
***************
*** 7,13 ****
  #	make		Makes the MOPAC file
  #	make clean	Clean up disk to minimum config
  #
! FFLAGS	        = -O2 -w
  HDRS		= SIZES
  SRCS		:= $(shell ls *.f)
  CSRCS           := $(shell ls *.c) 
--- 7,19 ----
  #	make		Makes the MOPAC file
  #	make clean	Clean up disk to minimum config
  #
! FFLAGS	        ?= -O2 -w
! ifdef HAVE_G2C
! LFLAGS		= -lg2c
! CFLAGS		+= -DHAVE_G2C
! else
! LFLAGS		= -lf2c
! endif
  HDRS		= SIZES
  SRCS		:= $(shell ls *.f)
  CSRCS           := $(shell ls *.c) 
***************
*** 15,28 ****
  SIZEDEPSRC	:= $(shell grep -l -i '      INCLUDE ' *.f; true)
  SIZEDEPEND	= $(SIZEDEPSRC:.f=.o)
  MOPAC		= MOPAC7
! MOPACSHELL	= mopac
! BINDIR		= /usr/local/bin
  OWNER		= root.bin
  
  $(MOPAC):     	SIZES $(OBJS) 
  		@@echo -n "Loading $@@ ... "
! 		f77 -O $(OBJS) -o $@@
  		@@echo "done"
  
  clean:
  	 	$(RM) $(OBJS) *.trace core
--- 21,36 ----
  SIZEDEPSRC	:= $(shell grep -l -i '      INCLUDE ' *.f; true)
  SIZEDEPEND	= $(SIZEDEPSRC:.f=.o)
  MOPAC		= MOPAC7
! MOPACSHELL	= rmopac
! BINDIR		= $(PREFIX)/bin
  OWNER		= root.bin
  
  $(MOPAC):     	SIZES $(OBJS) 
  		@@echo -n "Loading $@@ ... "
! 		$(FC) -O $(OBJS) $(LFLAGS) -o $@@
  		@@echo "done"
+ 
+ all:          $(MOPAC)
  
  clean:
  	 	$(RM) $(OBJS) *.trace core
@


1.2
log
@Be able to use ${PREFIX}

Submitted by:	maintainer
@
text
@d1 2
a2 2
*** Makefile.orig	Sun Apr 18 22:38:02 1999
--- Makefile	Sun Apr 18 22:49:30 1999
d4 2
a5 2
*** 8,13 ****
--- 8,14 ----
d8 15
a22 2
  FFLAGS	        = -O2 -w
+ LFLAGS		= -lf2c
d32 1
a32 1
  BINDIR		= /usr/local/bin
d42 1
a42 1
--- 16,31 ----
d47 1
a47 1
  BINDIR		= /usr/local/bin
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
*** Makefile.2	Wed Apr 23 22:14:31 1997
--- Makefile	Wed Apr 23 22:16:32 1997
d4 11
a14 1
*** 15,21 ****
d22 8
a29 1
--- 15,21 ----
d37 1
a37 3
***************
*** 23,28 ****
--- 23,30 ----
d39 1
a39 1
  		f77 -O $(OBJS) -o $@@
@


1.1.1.1
log
@Semi-empirical (MNDO, etc.) molecular orbital calculation

PR:             ports/8863
Submitted by:   Ryo MIYAMOTO rmiya@@cc.hirosaki-u.ac.jp
@
text
@@
