diff options
Diffstat (limited to 'src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am')
-rw-r--r-- | src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am new file mode 100644 index 0000000..eb78666 --- /dev/null +++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am | |||
@@ -0,0 +1,37 @@ | |||
1 | bin_PROGRAMS = g3d-thumbnailer | ||
2 | |||
3 | g3d_thumbnailer_SOURCES = \ | ||
4 | g3d-thumbnailer.c \ | ||
5 | ../src/trackball.c \ | ||
6 | ../src/gl.c \ | ||
7 | ../src/texture.c \ | ||
8 | ../src/screenshot.c | ||
9 | |||
10 | g3d_thumbnailer_CFLAGS = \ | ||
11 | -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src \ | ||
12 | -Wall -ansi \ | ||
13 | @X_CFLAGS@ @LIBG3D_CFLAGS@ \ | ||
14 | @GTK_CFLAGS@ \ | ||
15 | -DDEBUG=@DEBUG@ | ||
16 | |||
17 | g3d_thumbnailer_LDFLAGS = \ | ||
18 | @X_LIBS@ @GL_LIBS@ @GTK_LIBS@ @LIBG3D_LIBS@ | ||
19 | |||
20 | mimelocaldir = ${HOME}/.local/share/mime | ||
21 | mimefiles = g3dviewer.xml | ||
22 | |||
23 | install-data-user: install-mime-user install-schema-user | ||
24 | |||
25 | install-mime-user: ${mimefiles} | ||
26 | mkdir -p ${mimelocaldir}/packages | ||
27 | mkdir -p ${mimelocaldir}/applications | ||
28 | cp ${mimefiles} ${mimelocaldir}/packages | ||
29 | update-mime-database ${mimelocaldir} | ||
30 | |||
31 | install-schema-user: | ||
32 | ./gen_schema.sh | ||
33 | gconftool-2 --install-schema-file=g3d-thumbnailer.schema | ||
34 | |||
35 | EXTRA_DIST = \ | ||
36 | g3dviewer.xml \ | ||
37 | gen_schema.sh | ||