mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-07 14:16:14 +00:00
(cherry picked from commit ba55947ee6ab36efc04598953a78a11173103bcf) # Conflicts: # src/doomtype.h # src/dummy/i_system.c
38 lines
633 B
Makefile
38 lines
633 B
Makefile
#
|
|
# Makefile options for unices (linux, bsd...)
|
|
#
|
|
|
|
opts+=-DUNIXCOMMON -DLUA_USE_POSIX
|
|
libs+=-lm
|
|
|
|
ifndef nasm_format
|
|
nasm_format:=elf -DLINUX
|
|
endif
|
|
|
|
ifndef NOHW
|
|
opts+=-I/usr/X11R6/include
|
|
libs+=-L/usr/X11R6/lib
|
|
endif
|
|
|
|
SDL?=1
|
|
|
|
# In common usage.
|
|
ifdef LINUX
|
|
libs+=-lrt
|
|
passthru_opts+=NOTERMIOS
|
|
endif
|
|
|
|
# Tested by Steel, as of release 2.2.8.
|
|
ifdef FREEBSD
|
|
opts+=-I/usr/X11R6/include -DLINUX -DFREEBSD
|
|
libs+=-L/usr/X11R6/lib -lipx -lkvm
|
|
endif
|
|
|
|
# FIXME: UNTESTED
|
|
#ifdef SOLARIS
|
|
#NOIPX=1
|
|
#NOASM=1
|
|
#opts+=-I/usr/local/include -I/opt/sfw/include \
|
|
# -DSOLARIS -DINADDR_NONE=INADDR_ANY -DBSD_COMP
|
|
#libs+=-L/opt/sfw/lib -lsocket -lnsl
|
|
#endif
|