#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@ plugindir = ${libdir}/netscape/plugins CC = @CC@ CXX = @CXX@ RM = @RM@ AR = @AR@ LN_S = @LN_S@ TOUCH = @TOUCH@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SHLIB = @INSTALL_SHLIB@ LIBTOOL = @LIBTOOL@ --tag=disable-static DEFS = @DEFS@ OPTS = @OPTS@ NSDEJAVU_LIBS = @NSDEJAVU_LIBS@ NSDEJAVU_CFLAGS = @NSDEJAVU_CFLAGS@ GLIB_CFLAGS = @GLIB_CFLAGS@ INCS = \ -I${srcdir} \ -I${top_builddir} \ -I${top_srcdir}/gui/shared/res \ -I${top_srcdir}/gui/npsdk CFLAGS = @CPPFLAGS@ ${DEFS} ${OPTS} ${INCS} ${NSDEJAVU_CFLAGS} ${GLIB_CFLAGS} LIBS = @LDFLAGS@ ${NSDEJAVU_LIBS} all: nsdejavu.la nsdejavu.x nsdejavu.1 nsdejavu.lo: nsdejavu.c nsdejavu.la: nsdejavu.lo ${LIBTOOL} --mode=link ${CC} ${CFLAGS} nsdejavu.lo ${LIBS} \ -rpath ${plugindir} -module -o $@ nsdejavu.x: nsdejavu.la FORCE eval `grep '^dlname=' nsdejavu.la` && \ echo $${dlname} | sed -e 's/\([-.][0-9][0-9]*\)*//g' > $@ -@if test -z "`cat nsdejavu.x`" ; then \ echo "-----------------------------------------------";\ echo "*** Libtool cannot build the plugin 'nsdejavu'.";\ echo "*** Did you configure with '--disable-shared'? ";\ echo "-----------------------------------------------";\ fi nsdejavu.1: nsdejavu.1.in nsdejavu.x eval "nsdejavu=`cat nsdejavu.x`" && \ sed < ${srcdir}/nsdejavu.1.in > nsdejavu.1 \ -e 's,LIBDIR,${libdir},' -e "s,NSDEJAVUSO,$$nsdejavu," install: install-bin install-man install-bin: nsdejavu.la FORCE ${INSTALL} -d ${DESTDIR}${plugindir} eval "nsdejavu=`cat nsdejavu.x`" && \ eval `grep '^dlname=' nsdejavu.la` && \ ${INSTALL_SHLIB} .libs/$$dlname ${DESTDIR}${plugindir}/$$nsdejavu install-man: nsdejavu.1 FORCE ${INSTALL} -d ${DESTDIR}${mandir}/man1 ${INSTALL_DATA} nsdejavu.1 ${DESTDIR}${mandir}/man1 depend: FORCE ${CC} -MM ${CFLAGS} ${srcdir}/nsdejavu.c > Makefile.dep clean: FORCE -${LIBTOOL} --mode=clean ${RM} 2>/dev/null *.lo *.la -${RM} 2>/dev/null nsdejavu.x nsdejavu.1 distclean: clean -${RM} -r 2>/dev/null Makefile *.rpo ii_files FORCE: .PHONY: FORCE .SUFFIXES: .c .cpp .o .lo .c.o: ${CC} ${CFLAGS} -c $< -o $@ .c.lo: ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c $< -o $@ # Dependencies Makefile.dep: ${srcdir}/Makefile.dep cp ${srcdir}/Makefile.dep $@ include Makefile.dep