home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-08-20 | 1.8 KB | 73 lines |
- #### 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 your machine does not support TERMIOS (example: any NeXT running
- # NeXTStep earlier than version 3.1), then uncomment the following
- # line.
- #
- #TDEFS = -DUSE_SGTTY
-
- #
- # If you are using a Sun running NIS (also known as YP), you might need to
- # uncomment the next line if ytalk asks you "Who are you?"
- #
- #SLIBS = -lsun
-
- ############################################################
- ## Past this point, you shouldn't need to modify anything ##
- ############################################################
- DEFINES = -DUSE_X11
- LIB = -lcurses -ltermcap $(SLIBS) $(XLIB)
- CPPFLAGS = -I/usr/local/include $(TOP_INCLUDES) $(TDEFS)
- LDFLAGS = $(LDOPTIONS)
- OBJ = main.o term.o user.o fd.o comm.o menu.o socket.o rc.o exec.o curses.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
- cp Imakefile Makefile
-
- shar:
- make start
- shar -i Manifest -o ytalk-3.0.shar -t "== Now read the README file =="
-
- clean::
- -rm $(OBJ)
-
- install::
-
- $(OBJ): header.h Makefile
- main.o: menu.h
- term.o: curses.h xwin.h menu.h
- fd.o: menu.h
- comm.o: socket.h menu.h
- menu.o: menu.h
- socket.o: socket.h
- curses.o: curses.h
- xwin.o: xwin.h
-
-