]> Creatis software - gdcm.git/blob - vtk/Makefile.am
All the 'accesors with euristics' move to the end of the file
[gdcm.git] / vtk / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 LIBS_VTK=-L/usr/lib/vtk \
3          -lvtkCommon -lvtkIO -lvtkFiltering -lvtkRendering -lvtkGraphics \
4          -lvtkImaging -lvtkpng -lvtkzlib -lvtkjpeg -lvtkexpat -lvtktiff \
5          -lvtkftgl -lvtkfreetype
6 LIBS_VTK_PYTHON= $(LIBS_VTK) \
7          -lvtkCommonPython -lvtkIOPython -lvtkFilteringPython \
8          -lvtkRenderingPython -lvtkGraphicsPython -lvtkImagingPython
9 INCLUDE_VTK=-I/usr/include/vtk
10
11 LIBS_X11= -L/usr/X11R6/lib -lX11 -lXt -lSM -lICE -lXext -lGL
12 #LIBS_X11= $(x_ldflags) $(x_libs)      
13
14 INCLUDES =             \
15    -I.                 \
16    -I$(top_srcdir)/src \
17    $(PYTHON_INCLUDES)  \
18    $(INCLUDE_VTK)
19
20 LDADD =              \
21    $(top_builddir)/src/libgdcm.la \
22    $(LIBS_VTK) \
23    $(LIBS_X11)
24
25 if BUILD_VTK
26 noinst_PROGRAMS = vtkgdcmdemo
27 vtkgdcmdemo_SOURCES = testvtkGdcmReader.cxx  vtkGdcmReader.cxx 
28 vtkgdcmdemo_LDADD = $(LDADD)
29 lib_LTLIBRARIES = libvtkgdcm.la
30 libvtkgdcm_la_SOURCES = vtkGdcmReader.cxx
31 libvtkgdcm_la_LIBADD = $(LDADD)
32
33 else
34 all:
35 endif