Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
tachyon
tachyon-automake.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tachyon-automake.diff of Package tachyon
From: Jan Engelhardt <jengelh@medozas.de> Date: 2011-09-27 20:11:30.215109504 +0200 Upstream: sent on Dec 03 00:28+0100 This patch updated thereafter. --- Makefile.am | 3 +++ configure.ac | 17 +++++++++++++++++ demosrc/Makefile.am | 11 +++++++++++ src/Makefile.am | 15 +++++++++++++++ 4 files changed, 46 insertions(+) Index: tachyon/Makefile.am =================================================================== --- /dev/null +++ tachyon/Makefile.am @@ -0,0 +1,3 @@ +# -*- Makefile -*- + +SUBDIRS = src demosrc Index: tachyon/configure.ac =================================================================== --- /dev/null +++ tachyon/configure.ac @@ -0,0 +1,17 @@ +AC_INIT([tachyon], [0.99b6]) +AC_CONFIG_AUX_DIR([build-aux]) +AM_INIT_AUTOMAKE([-Wall foreign]) +AC_PROG_INSTALL +AC_PROG_CC +AC_DISABLE_STATIC +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) +LT_INIT +PKG_CHECK_MODULES([libGL], [gl]) +PKG_CHECK_MODULES([libpng], [libpng]) +PKG_CHECK_MODULES([libX11], [x11]) +regular_CPPFLAGS="-DUSEJPEG -DUSEOPENGL -DUSEPNG -DLinux -DTHR -D_REENTRANT" +regular_CFLAGS="-ffast-math" +AC_SUBST([regular_CPPFLAGS]) +AC_SUBST([regular_CFLAGS]) +AC_CONFIG_FILES([Makefile src/Makefile demosrc/Makefile]) +AC_OUTPUT Index: tachyon/demosrc/Makefile.am =================================================================== --- /dev/null +++ tachyon/demosrc/Makefile.am @@ -0,0 +1,11 @@ +# -*- Makefile -*- + +AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_srcdir}/src +AM_CFLAGS = ${regular_CFLAGS} ${libGL_CFLAGS} ${libX11_CFLAGS} + +bin_PROGRAMS = tachyon + +tachyon_SOURCES = \ + main.c getargs.c parse.c nffparse.c glwin.c spaceball.c trackball.c \ + mgfparse.c ac3dparse.c +tachyon_LDADD = ../src/libtachyon.la -lm ${libGL_LIBS} ${libX11_LIBS} Index: tachyon/src/Makefile.am =================================================================== --- /dev/null +++ tachyon/src/Makefile.am @@ -0,0 +1,15 @@ +# -*- Makefile -*- + +AM_CPPFLAGS = ${regular_CPPFLAGS} +AM_CFLAGS = ${regular_CFLAGS} ${libpng_CFLAGS} + +lib_LTLIBRARIES = libtachyon.la + +libtachyon_la_SOURCES = \ + api.c apigeom.c box.c global.c hash.c parallel.c threads.c camera.c \ + render.c trace.c grid.c intersect.c sphere.c plane.c ring.c \ + triangle.c cylinder.c quadric.c extvol.c vol.c ui.c util.c vector.c \ + shade.c texture.c coordsys.c imap.c light.c imageio.c jpeg.c \ + pngfile.c ppm.c psd.c sgirgb.c tgafile.c winbmp.c +libtachyon_la_LIBADD = -lm -lpthread -ljpeg ${libpng_LIBS} +libtachyon_la_LDFLAGS = -release ${PACKAGE_VERSION}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor