File: yMakefile

package info (click to toggle)
ncl 6.3.0-13
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 196,648 kB
  • ctags: 70,631
  • sloc: ansic: 603,601; fortran: 441,469; sed: 11,222; csh: 8,350; yacc: 4,253; xml: 1,928; sh: 1,526; lex: 1,266; python: 1,067; f90: 652; perl: 479; java: 447; objc: 291; makefile: 109
file content (129 lines) | stat: -rw-r--r-- 6,290 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#
#      $Id: yMakefile,v 1.124 2010/02/07 00:05:20 haley Exp $
#
#########################################################################
#                                                                       #
#                          Copyright (C)  1997                          #
#            University Corporation for Atmospheric Research            #
#                          All Rights Reserved                          #
#                                                                       #
#########################################################################
#
#       File:           yMakefile
#
#       Author:         Mary Haley
#                               National Center for Atmospheric Research
#                               POB 3000, Boulder, Colorado
#
#       $Date: 2010/02/07 00:05:20 $
#
#       Description:    

MYNAME          =       libnfp

EXTRA_INCLUDES  = -I../../ncl
EXTRA_CDEFINES  = $(UDUNITS_DEFS) $(V5D_DEFS) $(GRIDSPEC_DEFS) $(ESMF_DEFS) $(KML_DEFS)

HDRS = wrapper.h nctime.h

#ifdef BuildUdunits
UDUNITS_DEFS = -DBuildUdunits
UDUNITS_SRCS = udunitsW.c utCalendar2_cal.c
UDUNITS_OBJS = udunitsW.o utCalendar2_cal.o
#else
#define UDUNITS_SRCS
#define UDUNITS_OBJS
#endif

# ifdef BuildV5D
V5D_DEFS = -DBuildV5D
V5D_SRCS = ncl2v5dW.c
V5D_OBJS = ncl2v5dW.o
# else
# define    V5D_SRCS
# define    V5D_OBJS
# endif

#ifdef BuildESMF
ESMF_DEFS = -DBuildESMF
ESMF_SRCS = KML_UTILS.c Unstruct2KMLW.c SCRIP2KMLW.c SMMulW.c
ESMF_OBJS = KML_UTILS.o Unstruct2KMLW.o SCRIP2KMLW.o SMMulW.o
#else
#define ESMF_SRCS
#define ESMF_OBJS
#endif

#ifdef BuildGDAL
KML_DEFS = -DBuildGDAL
KML_SRCS = DirectVincenty.c directVincenty_W.c rgba2png.c rgba2png_W.c KML_Funcs.c \
	   add_NCL_KML_Arrow_W.c add_NCL_KML_2DGrid_W.c add_NCL_KML_UnstructGrid_W.c \
	   TransformCoordinate.c TransformCoordinate_W.c
KML_OBJS = DirectVincenty.o directVincenty_W.o rgba2png.o rgba2png_W.o KML_Funcs.o \
	   add_NCL_KML_Arrow_W.o add_NCL_KML_2DGrid_W.o add_NCL_KML_UnstructGrid_W.o \
	   TransformCoordinate.o TransformCoordinate_W.o
#else
#define KML_SRCS
#define KML_OBJS
#endif


CSRCS = areavolW.c betaincW.c bytesW.c calcorcW.c cancorW.c cdf_dpW.c chiinvW.c         \
        conformW.c csagridW.c cssgridW.c ctwrapW.c cz2ccmW.c datesW.c                   \
        drwvctc.c dsgridW.c dtrendW.c echoW.c eofW.c erfW.c extaperW.c ezfftW.c         \
        finitediffW.c filterxW.c fitgridW.c fluxEddyW.c fourinfoW.c gausW.c             \
        gtripleW.c hydroW.c hyi2hyoW.c indW.c int2pW.c invmatrixW.c                     \
        julGregW.c linint2W.c linmsgW.c linroodW.c locminmaxW.c mapgciW.c               \
        mixhumW.c natgridW.c ncolorW.c nglogoW.c ngmiscW.c nicevalsW.c                  \
        omcalc_ccmW.c outputgif.c paleoW.c prcwatW.c preshybW.c pressigW.c probtestW.c  \
        randomW.c rcmW.c regcoefW.c relhumW.c remapW.c rhombtriW.c                      \
        shgridW.c simpsonW.c sindexW.c slpW.c skewtW.c smth9W.c sortW.c                 \
        specxW.c sph2W.c sphintW.c sstoiW.c statW.c svdW.c taperW.c                     \
        tdpackW.c tempnamW.c trvsphW.c varimaxW.c vibetaW.c waveletW.c                  \
        wgneW.c wmapW.c writematrixW.c wrunaveW.c wrapper.c utilW.c wrfW.c              \
        vinth2pW.c vinth2peW.c vintp2peW.c zonmpsiW.c z2geouvW.c stdatmusW.c ripW.c     \
        lspolyW.c wgtvertbetaW.c dimavgwgtW.c studentW.c fft2dW.c                       \
        sg_toolsW.c colconvW.c convert_datum.c cfftW.c wksmoothW.c dzheightW.c          \
	covcormW.c kronprodW.c space_timeW.c spcorrW.c  bindataW.c tropwmoW.c pdfW.c    \
	mocloopsW.c spanW.c vinth2pnodesW.c vinth2penodesW.c objanalW.c                 \
	areaconremapW.c nctime.c cdtimeW.c dimnumrunW.c sparse_matrixW.c                \
	gammaW.c gamfitW.c spiW.c oceanW.c dgeevxW.c areapolyW.c kolsm2W.c              \
	kmeansW.c thornW.c wrf_vinterpW.c wrf_cloud_topW.c wrfwpsW.c
	

