goat3dgfx

diff Makefile.in @ 23:0ac499409edd

added misisng header file in goat3dgfx.h added contains() function in geom
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 25 Feb 2014 23:47:48 +0200
parents 7d6b667821cf
children 7f0aed0fe289
line diff
     1.1 --- a/Makefile.in	Sat Dec 28 06:48:23 2013 +0200
     1.2 +++ b/Makefile.in	Tue Feb 25 23:47:48 2014 +0200
     1.3 @@ -9,6 +9,8 @@
     1.4  name = goat3dgfx
     1.5  lib_a = lib$(name).a
     1.6  
     1.7 +pcfile = $(name).pc
     1.8 +
     1.9  so_major = 0
    1.10  so_minor = 1
    1.11  
    1.12 @@ -26,7 +28,7 @@
    1.13  inc = -Isrc -Isrc/vr
    1.14  warn = -Wall
    1.15  
    1.16 -libs_ldflags = -limago -lanim -lpsys -lvmath
    1.17 +libs_ldflags = -limago -lanim -lpsys -lvmath -lresman
    1.18  
    1.19  CFLAGS = -pedantic $(warn) $(dbg) $(pic) $(opt) $(inc) $(cfg_cflags) $(libs_cflags)
    1.20  CXXFLAGS =  $(CFLAGS)
    1.21 @@ -69,6 +71,8 @@
    1.22  		ln -s $(lib_so) $(soname) && \
    1.23  		ln -s $(soname) $(devlink) || \
    1.24  		true
    1.25 +	mkdir -p $(DESTDIR)$(PREFIX)/share/pkgconfig
    1.26 +	cp $(pcfile) $(DESTDIR)$(PREFIX)/share/pkgconfig/$(pcfile)
    1.27  
    1.28  .PHONY: uninstall
    1.29  uninstall:
    1.30 @@ -80,3 +84,4 @@
    1.31  		rm -f $(DESTDIR)$(PREFIX)/lib/$(soname) && \
    1.32  		rm -f $(DESTDIR)$(PREFIX)/lib/$(devlink) || \
    1.33  		true
    1.34 +	rm -f $(DESTDIR)$(PREFIX)/share/pkgconfig/$(pcfile)