# # Makefile.def.in for all toolkit code # The use of the following code requires: # (a) definition of srcdir # (b) definition of VPATH without using any Makefile variables (optional) # (c) definition of LOCALDEFS an LOCALDEBUG (optional) # prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ bindir = @bindir@ etcdir = @sysconfdir@ datadir = @datadir@ docdir = @docdir@ mandir = @mandir@ man1dir = @mandir@/man1 htmldir = @htmldir@ pdfdir = @pdfdir@ libdir = @libdir@ includedir = @includedir@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_DATE = @PACKAGE_DATE@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PACKAGE_VERSION_NUMBER = @PACKAGE_VERSION_NUMBER@ PACKAGE_VERSION_SUFFIX = @PACKAGE_VERSION_SUFFIX@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ # # Definition of dependencies file # DEP = Makefile.dep # Toolkit wide definitions for DEBUGGING # # -DDEBUG Compile with debug code and assertions # -DNDEBUG Compile without debug code and assertions DEBUG = @DEBUG@ # # Global definitions # # We want the old behavior of OFString(NULL) for now, no crashes. GLOBALDEFS = @DEFS@ -DUSE_NULL_SAFE_OFSTRING -DDCMTK_BUILD_IN_PROGRESS # -DDCMTK_BUILD_DATE=\"YYYY-MM-DD\" # # ARCH defines special machine architecture compiler settings # (e.g. -arch i386 on NeXT) # # ARCH = CC = @CC@ CFLAGS = @CFLAGS@ CXX = @CXX@ CXXFLAGS = @CXXFLAGS@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ RANLIB = @RANLIB@ AR = @AR@ ARFLAGS = @ARFLAGS@ LIBS = @LIBS@ MATHLIBS = @MATHLIBS@ OPENSSLLIBS = @OPENSSLLIBS@ TIFFLIBS = @TIFFLIBS@ PNGLIBS = @PNGLIBS@ ZLIBLIBS = @ZLIBLIBS@ XMLLIBS = @XMLLIBS@ TCPWRAPPERLIBS = @TCPWRAPPERLIBS@ SNDFILELIBS = @SNDFILELIBS@ CHARCONVLIBS = @CHARCONVLIBS@ LIBEXT = @LIBEXT@ BINEXT = @BINEXT@ STRIP = @STRIP@ # # for clean and distclean # TRASH = *~ "\#*\#" *.bak core DISTTRASH = $(TRASH) Makefile *.cache *.log *.status includes = -I. -I$(srcdir) -I$(top_srcdir)/include -I$(configdir)/include $(LOCALINCLUDES) @CHARCONVINCLUDES@ defines = $(GLOBALDEFS) $(LOCALDEFS) $(DEBUG) $(LOCALDEBUG) .SUFFIXES: .SUFFIXES: .o .cc .c .h .cc.o: $(CXX) $(defines) -c $(includes) $(ARCH) \ $(CPPFLAGS) $(CXXFLAGS) $< .c.o: $(CC) $(defines) -c $(includes) $(ARCH) \ $(CPPFLAGS) $(CFLAGS) $<