Edit

kc3-lang/ftgl/Makefile.am

Branch :

  • Show log

    Commit

  • Author : brlcad
    Date : 2010-09-28 19:01:23
    Hash : 9a13e4f8
    Message : implement a quick check for __FUNCTION__ and __func__ based on whether the compiler can actually use one or the other at runtime. cache the checks and provide __FUNC__ for use via FTGL_CPP_FUNC.

  • Makefile.am
  • ACLOCAL_AMFLAGS = -I m4
    
    SUBDIRS = src test demo docs
    DIST_SUBDIRS = $(SUBDIRS) msvc
    
    pkgconfigdir = $(libdir)/pkgconfig
    pkgconfig_DATA = ftgl.pc
    
    DISTCLEANFILES = ftgl.pc
    MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.h.in config.h.in~
    
    EXTRA_DIST = \
    	AUTHORS \
    	BUGS \
    	COPYING \
    	ChangeLog \
    	INSTALL \
    	NEWS \
    	README \
    	TODO \
    	autogen.sh \
    	configure.ac \
    	ftgl.pc.in \
    	m4/compiler.m4 \
    	m4/cxx.m4 \
    	m4/font.m4 \
    	m4/freetype2.m4 \
    	m4/func.m4 \
    	m4/gl.m4 \
    	m4/glut.m4 \
    	m4/pkg.m4 \
    	$(NULL)
    
    # Print out an informative summary.
    all-local:
    	@$(ECHO) "Done."
    	@$(ECHO)
    	@if test "x$(MAKECMDGOALS)" = "xall-am" -o "x$(.TARGETS)" = "xall-am" -o "x$(MAKECMDGOALS)" = "x" -o "x$(.TARGETS)" = "x" ; then \
    	  $(ECHO) "---" ;\
    	  $(ECHO) "Run 'make install' to begin installation into $(prefix)" ;\
    	fi
    	@$(ECHO)
    
    maintainer-clean-local:
    	-rm -rf .auto
    
    # Upload documentation
    DOC = docs/html docs/latex/ftgl.pdf
    HOST = ftgl.sf.net
    DIR = /home/groups/f/ft/ftgl/htdocs/
    upload-doc:
    	tar cz $(DOC) | ssh $(HOST) "cd $(DIR) && rm -Rf $(DOC) && tar xvz"
    
    NULL =