Merge pull request #22 from wirc-sjsu/develop-w21
[WRF-Fire-merge.git] / share / Makefile
blob57fb03aa4c2424e1e765f77089daef57c387ad20
3 LN = ln -sf
4 MAKE = make -i -r
5 RM = rm -f
7 MODULES1= \
8 module_model_constants.o \
9 module_bc_time_utilities.o \
10 module_get_file_names.o \
11 module_compute_geop.o \
12 module_chem_share.o \
13 module_check_a_mundo.o \
14 module_HLaw.o \
15 module_ctrans_aqchem.o \
16 module_random.o \
17 module_llxy.o \
18 module_interp_nmm.o \
19 module_interp_store.o \
20 module_string_tools.o \
21 module_MPP.o
23 MODULES2= \
24 module_date_time.o \
25 module_bc.o \
26 module_io_wrf.o \
27 module_soil_pre.o
29 MODULES3= \
30 module_io_domain.o
32 MODULES4= \
33 module_optional_input.o
35 MODULES = $(MODULES1) $(MODULES2) $(MODULES3) $(MODULES4)
37 OBJS4 = \
38 input_wrf.o \
39 output_wrf.o \
40 wrf_bdyout.o \
41 wrf_bdyin.o \
42 dfi.o \
43 $(PERTMOD) \
44 mediation_integrate.o \
45 mediation_wrfmain.o
47 OBJS1 = \
48 solve_interface.o \
49 mediation_interp_domain.o \
50 mediation_force_domain.o \
51 mediation_feedback_domain.o
53 OBJS2 = \
54 start_domain.o \
55 init_modules.o \
56 set_timekeeping.o \
57 interp_fcn.o \
58 sint.o \
59 wrf_ext_write_field.o \
60 wrf_ext_read_field.o
62 OBJS3 = \
63 wrf_tsin.o \
64 landread.o \
65 track_driver.o \
66 track_input.o \
67 module_trajectory.o \
68 bobrand.o \
69 wrf_timeseries.o \
70 track_driver.o \
71 wrf_fddaobs_in.o \
72 mediation_nest_move.o \
73 setfeenv.o
75 OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4)
77 NMM_MODULES =
80 LIBTARGET = shared
81 TARGETDIR = ./
82 $(LIBTARGET) : $(MODULES1) $(OBJS1) $(MODULES2) $(OBJS2) $(MODULES3) $(OBJS3) $(MODULES4) $(OBJS4)
83 if [ $(WRF_NMM_CORE) -eq 1 ] ; then \
84 $(MAKE) nmm_contrib ; \
85 $(AR) $(ARFLAGS) ../main/$(LIBWRFLIB) $(MODULES) $(OBJS) $(NMM_OBJS) $(NMM_MODULES) ; \
86 else \
87 $(AR) $(ARFLAGS) ../main/$(LIBWRFLIB) $(MODULES) $(OBJS) ; \
90 include ../configure.wrf
92 nmm_contrib : $(NMM_OBJS) $(NMM_MODULES)
94 #set_timekeeping_defs.inc : set_timekeeping_defs.m4
95 # $(M4) set_timekeeping_defs.m4 > set_timekeeping_defs.inc
97 #set_timekeeping_alarms.inc : set_timekeeping_alarms.m4
98 # $(M4) set_timekeeping_alarms.m4 > set_timekeeping_alarms.inc
100 #module_io_domain_defs.inc : module_io_domain_defs.m4
101 # $(M4) module_io_domain_defs.m4 > module_io_domain_defs.inc
103 clean:
104 @ echo 'use the clean script'
107 # DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)
109 module_bc_em.o: ../share/module_bc.o \
110 ../share/module_model_constants.o \
111 ../frame/module_configure.o \
112 ../frame/module_wrf_error.o
114 include ../main/depend.common
116 # DO NOT DELETE