pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

ixpict private pastebin - collaborative debugging tool What's a private pastebin?


Posted by ixpict on Sat 2 May 14:37
report abuse | download | new post

  1. ##
  2. ## System settings
  3. ##
  4.  
  5. ##
  6. ## Installation paths
  7. ##
  8.  
  9. # Installation path prefix. Unless you know what you're doing, the default
  10. # of /usr/local is likely the correct choice.
  11. PREFIX=/usr/local/ion
  12.  
  13. # Unless you are creating a package conforming to some OS's standards, you
  14. # probably do not want to modify the following directories:
  15.  
  16. # Main binaries
  17. BINDIR=$(PREFIX)/bin
  18. # Configuration .lua files
  19. ETCDIR=$(PREFIX)/etc/ion3
  20. # Some .lua files and ion-* shell scripts
  21. SHAREDIR=$(PREFIX)/share/ion3
  22. # Manual pages
  23. MANDIR=$(PREFIX)/share/man
  24. # Some documents
  25. DOCDIR=$(PREFIX)/share/doc/ion3
  26. # Nothing at the moment
  27. INCDIR=$(PREFIX)/include/ion3
  28. # Nothing at the moment
  29. LIBDIR=$(PREFIX)/lib
  30. # Modules
  31. MODULEDIR=$(LIBDIR)/ion3/mod
  32. # Compiled Lua source code
  33. LCDIR=$(LIBDIR)/ion3/lc
  34. # ion-completefile (does not belong in SHAREDIR being a binary file)
  35. EXTRABINDIR=$(LIBDIR)/ion3/bin
  36. # For ion-completeman system-wide cache
  37. VARDIR=/var/cache/ion3
  38. # Message catalogs
  39. LOCALEDIR=$(PREFIX)/share/locale
  40.  
  41. # Executable suffix (for Cygwin).
  42. #BIN_SUFFIX = .exe
  43.  
  44.  
  45. ##
  46. ## Modules
  47. ##
  48.  
  49. # Set PRELOAD_MODULES=1 if your system does not support dynamically loaded
  50. # modules through 'libdl' or has non-standard naming conventions.
  51. # You will likely need this option on e.g. Cygwin and Mac OS X.
  52. #PRELOAD_MODULES=1
  53. # Flags to link with libdl. Even if PRELOAD_MODULES=1, you may need this
  54. # setting (for e.g. Lua, when not instructed by pkg-config).
  55. #DL_LIBS=-ldl
  56.  
  57.  
  58. ##
  59. ## Lua
  60. ##
  61.  
  62. # If you have installed Lua 5.1 from the official tarball without changing
  63. # paths, this should do it.
  64. LUA_DIR=/usr/local
  65. LUA_LIBS = -L$(LUA_DIR)/lib/lua51 -llua
  66. LUA_INCLUDES = -I$(LUA_DIR)/include/lua51
  67. LUA=$(LUA_DIR)/bin/lua-5.1
  68. LUAC=$(LUA_DIR)/bin/luac-5.1
  69.  
  70. # If you are using the Debian packages, the following settings should be
  71. # what you want.
  72. #LUA_LIBS=`pkg-config --libs lua5.1`
  73. #LUA_INCLUDES=`pkg-config --cflags lua5.1`
  74. #LUA=/usr/bin/lua5.1
  75. #LUAC=/usr/bin/luac5.1
  76.  
  77.  
  78. ##
  79. ## X libraries, includes and options
  80. ##
  81.  
  82. # Paths
  83. X11_PREFIX=/usr/X11R6
  84. # SunOS/Solaris
  85. #X11_PREFIX=/usr/openwin
  86.  
  87. X11_LIBS=-L$(X11_PREFIX)/lib -lX11 -lXext
  88. X11_INCLUDES=-I$(X11_PREFIX)/include
  89.  
  90. # XFree86 libraries up to 4.3.0 have a bug that can cause a segfault.
  91. # The following setting should work around that situation.
  92. DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND
  93.  
  94. # Use the Xutf8 routines (XFree86 extension) instead of the Xmb routines
  95. # in an UTF-8 locale. (No, you don't need this in UTF-8 locales, and
  96. # most likely don't even want. It's only there because both Xmb and
  97. # Xutf8 routines are broken, in different ways.)
  98. #DEFINES += -DCF_DE_USE_XUTF8
  99.  
  100. # Remap F11 key to SunF36 and F12 to SunF37? You may want to set this
  101. # on SunOS.
  102. #DEFINES += -DCF_SUN_F1X_REMAP
  103.  
  104.  
  105. ##
  106. ## Localisation
  107. ##
  108.  
  109. # If you're on an archaic system (such as relatively recent *BSD releases)
  110. # without even dummy multibyte/widechar and localisation support, you may
  111. # have to uncomment the following line:
  112. DEFINES += -DCF_NO_LOCALE -DCF_NO_GETTEXT
  113.  
  114. # On some other systems you may need to explicitly link against libintl.
  115. #EXTRA_LIBS += -lintl
  116. # You may also need to give the location of its headers. The following
  117. # should work on Mac OS X (which needs the above option as well) with
  118. # macports.
  119. #EXTRA_INCLUDES += -I/opt/local/include
  120.  
  121.  
  122. ##
  123. ## libc
  124. ##
  125.  
  126. # You may uncomment this if you know that your system C libary provides
  127. # asprintf and vasprintf. (GNU libc does.) If HAS_SYSTEM_ASPRINTF is not
  128. # defined, an implementation provided in libtu/sprintf_2.2/ is used.
  129. #HAS_SYSTEM_ASPRINTF=1
  130.  
  131. # The following setting is needed with GNU libc for clock_gettime and the
  132. # monotonic clock. Other systems may not need it, or may not provide a
  133. # monotonic clock at all (which Ion can live with, and usually detect).
  134. EXTRA_LIBS += -lrt
  135.  
  136. # Cygwin needs this.
  137. #DEFINES += -DCF_NO_GETLOADAVG
  138.  
  139.  
  140. #
  141. # If you're using/have gcc, it is unlikely that you need to modify
  142. # any of the settings below this line.
  143. #
  144. #####################################################################
  145.  
  146.  
  147. ##
  148. ## C compiler.
  149. ##
  150.  
  151. CC=gcc
  152.  
  153. # Same as '-Wall -pedantic' without '-Wunused' as callbacks often
  154. # have unused variables.
  155. WARN= -W -Wimplicit -Wreturn-type -Wswitch -Wcomment \
  156. -Wtrigraphs -Wformat -Wchar-subscripts \
  157. -Wparentheses -pedantic -Wuninitialized
  158.  
  159. CFLAGS=-Os $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
  160. LDFLAGS=$(LIBS) $(EXTRA_LIBS)
  161. EXPORT_DYNAMIC=-Xlinker --export-dynamic
  162.  
  163. # The following options are mainly for development use and can be used
  164. # to check that the code seems to conform to some standards. Depending
  165. # on the version and vendor of you libc, the options may or may not have
  166. # expected results. If you define one of C99_SOURCE or XOPEN_SOURCE, you
  167. # may also have to define the other.
  168. #C89_SOURCE=-ansi
  169.  
  170. #POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
  171.  
  172. # Most systems
  173. #XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
  174. # SunOS, (Irix)
  175. #XOPEN_SOURCE=-D__EXTENSIONS__
  176.  
  177. #C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
  178.  
  179. # The -DCF_HAS_VA_COPY option should allow for some optimisations, and
  180. # in some cases simply defining
  181. #C99_SOURCE=-DCF_HAS_VA_COPY
  182. # might allow for those optimisations to be taken without any special
  183. # libc or compiler options.
  184.  
  185.  
  186. ##
  187. ## make depend
  188. ##
  189.  
  190. DEPEND_FILE=.depend
  191. DO_MAKE_DEPEND=$(CC) -MM $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
  192. MAKE_DEPEND=$(DO_MAKE_DEPEND) $(SOURCES) > $(DEPEND_FILE)
  193.  
  194.  
  195. ##
  196. ## AR
  197. ##
  198.  
  199. AR=ar
  200. ARFLAGS=cr
  201. RANLIB=ranlib
  202.  
  203.  
  204. ##
  205. ## Install & strip
  206. ##
  207.  
  208. INSTALL=sh $(TOPDIR)/install-sh -c
  209. INSTALL_STRIP=-s
  210. INSTALLDIR=mkdir -p
  211.  
  212. BIN_MODE=755
  213. DATA_MODE=644
  214.  
  215. RM=rm
  216.  
  217.  
  218. ##
  219. ## Debugging
  220. ##
  221.  
  222. #INSTALL_STRIP =
  223. #CFLAGS += -g

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post