#
# Read the README file for a list of options to include for your system
#

           SRCS1 = callgdb.c command.c gdb.c dialog.c filemenu.c \
		  handler.c parser.c regex.c signs.c signals.c source.c \
		  utils.c windows.c mxgdb.c malloc.c bitmaps.c \
		  gdb_handler.c gdb_parser.c gdb_regex.c MB.c

           OBJS1 = callgdb.o command.o gdb.o dialog.o filemenu.o \
		  handler.o parser.o regex.o signs.o signals.o source.o \
		  utils.o windows.o mxgdb.o malloc.o bitmaps.o \
		  gdb_handler.o gdb_parser.o gdb_regex.o MB.o

PROGRAMS = mxgdb

# Options which mxgdb recognises include -DSTR_PTY, -DDEBUG, -DPTC_PTY,
# and some tested configurations.

LOCAL_LIBRARIES=-lXm -lXt -lX11

# For users of SGI IRIX, uncomment the line using PTC_PTY's for versions
# of IRIX prior to 4. For version 4 and on uncomment the line using
# IRIX4_PTY. Also set LOCAL_LIBRARIES to $(XMLIB).
#COMPATFLAGS = -DSYSV -signed -DPTC_PTY -DGETS_PROBLEM
#COMPATFLAGS = -DSYSV -signed -DIRIX4_PTY -DGETS_PROBLEM
#LOCAL_LIBRARIES=$(XMLIB)

CCOPTIONS=-DDEBUG -Dconst=""

# Some installations have specific libs and headers to use with Motif
#
# USRLIBDIR=/usr/motif/usr/lib
# INCROOT=/usr/motif/usr/include
# USRINCDIR=/usr/motif/usr/include
# LOCAL_LDFLAGS=-static

NormalLibraryObjectRule()

ComplexProgramTarget_1(mxgdb,$(LOCAL_LIBRARIES), $(SYSLIBS))

InstallAppDefaults(Mxgdb)

