$NetBSD: patch-af,v 1.2 2005/02/25 09:52:47 adam Exp $ --- libsrc/Makefile.orig 2004-12-18 18:08:01.000000000 +0000 +++ libsrc/Makefile @@ -7,7 +7,7 @@ include ../macros.make INCLUDES = -I. -LIBRARY = libnetcdf.a +LIBRARY = libnetcdf.la ld_netcdf = -L. -lnetcdf HEADER = netcdf.h @@ -54,7 +54,23 @@ PACKING_LIST = \ t_ncxx.c \ t_ncx.c install-sh -LIB_OBJS = $(LIB_CSRCS:.c=.o) +FLIB_OBJS = \ + ../fortran/fort-attio.o \ + ../fortran/fort-control.o \ + ../fortran/fort-dim.o \ + ../fortran/fort-genatt.o \ + ../fortran/fort-geninq.o \ + ../fortran/fort-genvar.o \ + ../fortran/fort-lib.o \ + ../fortran/fort-misc.o \ + ../fortran/fort-v2compat.o \ + ../fortran/fort-vario.o \ + ../fortran/fort-var1io.o \ + ../fortran/fort-varaio.o \ + ../fortran/fort-varmio.o \ + ../fortran/fort-varsio.o + +LIB_OBJS = $(LIB_CSRCS:.c=.o) $(FLIB_OBJS) GARBAGE = t_ncio.o t_ncio t_ncx.o t_ncx t_ncxx.o t_ncxx \ t_nc.o t_nc test.nc *.so