1 #------------------------------------------------------------------------------
2 # Makefile for producing libdbclient.so
4 # Copyright (C) 2001, WSI Corporation
5 #------------------------------------------------------------------------------
11 # Specity location for Makefiles that are included.
14 BUILD_DIR
= ..
/..
/io_grib_share
/build
16 # Specify directory that output library is to be put in.
20 # SPECIFY local include directories used during compilation of source code.
22 # CXX_INCLUDES is for C++ files
23 # C_INCLUDES is for C files
27 F_INCLUDES
= -I.
-Ig2lib
31 # SPECIFY any subdirectories containing libraries that may be dynamically
32 # linked by this library.
37 # SPECIFY information for building a library:
39 # LIB_NAME - Fragment of name of the library to build
40 # e.g. if library file name is libfoo.so, set LIB_NAME = foo
41 # DEP_LIBS - The tokens required to link a shared library against other
42 # shared libraries upon which it depends. DEP_LIBS should
43 # contain -L<dir> tokens to specify where the dependent
44 # libraries are, and -l<lib> tokens to specify libraries to link.
45 # OBJS - List of object files that go into the library.
48 # 1. Be careful about whitespace after the last character in the LIB_NAME.
49 # These spaces will generate an error when the library is made.
52 CPPFLAGS
= -DUSE_JPEG2000
54 # To have the option of using the PNG compression scheme in the grib2 output,
55 # uncomment the following line. In addition, you will need to assure
56 # that you have libpng and libz installed on your system. If the libraries
57 # are not in standard system locations, you will need to modify your
58 # configure.wrf file in order to specify the locations of the libraries.
60 #CPPFLAGS = -DUSE_PNG -DUSE_JPEG2000
62 # In addition, you will need to add the following objects to the object list
69 # Further, you will need to add "-lpng" to your link line in configure.wrf
71 # Note: PNG functionality has only been tested on Linux.
137 # Include the boilerplate rules for building library modules.
139 include $(BUILD_DIR
)/library_rules.mk
142 # Compile dependencies. These are appended to this file by make depend.
144 addfield.o
: pdstemplates.o drstemplates.o
146 addgrid.o
: gridtemplates.o
148 getfield.o
: gridtemplates.o pdstemplates.o drstemplates.o
164 gf_getfld.o
: gribmod.o
166 gf_unpack3.o
: gridtemplates.o realloc.o
168 gf_unpack4.o
: pdstemplates.o realloc.o
170 gf_unpack5.o
: drstemplates.o realloc.o
176 # DO NOT DELETE THIS LINE -- make depend depends on it.