updated top-level README and version_decl for V4.4.2 (#1795)
[WRF.git] / external / io_grib1 / grib1_util / Makefile
blob5c75c6e8e4126dee4bfc80b3af3841cf3fef05a4
1 #------------------------------------------------------------------------------
2 # Makefile for producing libdbclient.so
4 # Copyright (C) 2001, WSI Corporation
5 #------------------------------------------------------------------------------
8 .SUFFIXES: .c .o
10 # Specity location for Makefiles that are included.
12 BUILD_DIR = ../../io_grib_share/build
13 INCLUDEDIRS = -I. -I.. -I ../MEL_grib1
15 # Specify directory that output library is to be put in.
17 LIB_DEST = ..
19 # SPECIFY local include directories used during compilation of source code.
21 # CXX_INCLUDES is for C++ files
22 # C_INCLUDES is for C files
24 C_INCLUDES = -I. -I../MEL_grib1
25 CXX_INCLUDES = -I. -I../MEL_grib1
26 ARFLAGS = ruv
28 # SPECIFY any subdirectories containing libraries that may be dynamically
29 # linked by this library.
31 SUB_DIRS =
34 # SPECIFY information for building a library:
36 # LIB_NAME - Fragment of name of the library to build
37 # e.g. if library file name is libfoo.so, set LIB_NAME = foo
38 # DEP_LIBS - The tokens required to link a shared library against other
39 # shared libraries upon which it depends. DEP_LIBS should
40 # contain -L<dir> tokens to specify where the dependent
41 # libraries are, and -l<lib> tokens to specify libraries to link.
42 # OBJS - List of object files that go into the library.
44 # NOTES:
45 # 1. Be careful about whitespace after the last character in the LIB_NAME.
46 # These spaces will generate an error when the library is made.
48 UNIT_TEST = test_rg
49 LIB_NAME = io_grib1
50 DEP_LIBS = -L$(LIB_DEST) -lMEL_grib1
51 OBJS = alloc_2d.o \
52 read_grib.o \
53 write_grib.o
56 # Include the boilerplate rules for building library modules.
58 include $(BUILD_DIR)/library_rules.mk
61 # Compile dependencies. These are appended to this file by make depend.
63 # DO NOT DELETE THIS LINE -- make depend depends on it.