OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../tlsf_alloc/makeinstall.patch
  5. # Copyright (C) 2008 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./Makefile.orig 2008-06-01 22:57:45.000000000 +0000
  17. +++ ./Makefile 2008-06-01 23:16:26.000000000 +0000
  18. @@ -6,6 +6,10 @@
  19. CFLAGS+= -DUSE_MMAP=1
  20. CFLAGS+= -DUSE_SBRK=1
  21. +DESTDIR=
  22. +libdir=/usr/lib
  23. +includedir=/usr/include
  24. +
  25. # CFLAGS+=-ftest-coverage -fprofile-arcs
  26. CC=gcc
  27. @@ -19,3 +23,6 @@
  28. indent:
  29. indent -kr -l120 -br -ce -npsl -nut -i4 *.[hc]
  30. +install: tlsf.o
  31. + cp -vf tlsf.o $(DESTDIR)$(libdir)
  32. + cp -vf tlsf.h $(DESTDIR)$(includedir)