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 | # |
---|
13 | INCLUDEDIRS = -I. -I.. -I../grib1_util |
---|
14 | BUILD_DIR = ../../io_grib_share/build |
---|
15 | # |
---|
16 | # Specify directory that output library is to be put in. |
---|
17 | # |
---|
18 | LIB_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 | # |
---|
25 | C_INCLUDES = -I. |
---|
26 | CXX_INCLUDES = -I. |
---|
27 | ARFLAGS = ruv |
---|
28 | |
---|
29 | # |
---|
30 | # SPECIFY any subdirectories containing libraries that may be dynamically |
---|
31 | # linked by this library. |
---|
32 | # |
---|
33 | SUB_DIRS = |
---|
34 | |
---|
35 | # |
---|
36 | # SPECIFY information for building a library: |
---|
37 | # |
---|
38 | # LIB_NAME - Fragment of name of the library to build |
---|
39 | # e.g. if library file name is libfoo.so, set LIB_NAME = foo |
---|
40 | # DEP_LIBS - The tokens required to link a shared library against other |
---|
41 | # shared libraries upon which it depends. DEP_LIBS should |
---|
42 | # contain -L<dir> tokens to specify where the dependent |
---|
43 | # libraries are, and -l<lib> tokens to specify libraries to link. |
---|
44 | # OBJS - List of object files that go into the library. |
---|
45 | # |
---|
46 | # NOTES: |
---|
47 | # 1. Be careful about whitespace after the last character in the LIB_NAME. |
---|
48 | # These spaces will generate an error when the library is made. |
---|
49 | # |
---|
50 | LIB_NAME = io_grib1 |
---|
51 | DEP_LIBS = |
---|
52 | OBJS = FTP_getfile.o \ |
---|
53 | apply_bitmap.o \ |
---|
54 | display_gribhdr.o \ |
---|
55 | gbyte.o \ |
---|
56 | grib_dec.o \ |
---|
57 | grib_enc.o \ |
---|
58 | grib_seek.o \ |
---|
59 | gribgetbds.o \ |
---|
60 | gribgetbms.o \ |
---|
61 | gribgetgds.o \ |
---|
62 | gribgetpds.o \ |
---|
63 | gribhdr2file.o \ |
---|
64 | gribputbds.o \ |
---|
65 | gribputgds.o \ |
---|
66 | gribputpds.o \ |
---|
67 | hdr_print.o \ |
---|
68 | init_dec_struct.o \ |
---|
69 | init_enc_struct.o \ |
---|
70 | init_gribhdr.o \ |
---|
71 | init_struct.o \ |
---|
72 | ld_dec_lookup.o \ |
---|
73 | ld_enc_input.o \ |
---|
74 | ld_enc_lookup.o \ |
---|
75 | ld_grib_origctrs.o \ |
---|
76 | make_default_grbfn.o \ |
---|
77 | make_grib_log.o \ |
---|
78 | map_lvl.o \ |
---|
79 | map_parm.o \ |
---|
80 | pack_spatial.o \ |
---|
81 | prt_inp_struct.o \ |
---|
82 | upd_child_errmsg.o \ |
---|
83 | prt_badmsg.o \ |
---|
84 | swap.o\ |
---|
85 | grib_uthin.o\ |
---|
86 | set_bytes.o |
---|
87 | |
---|
88 | # |
---|
89 | # List the header files that should be installed. |
---|
90 | # |
---|
91 | HDRS = gribfuncs.h \ |
---|
92 | grib.h \ |
---|
93 | input.h |
---|
94 | |
---|
95 | # |
---|
96 | # Include the boilerplate rules for building library modules. |
---|
97 | # |
---|
98 | include $(BUILD_DIR)/library_rules.mk |
---|
99 | |
---|
100 | # |
---|
101 | # Compile dependencies. These are appended to this file by make depend. |
---|
102 | # |
---|
103 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|