[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 20001220: Missing library archive members under DEC



I just built 5.6.A under Tru64 Unix 5.1 using GNU make, and I had only one problem. In gempak/source/netcdf-3.4, the Makefile needs to be changed by replacing "make" with "$(MAKE)".

*** Makefile.orig       Fri Oct 13 17:43:23 2000
--- Makefile    Wed Dec 20 11:36:28 2000
***************
*** 7,30 ****
  
  $(NETCDF):
        @echo look netcdf $(NETCDF)
!       make lnetcdf $(NCOPT)
  #     @if [ "$(NCOPT)" ]; then \
! #         make lnetcdf $(CPPFLAGS) "CFLAGS=$(NCOPT)" "FFLAGS=$(NCOPT)"; \
  #     else \
! #         make lnetcdf; \
  #     fi
  
  lnetcdf: INSTALLDIR
        @cd src; \
        pwd; \
!       make distclean ; \
        ./configure '--prefix=$(NETCDFHOME)'; \
!       make all install
  
  INSTALLDIR:
        @echo " Creating $(NETCDFHOME)"
        @mkdir -p $(NETCDFHOME)
  
  clean:
!       @cd src; make $(MFLAGS) distclean
        @-rm -rf src/cxx/SunWS_cache
--- 7,30 ----
  
  $(NETCDF):
        @echo look netcdf $(NETCDF)
!       $(MAKE) lnetcdf $(NCOPT)
  #     @if [ "$(NCOPT)" ]; then \
! #         $(MAKE) lnetcdf $(CPPFLAGS) "CFLAGS=$(NCOPT)" "FFLAGS=$(NCOPT)"; \
  #     else \
! #         $(MAKE) lnetcdf; \
  #     fi
  
  lnetcdf: INSTALLDIR
        @cd src; \
        pwd; \
!       $(MAKE) distclean ; \
        ./configure '--prefix=$(NETCDFHOME)'; \
!       $(MAKE) all install
  
  INSTALLDIR:
        @echo " Creating $(NETCDFHOME)"
        @mkdir -p $(NETCDFHOME)
  
  clean:
!       @cd src; $(MAKE) $(MFLAGS) distclean
        @-rm -rf src/cxx/SunWS_cache

--
Dr. Harry Edmon                 E-MAIL: address@hidden
(206) 543-0547                  FAX:    (206) 543-0308
Dept of Atmospheric Sciences
University of Washington, Box 351640, Seattle, WA 98195-1640