X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=system.mk;h=26ea7f76c9378023c9b6a56b7def16521a66cbbd;hb=3a5221140c3d59e7e964f9766f490e688a41ef4c;hp=32db47c60e282321eddd13a6aa490d94ebda836f;hpb=dd31dc3ce15f1c3b1db2ac464f0c5ea04836911a;p=ion3.git diff --git a/system.mk b/system.mk index 32db47c..26ea7f7 100644 --- a/system.mk +++ b/system.mk @@ -2,13 +2,16 @@ ## System settings ## - ## ## Installation paths ## PREFIX=/usr/local +# For relocatable build, use the following, and start with absolute path. +# RELOCATABLE=1 +# PREFIX= + # Unless you are creating a package conforming to some OS's standards, you # probably do not want to modify the following directories: @@ -109,7 +112,7 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND # If you're on an archaic system (such as relatively recent *BSD releases) # without even dummy multibyte/widechar and localisation support, you may # have to uncomment the following line: -#DEFINES += -DCF_NO_LOCALE +#DEFINES += -DCF_NO_LOCALE -DCF_NO_GETTEXT # On some other systems you may something like this: #EXTRA_LIBS += -lintl @@ -131,8 +134,8 @@ WARN= -W -Wimplicit -Wreturn-type -Wswitch -Wcomment \ -Wtrigraphs -Wformat -Wchar-subscripts \ -Wparentheses -pedantic -Wuninitialized -CFLAGS=-g -Os $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES) -LDFLAGS=-g -Os $(EXTRA_LIBS) $(LIBS) +CFLAGS=-Os $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES) +LDFLAGS=-Os $(EXTRA_LIBS) $(LIBS) EXPORT_DYNAMIC=-Xlinker --export-dynamic # The following options are mainly for development use and can be used @@ -143,7 +146,7 @@ EXPORT_DYNAMIC=-Xlinker --export-dynamic #C89_SOURCE=-ansi -#POSIX_SOURCE=-D_POSIX_SOURCE +#POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L # Most systems #XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED