#C- This program is free software; you can redistribute it and/or #C- modify it under the terms of the GNU General Public License, #C- either Version 2 of the License or (at your option) any later #C- version. The license should have accompanied the program #C- or you may obtain a copy of the license from the Free Software #C- Foundation at http://www.fsf.org. #C- #C- This program is distributed in the hope that it will be useful, #C- but WITHOUT ANY WARRANTY; without even the implied warranty of #C- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #C- GNU General Public License for more details. @SET_MAKE@ SHELL = @SHELL@ VPATH = @srcdir@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = ../.. prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ datarootdir = @datarootdir@ datadir = @datadir@ libdir = @libdir@ mandir = @mandir@ CC = @CC@ CXX = @CXX@ RM = @RM@ AR = @AR@ LN_S = @LN_S@ TOUCH = @TOUCH@ INSTALL = @INSTALL@ LIBTOOL = @LIBTOOL@ DEFS = @DEFS@ OPTS = @OPTS@ JPEG_LIBS=@JPEG_LIBS@ JPEG_CFLAGS=@JPEG_CFLAGS@ THREAD_LIBS = @THREAD_LIBS@ THREAD_CFLAGS = @THREAD_CFLAGS@ LIBDJVU = ${top_builddir}/libdjvu/libdjvulibre.la INCS = -I${top_builddir} -I${top_srcdir}/libdjvu -I${srcdir} FLAGS = ${DEFS} ${INCS} ${OPTS} ${JPEG_CFLAGS} ${THREAD_CFLAGS} LIBS= @LDFLAGS@ ${JPEG_LIBS} ${THREAD_LIBS} @LIBS@ CFLAGS = @CPPFLAGS@ @CFLAGS@ ${FLAGS} CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@ ${FLAGS} PROGRAMS = bin2cpp all: ${PROGRAMS} install: depend: FORCE ${CXX} -MM ${CXXFLAGS} ${srcdir}/*.cpp > Makefile.dep clean: FORCE -${LIBTOOL} --mode=clean ${RM} 2>/dev/null ${PROGRAMS} -${RM} 2>/dev/null *.o *.a *.so *.stamp distclean: clean -${RM} -r 2>/dev/null Makefile *.rpo ii_files bin2cpp: bin2cpp.o ${LIBTOOL} --mode=link \ ${CXX} -o $@ ${CXXFLAGS} bin2cpp.o ${LIBDJVU} ${LIBS} ${PROGRAMS}: ${LIBDJVU} # Rules FORCE: .PHONY: FORCE .SUFFIXES: .c .cpp .o .c.o: ${CC} ${CFLAGS} -c $< .cpp.o: ${CXX} ${CXXFLAGS} -c $< .c.lo: ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c $< .cpp.lo: ${LIBTOOL} --mode=compile ${CXX} ${CXXFLAGS} -c $< # Dependencies Makefile.dep: ${srcdir}/Makefile.dep cp ${srcdir}/Makefile.dep $@ include Makefile.dep