arena/Arena/linux/Makefile.include
2024-11-30 02:02:44 +09:00

46 lines
964 B
Makefile

# Make WWW under unix for linux
#
# For W3 distribution, machine type for subdirectories
WWW_MACH = linux
# The ASIS repository's name for the machine we are on
ASIS_MACH = linux/x86_64
# Options for cc
#CC = cc
#CFLAGS = -DDEBUG
#LFLAGS = -Bstatic
# Options for gcc
CC = gcc
CFLAGS = -O -g
#CFLAGS = -Wall -g -DNO_GETWD -DHAS_GETCWD
# CFLAGS = -Wall -g
LFLAGS = -static
ifeq ($(shell uname -m),x86_64)
CFLAGS += -DPOINTER_IS_64BIT
endif
# In both cases: Ask for static linking so that binary will be transportable
# Directory for installed binary:
# BINDIR = /usr/local/bin
BINDIR = /usr/arena/bin
#_________________ OK if normal W3 distribution
# Where is the WWW source root?
WWW = ../..
# Where should temporary (object) files go?
# WTMP = /usr/tmp
WTMP = $(WWW)
# Where is the W3 object library?
#LIBDIR = $(WWW)/Library/Implementation/$(WWW_MACH)
USELIBDIR = ../../Library/$(WWW_MACH)
XLIBDIR = /usr/X11/lib
OTHERLIB = -lm -lxcb -lXau -lXdmcp