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_DIR)./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. |
---|
28 | AR = ar |
---|
29 | ARFLAGS = cruv |
---|
30 | |
---|
31 | FORMAT = $(FREE) |
---|
32 | |
---|
33 | # |
---|
34 | # SPECIFY any subdirectories containing libraries that may be dynamically |
---|
35 | # linked by this library. |
---|
36 | # |
---|
37 | SUB_DIRS = |
---|
38 | |
---|
39 | # |
---|
40 | # SPECIFY information for building a library: |
---|
41 | # |
---|
42 | # LIB_NAME - Fragment of name of the library to build |
---|
43 | # e.g. if library file name is libfoo.so, set LIB_NAME = foo |
---|
44 | # DEP_LIBS - The tokens required to link a shared library against other |
---|
45 | # shared libraries upon which it depends. DEP_LIBS should |
---|
46 | # contain -L<dir> tokens to specify where the dependent |
---|
47 | # libraries are, and -l<lib> tokens to specify libraries to link. |
---|
48 | # OBJS - List of object files that go into the library. |
---|
49 | # |
---|
50 | # NOTES: |
---|
51 | # 1. Be careful about whitespace after the last character in the LIB_NAME. |
---|
52 | # These spaces will generate an error when the library is made. |
---|
53 | # |
---|
54 | LIB_NAME = io_grib_share |
---|
55 | SYS_DEFINES = |
---|
56 | DEP_LIBS = |
---|
57 | OBJS = \ |
---|
58 | io_grib_share.o \ |
---|
59 | get_region_center.o \ |
---|
60 | gridnav.o \ |
---|
61 | open_file.o |
---|
62 | |
---|
63 | # |
---|
64 | # List of subdirectories to which to pass make commands. |
---|
65 | # |
---|
66 | LIB_DIRS = |
---|
67 | EXE_DIRS = |
---|
68 | SUB_DIRS = $(LIB_DIRS) $(EXE_DIRS) |
---|
69 | |
---|
70 | # |
---|
71 | # Clean up old build files |
---|
72 | # |
---|
73 | superclean: |
---|
74 | /bin/rm -f *.o *.obj > /dev/null 2>&1 |
---|
75 | /bin/rm -f *.f90 > /dev/null 2>&1 |
---|
76 | /bin/rm -f *.mod > /dev/null 2>&1 |
---|
77 | /bin/rm -f *.a > /dev/null 2>&1 |
---|
78 | |
---|
79 | |
---|
80 | # |
---|
81 | # Include the boilerplate rules for building library modules. |
---|
82 | # |
---|
83 | include $(BUILD_DIR)/library_rules.mk |
---|
84 | |
---|
85 | # |
---|
86 | # Compile dependencies. These are appended to this file by make depend. |
---|
87 | # |
---|
88 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|