source: trunk/WRF.COMMON/WRFV3/external/io_grib1/grib1_util/Makefile @ 2759

Last change on this file since 2759 was 2759, checked in by aslmd, 2 years ago

adding unmodified code from WRFV3.0.1.1, expurged from useless data +1M size

File size: 1.9 KB
Line 
1#------------------------------------------------------------------------------
2#  Makefile for producing libdbclient.so
3#
4#  Copyright (C) 2001, WSI Corporation
5#------------------------------------------------------------------------------
6#
7
8.SUFFIXES:      .c .o
9
10# Specity location for Makefiles that are included.
11#
12BUILD_DIR = ../../io_grib_share/build
13INCLUDEDIRS = -I. -I.. -I ../MEL_grib1
14#
15# Specify directory that output library is to be put in.
16#
17LIB_DEST = ..
18#
19#  SPECIFY local include directories used during compilation of source code.
20#
21#    CXX_INCLUDES is for C++ files
22#    C_INCLUDES is for C files
23#
24C_INCLUDES   = -I. -I../MEL_grib1
25CXX_INCLUDES = -I. -I../MEL_grib1
26ARFLAGS      = ruv
27#
28#  SPECIFY any subdirectories containing libraries that may be dynamically
29#          linked by this library.
30#
31SUB_DIRS =
32
33#
34#  SPECIFY information for building a library:
35#
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.
43#
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.
47#
48UNIT_TEST = test_rg
49LIB_NAME = io_grib1
50DEP_LIBS =  -L$(LIB_DEST) -lMEL_grib1
51OBJS =  alloc_2d.o \
52        read_grib.o \
53        write_grib.o
54
55#
56#  Include the boilerplate rules for building library modules.
57#
58include $(BUILD_DIR)/library_rules.mk
59
60#
61#  Compile dependencies.  These are appended to this file by make depend.
62#
63# DO NOT DELETE THIS LINE -- make depend depends on it.
Note: See TracBrowser for help on using the repository browser.