--- /dev/null
+Makefile
+Makefile.in
--- /dev/null
+dictsdir = $(prefix)/dicts
+dicts_DATA = dicomV3.dic README
## Process this file with automake to produce Makefile.in
-SUBDIRS = src Test
+SUBDIRS = src Test Dicts
release:
$(MAKE) dist distdir=$(PACKAGE)-$(VERSION)
AC_OUTPUT([
Makefile
src/Makefile
-Test/Makefile])
+Test/Makefile
+Dicts/Makefile])
lib_LTLIBRARIES = libgdcm.la
+CXXFLAGS = -DPUB_DICT_PATH=\"$(prefix)/dicts/\"
+
libgdcm_la_SOURCES= \
gdcmException.cxx \
gdcmUtil.cxx \
#include "gdcmUtil.h"
#define PUB_DICT_NAME "DicomV3Dict"
-#define PUB_DICT_PATH "../Dicts/"
+#ifndef PUB_DICT_PATH
+# define PUB_DICT_PATH "../Dicts/"
+#endif
#define PUB_DICT_FILENAME "dicomV3.dic"
gdcmDictSet::gdcmDictSet(void) {
#endif
+
void gdcmException::fatal(const char *from) throw() {
try {
cerr << "Fatal: exception received in " << from