COBJS = areavolW.o betaincW.o bytesW.o calcorcW.o cancorW.o cdf_dpW.o chiinvW.o         \
        conformW.o csagridW.o cssgridW.o ctwrapW.o cz2ccmW.o datesW.o                   \
        drwvctc.o dsgridW.o dtrendW.o echoW.o eofW.o erfW.o extaperW.o ezfftW.o         \
        finitediffW.o filterxW.o fitgridW.o fluxEddyW.o fourinfoW.o gausW.o             \
        gtripleW.o hydroW.o hyi2hyoW.o indW.o int2pW.o invmatrixW.o                     \
        julGregW.o linint2W.o linmsgW.o linroodW.o locminmaxW.o mapgciW.o               \
        mixhumW.o natgridW.o ncolorW.o nglogoW.o ngmiscW.o nicevalsW.o                  \
        omcalc_ccmW.o outputgif.o paleoW.o prcwatW.o preshybW.o pressigW.o probtestW.o  \
        randomW.o rcmW.o regcoefW.o relhumW.o remapW.o rhombtriW.o                      \
        shgridW.o simpsonW.o sindexW.o slpW.o skewtW.o smth9W.o sortW.o                 \
        specxW.o sph2W.o sphintW.o sstoiW.o statW.o svdW.o taperW.o                     \
        tdpackW.o tempnamW.o trvsphW.o varimaxW.o vibetaW.o waveletW.o                  \
        wgneW.o wmapW.o writematrixW.o wrunaveW.o wrapper.o utilW.o wrfW.o              \
        vinth2pW.o vinth2peW.o vintp2peW.o zonmpsiW.o z2geouvW.o stdatmusW.o ripW.o     \
        lspolyW.o wgtvertbetaW.o dimavgwgtW.o studentW.o fft2dW.o poissonW.o            \
        sg_toolsW.o colconvW.o convert_datum.o cfftW.o wksmoothW.o dzheightW.o          \
	covcormW.o kronprodW.o space_timeW.o spcorrW.o bindataW.o tropwmoW.o pdfW.o     \
	mocloopsW.o spanW.o vinth2pnodesW.o vinth2penodesW.o objanalW.o                 \
	areaconremapW.o	nctime.o cdtimeW.o dimnumrunW.o sparse_matrixW.o 		\
	gammaW.o gamfitW.o spiW.o oceanW.o dgeevxW.o areapolyW.o kolsm2W.o		\
	bfilterW.o weibullW.o trendmankenW.o determinantW.o fftshiftW.o thornW.o	\
	kmeansW.o wrf_vinterpW.o wrf_cloud_topW.o wrfwpsW.o


OBJS = $(COBJS) $(UDUNITS_OBJS) $(V5D_OBJS) $(ESMF_OBJS) $(KML_OBJS)
SRCS = $(CSRCS) $(UDUNITS_SRCS) $(V5D_SRCS) $(ESMF_SRCS) $(KML_SRCS)

BuildSharedLibTarget(libNGnfp,$(OBJS),1,0,$(NCARGLIB) $(NCARGGKSLIB) $(NCARGCLIB) $(CTOFLIBS) -lNGnfpfort -lsphere3.1_dp -ludunits2 -lm -lc)
LibraryTarget($(MYNAME),$(OBJS))
BuildIncludes($(HDRS),ncarg/nfp,../..)
DependTarget($(SRCS))

#if defined(Linux)
wrfW.o: wrfW.c
        $(CC) $(CCOPTIONS) $(ALLDEFINES) -g -c wrfW.c
#endif