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. |
---|
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 | F_INCLUDES = -I. -Ig2lib |
---|
28 | FORMAT = |
---|
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_grib2 |
---|
51 | CPPFLAGS = |
---|
52 | |
---|
53 | DEP_LIBS = -lio_grib2 -L../.. -lio_grib_share -L../../../io_grib_share -lpng -ljasper |
---|
54 | |
---|
55 | FC = ifort -FR |
---|
56 | CPP = /lib/cpp -traditional -C -P |
---|
57 | LDD = ifort |
---|
58 | MAIN_OBJS = \ |
---|
59 | test_g2lib.o |
---|
60 | |
---|
61 | # |
---|
62 | # Include the boilerplate rules for building library modules. |
---|
63 | # |
---|
64 | include $(BUILD_DIR)/utest_rules.mk |
---|
65 | |
---|
66 | # |
---|
67 | # Compile dependencies. These are appended to this file by make depend. |
---|
68 | # |
---|
69 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|