patch-GNUmakefile.orig 785 B

1234567891011121314151617181920212223242526
  1. --- avl-0.3.5.orig/GNUmakefile 2002-11-15 19:57:48.000000000 +0100
  2. +++ avl-0.3.5/GNUmakefile 2011-05-10 13:51:44.000000000 +0200
  3. @@ -15,7 +15,7 @@ CFLAGS ?= -O2 -fomit-frame-pointer -pipe
  4. #CFLAGS = -g -pg -a -pipe -march=i686 -Wall
  5. #LDFLAGS = -s
  6. -prefix ?= /usr/local
  7. +prefix ?= /usr
  8. libdir ?= $(prefix)/lib
  9. includedir ?= $(prefix)/include
  10. includedir ?= /usr/include
  11. @@ -41,13 +41,13 @@ clean:
  12. install: all
  13. $(INSTALL) -d $(DESTDIR)$(libdir)
  14. + $(INSTALL) -d $(DESTDIR)$(includedir)
  15. $(INSTALL) avl.h $(DESTDIR)$(includedir)
  16. $(INSTALL) $(LIBRARIES) $(DESTDIR)$(libdir)
  17. for i in $(LIBRARIES); do\
  18. $(LN) -sf $$i $(DESTDIR)$(libdir)/$${i%.*};\
  19. $(LN) -sf $${i%.*} $(DESTDIR)$(libdir)/$${i%.*.*};\
  20. done
  21. - -$(LDCONFIG)
  22. .PHONY: clean install all
  23. .PRECIOUS: %.h %.c