1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
#### Imakefile for YTalk version 3.0 ####
#
# NOTICE
#
# Copyright (c) 1990,1992,1993 Britt Yenne. All rights reserved.
#
# This software is provided AS-IS. The author gives no warranty,
# real or assumed, and takes no responsibility whatsoever for any
# use or misuse of this software, or any damage created by its use
# or misuse.
#
# This software may be freely copied and distributed provided that
# no part of this NOTICE is deleted or edited in any manner.
#
###################################
## CONFIGURATION (The Fun Part) ##
###################################
#
# If you are on a System V machine (such as Solaris 2.x), uncomment
# the following line:
# VDEFS = -DSYSV
# If you're on Solaris you NEED this one for ytalk shells; it might
# work on other Sys V machines too
# PDEFS = -DPTM
#
# If your machine does not support TERMIOS (example: any NeXT running
# NeXTStep up to and including version 3.1), then uncomment the following
# line.
#TDEFS = -DUSE_SGTTY
#
# If you are running an older Sun OS using YP (now known as NIS), you might
# need to uncomment the next line if ytalk asks you "Who are you?"
#SLIBS = -lsun
#
# If you are on a sun running solaris 2.* you might need to uncomment the
# following line.
#SLIBS = -lnsl -lsocket
#
# If your machine has a 64-bit architecture or uses 64-bit 'long's, then you
# will need to uncomment the following line.
#BDEFS = -DY64BIT
#
# If you want ytalk to be 8-bit clean, you need to define this. Note that
# this requires linking with an 8-bit clean (n)curses. Under SunOS 4.x,
# set CC to /usr/5bin/cc for this to work.
EBCDEFS = -DEIGHT_BIT_CLEAN
#
# If you have (or want) a system-wide .ytalkrc file, uncomment the
# next line and set it to the correct pathname. The backslashes must
# remain before each double-quote.
RCDEF = -DSYSTEM_YTALKRC=\"/etc/ytalkrc\"
#
# If you plan to install ytalk on your system, you may want to modify
# the following lines. Y_BINDIR is where the binary will be placed.
# Y_MANDIR is where the manpage will be placed.
Y_BINDIR = /usr/bin
Y_MANDIR = /usr/man/man1
# Uncomment if you have gcc - recommended
CC = gcc
############################################################
## Past this point, you shouldn't need to modify anything ##
############################################################
LIB = -lncurses $(SLIBS) $(XLIB)
DEFINES = -DUSE_X11 $(TDEFS) $(BDEFS) $(RCDEF) $(VDEFS) \
$(PDEFS) $(EBCDEFS) -O
LDFLAGS = $(LDOPTIONS)
OBJ = main.o term.o user.o fd.o comm.o menu.o socket.o rc.o exec.o cwin.o \
xwin.o
PRG = ytalk
#all: $(PRG) ytalk.cat
$(PRG): $(OBJ)
$(CC) $(LDFLAGS) -o $(PRG) $(OBJ) $(LIB)
ytalk.cat: ytalk.1
nroff -man ytalk.1 > ytalk.cat
start: Imakefile
sed 's/^DEFINES.*X11/CFLAGS =/' < Imakefile > Makefile
shar:
make start
shar -i Manifest -o ytalk-3.0.shar -t "== Now read the README file =="
clean::
-rm -f $(OBJ) $(PRG)
install:: $(PRG)
/bin/cp ytalk $(Y_BINDIR)
/bin/cp ytalk.1 $(Y_MANDIR)
@echo "Ytalk installation complete."
$(OBJ): header.h
main.o: menu.h
term.o: cwin.h xwin.h menu.h
fd.o: menu.h
comm.o: socket.h menu.h
menu.o: menu.h
socket.o: socket.h
cwin.o: cwin.h
xwin.o: xwin.h
|