source: trunk/WRF.COMMON/WRFV3/external/io_grib2/g2lib/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: 3.7 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#
11# Specity location for Makefiles that are included.
12#
13INCLUDEDIRS = -I.
14BUILD_DIR = ../../io_grib_share/build
15#
16# Specify directory that output library is to be put in.
17#
18LIB_DEST = ..
19#
20#  SPECIFY local include directories used during compilation of source code.
21#
22#    CXX_INCLUDES is for C++ files
23#    C_INCLUDES is for C files
24#
25C_INCLUDES   = -I.
26CXX_INCLUDES = -I.
27F_INCLUDES   = -I. -Ig2lib
28FORMAT       = $(FIXED)
29ARFLAGS      = ruv
30#
31#  SPECIFY any subdirectories containing libraries that may be dynamically
32#          linked by this library.
33#
34SUB_DIRS =
35
36#
37#  SPECIFY information for building a library:
38#
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.
46#
47#  NOTES:
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.
50#
51LIB_NAME = io_grib2
52CPPFLAGS = -DUSE_JPEG2000
53#
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.
59#
60#CPPFLAGS = -DUSE_PNG -DUSE_JPEG2000
61#
62# In addition, you will need to add the following objects to the object list
63#   below.
64#        pngpack.o \
65#        pngunpack.o \
66#        enc_png.o \
67#        dec_png.o \
68#
69#  Further, you will need to add "-lpng" to your link line in configure.wrf
70#
71# Note: PNG functionality has only been tested on Linux.
72#
73
74DEP_LIBS = 
75OBJS =  \
76        gridtemplates.o \
77        pdstemplates.o \
78        drstemplates.o \
79        gribmod.o \
80        realloc.o \
81        addfield.o \
82        addgrid.o \
83        addlocal.o \
84        getfield.o \
85        gb_info.o \
86        gf_getfld.o \
87        gf_free.o \
88        gf_unpack1.o \
89        gf_unpack2.o \
90        gf_unpack3.o \
91        gf_unpack4.o \
92        gf_unpack5.o \
93        gf_unpack6.o \
94        gf_unpack7.o \
95        gettemplates.o \
96        getlocal.o \
97        getdim.o \
98        getpoly.o \
99        gribcreate.o \
100        gribend.o \
101        gribinfo.o \
102        mkieee.o \
103        rdieee.o \
104        simpack.o \
105        simunpack.o \
106        cmplxpack.o \
107        compack.o \
108        misspack.o \
109        pack_gp.o \
110        reduce.o \
111        comunpack.o \
112        specpack.o \
113        specunpack.o \
114        jpcpack.o \
115        jpcunpack.o \
116        enc_jpeg2000.o \
117        dec_jpeg2000.o \
118        gbytesc.o \
119        skgb.o \
120        ixgb2.o \
121        getidx.o \
122        getg2i.o \
123        getg2ir.o \
124        getgb2s.o \
125        getgb2r.o \
126        getgb2l.o \
127        getgb2.o \
128        getgb2p.o \
129        getgb2rp.o \
130        putgb2.o \
131        g2grids.o \
132        gdt2gds.o \
133        mova2i.o \
134        params.o
135
136#
137#  Include the boilerplate rules for building library modules.
138#
139include $(BUILD_DIR)/library_rules.mk
140
141#
142#  Compile dependencies.  These are appended to this file by make depend.
143#
144# DO NOT DELETE THIS LINE -- make depend depends on it.
Note: See TracBrowser for help on using the repository browser.