]> Creatis software - gdcm.git/blobdiff - src/Makefile.am
* Memory link hunt (by using valgrind --leak-check=yes PrintHeader).
[gdcm.git] / src / Makefile.am
index c5506f186876a59277010ef355e49f04192dcdb4..dcd328a2ea9d9aa5229734d4abe6bbe96f883216 100644 (file)
@@ -14,7 +14,8 @@ 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_SOURCES=            \
        gdcmException.cxx       \
@@ -26,12 +27,25 @@ libgdcm_la_SOURCES=         \
        gdcmDictSet.cxx   \
        gdcmElValSet.cxx  \
        gdcmHeaderIdo.cxx \
-       gdcmFile.cxx
+       gdcmFile.cxx    \
+       gdcmVR.cxx      \
+       gdcmJpeg.cxx
 
 libgdcmincludedir = $(includedir)
-libgdcminclude_HEADERS =       \
-       config.h        \
-       gdcm.h          \
+libgdcminclude_HEADERS = \
        gdcmException.h \
+       gdcmHeader.h    \
+       gdcmCommon.h    \
+       gdcm.h          \
+       gdcmDictSet.h   \
+       gdcmDict.h      \
+       gdcmDictEntry.h \
+       gdcmElValue.h   \
+       gdcmElValSet.h  \
+       gdcmVR.h        \
+       gdcmFile.h
+
+EXTRA_DIST = \
+       gdcmUtil.h      \
        gdcmIdo.h       \
-       gdcmUtil.h
+       iddcmjpeg.h