1 Index: ion3-20080707/system.mk
2 ===================================================================
3 --- ion3-20080707.orig/system.mk 2008-07-07 16:39:16.000000000 +0100
4 +++ ion3-20080707/system.mk 2008-07-11 00:31:29.000000000 +0100
7 # Installation path prefix. Unless you know what you're doing, the default
8 # of /usr/local is likely the correct choice.
12 # Unless you are creating a package conforming to some OS's standards, you
13 # probably do not want to modify the following directories:
17 # Configuration .lua files
18 -ETCDIR=$(PREFIX)/etc/ion3
20 # Some .lua files and ion-* shell scripts
21 SHAREDIR=$(PREFIX)/share/ion3
24 # Nothing at the moment
27 -MODULEDIR=$(LIBDIR)/ion3/mod
28 +MODULEDIR=$(LIBDIR)/ion3
29 # Compiled Lua source code
30 LCDIR=$(LIBDIR)/ion3/lc
31 # ion-completefile (does not belong in SHAREDIR being a binary file)
32 -EXTRABINDIR=$(LIBDIR)/ion3/bin
33 +EXTRABINDIR=$(LIBDIR)/ion3
34 # For ion-completeman system-wide cache
35 VARDIR=/var/cache/ion3
39 # If you have installed Lua 5.1 from the official tarball without changing
40 # paths, this should do it.
42 -LUA_LIBS = -L$(LUA_DIR)/lib -llua
43 -LUA_INCLUDES = -I$(LUA_DIR)/include
44 -LUA=$(LUA_DIR)/bin/lua
45 -LUAC=$(LUA_DIR)/bin/luac
47 +#LUA_LIBS = -L$(LUA_DIR)/lib -llua
48 +#LUA_INCLUDES = -I$(LUA_DIR)/include
49 +#LUA=$(LUA_DIR)/bin/lua
50 +#LUAC=$(LUA_DIR)/bin/luac
52 # If you are using the Debian packages, the following settings should be
54 -#LUA_LIBS=`pkg-config --libs lua5.1`
55 -#LUA_INCLUDES=`pkg-config --cflags lua5.1`
57 -#LUAC=/usr/bin/luac5.1
58 +LUA_LIBS=`pkg-config --libs lua5.1`
59 +LUA_INCLUDES=`pkg-config --cflags lua5.1`
66 # You may uncomment this if you know that your system C libary provides
67 # asprintf and vasprintf. (GNU libc does.) If HAS_SYSTEM_ASPRINTF is not
68 # defined, an implementation provided in libtu/sprintf_2.2/ is used.
69 -#HAS_SYSTEM_ASPRINTF=1
70 +HAS_SYSTEM_ASPRINTF=1
72 # The following setting is needed with GNU libc for clock_gettime and the
73 # monotonic clock. Other systems may not need it, or may not provide a
75 POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
78 -#XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
79 +XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
81 #XOPEN_SOURCE=-D__EXTENSIONS__
83 -#C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
84 +C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
86 # The -DCF_HAS_VA_COPY option should allow for some optimisations, and
87 # in some cases simply defining