-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
109 lines (92 loc) · 3.08 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libf03gl.la
libf03gl_la_SOURCES = OpenGL_gl.f90 OpenGL_glu.f90 GLUT_fonts.c
libf03gl_la_LIBADD = $(LIBS)
AM_FCFLAGS = -I.
# USE-depenencies
OpenGL_glu.$(OBJEXT): OpenGL_gl.$(OBJEXT)
OpenGL_glu.lo: OpenGL_gl.$(OBJEXT)
if GLUT_glut
libf03gl_la_SOURCES += OpenGL_glut.f90
OpenGL_glut.$(OBJEXT): OpenGL_gl.$(OBJEXT)
OpenGL_glut.lo: OpenGL_gl.$(OBJEXT)
endif
if GLUT_openglut
libf03gl_la_SOURCES += OpenGL_openglut.f90
OpenGL_openglut.$(OBJEXT): OpenGL_gl.$(OBJEXT)
OpenGL_openglut.lo: OpenGL_gl.$(OBJEXT)
endif
if GLUT_freeglut
libf03gl_la_SOURCES += OpenGL_freeglut.f90
OpenGL_freeglut.$(OBJEXT): OpenGL_gl.$(OBJEXT)
OpenGL_freeglut.lo: OpenGL_gl.$(OBJEXT)
endif
#if GLUT_glut_nullfunc
#libf03gl_la_SOURCES += OpenGL_glut.nullfunc.f90
#OpenGL_glut.nullfunc.$(OBJEXT): OpenGL_gl.$(OBJEXT)
#OpenGL_glut.nullfunc.lo: OpenGL_gl.$(OBJEXT)
#endif
if GLUT_openglut_nullfunc
libf03gl_la_SOURCES += OpenGL_openglut.nullfunc.f90
OpenGL_openglut.nullfunc.$(OBJEXT): OpenGL_gl.$(OBJEXT)
OpenGL_openglut.nullfunc.lo: OpenGL_gl.$(OBJEXT)
endif
if GLUT_freeglut_nullfunc
libf03gl_la_SOURCES += OpenGL_freeglut.nullfunc.f90
OpenGL_freeglut.nullfunc.$(OBJEXT): OpenGL_gl.$(OBJEXT)
OpenGL_freeglut.nullfunc.lo: OpenGL_gl.$(OBJEXT)
endif
OpenGL_glut.o: OpenGL_gl.o
OpenGL_openglut.o: OpenGL_gl.o
OpenGL_freeglut.o: OpenGL_gl.o
#OpenGL_glut.nullfunc.o: OpenGL_gl.o
OpenGL_openglut.nullfunc.o: OpenGL_gl.o
OpenGL_freeglut.nullfunc.o: OpenGL_gl.o
noinst_PROGRAMS =
if DO_EXAMPLES
noinst_PROGRAMS += sphere stars blender scube modview plotfunc
sphere_SOURCES = sphere.f90
sphere.o: libf03gl.la
sphere_LDADD = libf03gl.la
stars_SOURCES = stars.f90
stars.o: libf03gl.la
stars_LDADD = libf03gl.la
blender_SOURCES = blender.f90
blender.o: libf03gl.la
blender_LDADD = libf03gl.la
scube_SOURCES = scube.f90
scube.o: libf03gl.la
scube_LDADD = libf03gl.la
modview_SOURCES = modview.f90
modview.o: libf03gl.la
modview_LDADD = libf03gl.la
plotfunc_SOURCES = plotfunc.f90
plotfunc.o: libf03gl.la
plotfunc_LDADD = libf03gl.la
if GLUT_sgiglut
noinst_PROGRAMS += RandomSphere_GLUT
RandomSphere_GLUT_SOURCES = RandomSphere_GLUT.f90
RandomSphere_GLUT.o: libf03gl.la
RandomSphere_GLUT_LDADD = libf03gl.la
else
noinst_PROGRAMS += RandomSphere_OpenGLUT
RandomSphere_OpenGLUT_SOURCES = RandomSphere_OpenGLUT.f90
RandomSphere_OpenGLUT.o: libf03gl.la
RandomSphere_OpenGLUT_LDADD = libf03gl.la
endif
endif
glincludedir = $(includedir)/GL
# should detect module extension in autoconf
nodist_glinclude_HEADERS = opengl_gl.mod opengl_glu.mod opengl_glut.mod \
opengl_kinds.mod
# additional files to be packaged and installed
dist_pkgdoc_DATA = README.md COPYING
# additional files to be packaged but not installed
dist_noinst_DATA = FreeGLUT.h GL.h GLU.h GLUT.h OpenGLUT.h f03gl.spec \
build_interface/enumglu.spec.orig build_interface/enum.spec.orig \
build_interface/gl.spec.orig build_interface/glu.spec.orig \
build_interface/Script.sh build_interface/glut_interfaces.pl \
build_interface/spec_interfaces.pl build_interface/h_interfaces.glutnullfunc.pl \
build_interface/h_interfaces.pl
mostlyclean-compile:
-rm -f *.$(OBJEXT) *.mod