#  Makefile definitions from config/unix/x86_32_linux

#  CC       C compiler
#  CFLAGS   flags for building C files
#  CFDYN    additional flags for dynamic functions
#  RLINK    flags for linking run-time system
#  RLIBS    libraries to link with run-time system
#  XLIBS    libraries to link for graphics
#  XPMDEFS  definitions for building XPM library

# Note: -lsocket is not available on some Linux systems,
# but if your system has it you might need to add it to RLIBS

LIBS = $(AC_JV_LDFLAGS) $(AC_GL_LDFLAGS) $(AC_LIBS) -lm
CC = gcc
# Useful development flags: -Wall -Wno-missing-braces

CFLAGS = -O2 -fno-strict-aliasing -I../libtp -I../gdbm -I../xpm $(AC_GL_CFLAGS) -I/usr/X11R6/include
LDFLAGS= -L/opt/lib $(AC_LDFLAGS)
CFDYN = -fPIC -shared
RLINK = -Wl,-E -L../../bin -L/opt/lib $(AC_LDFLAGS)
RLIBS = $(LIBS) -L ../../bin -lm ../../bin/libgdbm.a -ltp -lnsl -ldl
XLIBS = 
XPMDEFS = -DZPIPE
GDBM=gdbm
LIBTP=libtp
