| 1 | # |
|---|
| 2 | |
|---|
| 3 | LN = ln -sf |
|---|
| 4 | MAKE = make -i -r |
|---|
| 5 | RM = rm -f |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | MODULES = module_driver_constants.o \ |
|---|
| 10 | module_domain.o \ |
|---|
| 11 | module_integrate.o \ |
|---|
| 12 | module_timing.o \ |
|---|
| 13 | module_configure.o \ |
|---|
| 14 | module_tiles.o \ |
|---|
| 15 | module_machine.o \ |
|---|
| 16 | module_nesting.o \ |
|---|
| 17 | module_wrf_error.o \ |
|---|
| 18 | module_state_description.o \ |
|---|
| 19 | module_sm.o \ |
|---|
| 20 | module_io.o \ |
|---|
| 21 | module_dm.o \ |
|---|
| 22 | module_quilt_outbuf_ops.o \ |
|---|
| 23 | module_io_quilt.o |
|---|
| 24 | |
|---|
| 25 | OBJS = wrf_num_bytes_between.o \ |
|---|
| 26 | wrf_shutdown.o \ |
|---|
| 27 | wrf_debug.o \ |
|---|
| 28 | libmassv.o \ |
|---|
| 29 | collect_on_comm.o |
|---|
| 30 | |
|---|
| 31 | #compile as a .o but do not link into the main library |
|---|
| 32 | SPECIAL = module_internal_header_util.o pack_utils.o |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | include ../configure.wrf |
|---|
| 36 | |
|---|
| 37 | LIBTARGET = framework |
|---|
| 38 | TARGETDIR = ./ |
|---|
| 39 | $(LIBTARGET) : $(MODULES) $(OBJS) $(SPECIAL) |
|---|
| 40 | $(AR) ../main/libwrflib.a $(MODULES) $(OBJS) |
|---|
| 41 | $(RANLIB) ../main/libwrflib.a |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | wrf_num_bytes_between.o : |
|---|
| 45 | $(CC) -c $(CFLAGS) wrf_num_bytes_between.c |
|---|
| 46 | |
|---|
| 47 | clean: |
|---|
| 48 | @ echo 'use the clean script' |
|---|
| 49 | |
|---|
| 50 | module_state_description.F : ../Registry/$(REGISTRY) |
|---|
| 51 | ( cd .. ; tools/registry $(ARCHFLAGS) Registry/$(REGISTRY) ) |
|---|
| 52 | |
|---|
| 53 | md_calls.inc : md_calls.m4 |
|---|
| 54 | $(M4) md_calls.m4 > md_calls.inc |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | # DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES) |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | module_configure.o: \ |
|---|
| 61 | module_state_description.o \ |
|---|
| 62 | module_wrf_error.o \ |
|---|
| 63 | module_driver_constants.o |
|---|
| 64 | |
|---|
| 65 | module_dm.o: module_machine.o module_state_description.o module_wrf_error.o \ |
|---|
| 66 | module_domain.o \ |
|---|
| 67 | module_driver_constants.o \ |
|---|
| 68 | module_timing.o \ |
|---|
| 69 | module_configure.o |
|---|
| 70 | |
|---|
| 71 | module_dm_stubs.F: module_domain.o |
|---|
| 72 | |
|---|
| 73 | module_domain.o: module_driver_constants.o \ |
|---|
| 74 | module_configure.o \ |
|---|
| 75 | module_machine.o \ |
|---|
| 76 | module_state_description.o \ |
|---|
| 77 | module_wrf_error.o \ |
|---|
| 78 | $(ESMF_MOD_DEPENDENCE) |
|---|
| 79 | |
|---|
| 80 | module_driver_constants.o: \ |
|---|
| 81 | module_state_description.o \ |
|---|
| 82 | module_wrf_error.o |
|---|
| 83 | |
|---|
| 84 | module_integrate.o: module_domain.o \ |
|---|
| 85 | module_timing.o \ |
|---|
| 86 | module_driver_constants.o \ |
|---|
| 87 | module_state_description.o \ |
|---|
| 88 | module_nesting.o \ |
|---|
| 89 | module_configure.o \ |
|---|
| 90 | $(ESMF_MOD_DEPENDENCE) |
|---|
| 91 | |
|---|
| 92 | module_io.o : md_calls.inc \ |
|---|
| 93 | module_state_description.o \ |
|---|
| 94 | module_configure.o \ |
|---|
| 95 | module_driver_constants.o |
|---|
| 96 | |
|---|
| 97 | module_io_quilt.o: module_state_description.o \ |
|---|
| 98 | module_internal_header_util.o \ |
|---|
| 99 | module_quilt_outbuf_ops.o |
|---|
| 100 | |
|---|
| 101 | module_machine.o: module_driver_constants.o |
|---|
| 102 | |
|---|
| 103 | module_nesting.o: module_machine.o \ |
|---|
| 104 | module_driver_constants.o \ |
|---|
| 105 | module_configure.o \ |
|---|
| 106 | $(ESMF_MOD_DEPENDENCE) \ |
|---|
| 107 | module_domain.o |
|---|
| 108 | |
|---|
| 109 | module_quilt_outbuf_ops.o: module_state_description.o |
|---|
| 110 | |
|---|
| 111 | module_tiles.o: module_domain.o \ |
|---|
| 112 | module_driver_constants.o \ |
|---|
| 113 | module_machine.o \ |
|---|
| 114 | module_configure.o \ |
|---|
| 115 | module_wrf_error.o |
|---|
| 116 | |
|---|
| 117 | module_timing.o: \ |
|---|
| 118 | module_state_description.o \ |
|---|
| 119 | module_wrf_error.o |
|---|
| 120 | |
|---|
| 121 | module_wrf_error.o: \ |
|---|
| 122 | wrf_shutdown.o \ |
|---|
| 123 | $(ESMF_MOD_DEPENDENCE) |
|---|
| 124 | |
|---|
| 125 | wrf_debug.o: \ |
|---|
| 126 | module_wrf_error.o |
|---|
| 127 | |
|---|
| 128 | # DO NOT DELETE |
|---|