-
Notifications
You must be signed in to change notification settings - Fork 306
/
Makefile.in
83 lines (66 loc) · 2.27 KB
/
Makefile.in
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
#
# ${R_HOME}/src/library/stats/src/Makefile
pkg = stats
VPATH = @srcdir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ../../../..
subdir = src/library/$(pkg)/src
R_HOME = $(top_builddir)
SOURCES_C = init.c kmeans.c \
ansari.c bandwidths.c chisqsim.c d2x2xk.c fexact.c kendall.c ks.c \
line.c smooth.c \
prho.c swilk.c \
ksmooth.c loessc.c monoSpl.c isoreg.c Srunmed.c Trunmed.c \
dblcen.c distance.c hclust-utils.c \
nls.c rWishart.c \
HoltWinters.c PPsum.c arima.c burg.c filter.c \
mAR.c pacf.c starma.c port.c family.c sbart.c \
approx.c loglin.c lowess.c massdist.c splines.c lm.c \
complete_cases.c cov.c deriv.c fourier.c model.c optim.c optimize.c \
integrate.c random.c distn.c
SOURCES_F = bsplvd.f bvalue.f bvalus.f loessf.f ppr.f qsbart.f \
sgram.f sinerp.f sslvrg.f stxwx.f \
hclust.f kmns.f \
eureka.f stl.f portsrc.f lminfl.f
DEPENDS = $(SOURCES_C:.c=.d)
OBJECTS = $(SOURCES_C:.c=.o) $(SOURCES_F:.f=.o)
# need config.h
PKG_CPPFLAGS = -I../../../include -I$(top_srcdir)/src/include -DHAVE_CONFIG_H
PKG_CFLAGS = @R_OPENMP_CFLAGS@ $(C_VISIBILITY)
PKG_FFLAGS = $(F77_VISIBILITY)
SHLIB = $(pkg)@SHLIB_EXT@
## <FIXME>
## We should really add FLIBS to SHLIB_LIBADD, but we need to include
## the shlib Makeconf at a later stage, and its default value would
## override our setting.
PKG_LIBS = @R_OPENMP_CFLAGS@ $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
## </FIXME>
all: Makefile Makedeps
@$(MAKE) Makedeps
@$(MAKE) shlib
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
Makedeps: Makefile $(DEPENDS)
@cat $(DEPENDS) >> Makefile
@touch $@
shlib: $(SHLIB)
@$(MKINSTALLDIRS) \
$(top_builddir)/library/$(pkg)/libs@R_ARCH@
@$(SHELL) $(top_srcdir)/tools/copy-if-change $(SHLIB) \
$(top_builddir)/library/$(pkg)/libs@R_ARCH@/$(SHLIB)
include $(R_HOME)/etc${R_ARCH}/Makeconf
include $(top_srcdir)/share/make/shlib.mk
LTO = @LTO@
## Meeded with i386 gcc 4.5.0 -- PR#14427
portsrc_FFLAGS=$(FPICFLAGS) $(SHLIB_FFLAGS) @SAFE_FFLAGS@
portsrc.o: portsrc.f
$(F77) $(portsrc_FFLAGS) -c $< -o $@
mostlyclean: clean
clean:
@-rm -rf .libs _libs
@-rm -f Makedeps *.d *.o *$(SHLIB_EXT)
distclean: clean
@-rm -f Makefile
maintainer-clean: distclean
## Automagically generated dependencies: