]> Creatis software - gdcm.git/blobdiff - src/Makefile.am
Replace confusing names gdcmImage, etc by gdcmDicomDirImage etc, to avoid
[gdcm.git] / src / Makefile.am
index c5506f186876a59277010ef355e49f04192dcdb4..26911da7a79a25f8af40d03541e3046ac82eb71c 100644 (file)
@@ -1,37 +1,71 @@
-#
-# Targets
-#
-
-# Before making a release, the LTVERSION string should be modified.
-# The string is of the form C:R:A.
-# - If interfaces have been changed or added, but binary compatibility has
-#   been preserved, change to C+1:0:A+1
-# - If binary compatibility has been broken (eg removed or changed interfaces)
-#   change to C+1:0:0
-# - If the interface is the same as the previous version, change to C:R+1:A
+SUBDIRS = jpeg
 
 LTVERSION = 0:1:0
 
 lib_LTLIBRARIES = libgdcm.la
 
-CXXFLAGS = -DPUB_DICT_PATH=\"$(prefix)/dicts/\"
+CXXFLAGS = @CXXFLAGS@ -DPUB_DICT_PATH=\"$(datadir)/gdcm/\" \
+           -D__STDC_LIMIT_MACROS  # Refer to stdint.h
+
+libgdcm_la_LIBADD = \
+   $(top_builddir)/src/jpeg/libijg12/libgdcmijpeg12.la  \
+   $(top_builddir)/src/jpeg/libijg8/libgdcmijpeg8.la    \
+   $(top_builddir)/src/jpeg/ljpg/libgdcmjpg.la
+
+libgdcm_la_SOURCES=                \
+   gdcmDicomDir.cxx                \
+   gdcmDicomDirElement.cxx         \
+   gdcmDicomDirImage.cxx           \
+   gdcmDicomDirMeta.cxx            \
+   gdcmDicomDirPatient.cxx         \
+   gdcmDicomDirSerie.cxx           \
+   gdcmDicomDirStudy.cxx           \
+   gdcmDict.cxx                    \
+   gdcmDictEntry.cxx               \
+   gdcmDictSet.cxx                 \
+   gdcmDirList.cxx                 \
+   gdcmException.cxx               \
+   gdcmFile.cxx                    \
+   gdcmHeader.cxx                  \
+   gdcmHeaderEntry.cxx             \
+   gdcmHeaderHelper.cxx            \
+   gdcmJpeg12.cxx                  \
+   gdcmJpeg2000.cxx                \
+   gdcmJpeg.cxx                    \
+   gdcmObject.cxx                  \
+   gdcmParsePixels.cxx             \
+   gdcmParser.cxx                  \
+   gdcmRLE.cxx                     \
+   gdcmTS.cxx                      \
+   gdcmUtil.cxx                    \
+   gdcmVR.cxx
 
-libgdcm_la_SOURCES=            \
-       gdcmException.cxx       \
-       gdcmUtil.cxx            \
-       gdcmHeader.cxx    \
-       gdcmElValue.cxx   \
-       gdcmDictEntry.cxx \
-       gdcmDict.cxx      \
-       gdcmDictSet.cxx   \
-       gdcmElValSet.cxx  \
-       gdcmHeaderIdo.cxx \
-       gdcmFile.cxx
 
 libgdcmincludedir = $(includedir)
-libgdcminclude_HEADERS =       \
-       config.h        \
-       gdcm.h          \
-       gdcmException.h \
-       gdcmIdo.h       \
+libgdcminclude_HEADERS =                \
+       gdcmCommon.h                    \
+       gdcmDicomDir.h                  \
+        gdcmDicomDirElement.h           \
+       gdcmDicomDirImage.h             \
+        gdcmDicomDirMeta.h              \
+       gdcmDicomDirPatient.h           \
+       gdcmDicomDirSerie.h             \
+       gdcmDicomDirStudy.h             \
+        gdcmDictEntry.h                 \
+       gdcmDict.h                      \
+       gdcmDictSet.h                   \
+       gdcmDirList.h                   \
+       gdcmException.h                 \
+       gdcmFile.h                      \
+       gdcm.h                          \
+       gdcmHeaderEntry.h               \
+       gdcmHeader.h                    \
+       gdcmHeaderHelper.h              \
+       gdcmObject.h                    \
+       gdcmParser.h                    \
+       gdcmVR.h                        \
+       gdcmTS.h
+
+EXTRA_DIST =   \
        gdcmUtil.h
+