/*
 * Imakefile for rxvt
 * Thu Oct 28 11:28:03 CDT 1993
 */

# uncomment for gcc
CC= gcc -fomit-frame-pointer

# Rxvt now include optional utmp support.
# including utmp support allows rxvt to update /etc/utmp so
# that the commands who and w show rxvt logins.
# In order for this to work, /etc/utmp must be world writeable, or
# rxvt must be setuid root.
# to make rxvt setuid root, do this
# su
# chown root.root rxvt
# chmod a+s rxvt
# Do it at your own risk. 

# This define makes SYSV type systems to include utmp support ("who");
# This is ok for Linux
EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" 

# this should work for svr4
#EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DSVR4

# this should work for ESIX svr4
#DEFINES = -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DSVR4
#EXTRA_LOAD_FLAGS= -lsocket -lnsl -lc /usr/ucblib/libucb.a

# Using this defines adds in UTMP support for Sun OS 4.1.x
#EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/etc/utmp\" -DBSD -DTTYTAB=\"/etc/ttytab\"

# for FreeBSD 
#EXTRA_DEFINES = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\"

# for NetBSD 0.9
#DEFS = -DUTMP_SUPPORT -DUTMP=\"/var/run/utmp\" -DBSD -DFREEBSD -DTTYTAB=\"/etc/ttys\"

DEPLIBS = $(DEPXLIB) 
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) 

SRCS = rxvt.c command.c sbar.c screen.c utmp.c xsetup.c
 
OBJS = rxvt.o command.o sbar.o screen.o utmp.o xsetup.o

ComplexProgramTarget(rxvt)



