File:  [MW Coherent from dump] / coherent / g / usr / bin / vsh / winlib / Makefile.COH4
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:35 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

#	Makefile for winlib (COHERENT 4.0)

#CC = gcc
CC = cc
CFLAGS = -c -O

#       Additional flags which may be defined in OPTIONS:
#
#       -DINTRFLUSH     - if the curses library has the function intrflush()
#                         this flag should be activated
#
#       -DNOTYPEAHEAD   - if the curses library does typeahead optimization
#                         this flag should be set, because the library
#                         does it's own optimization of typeahead
#
#	-DAIX		- this flag is mandantory if compiling under AIX
#
#	-DSCO32		- this flag is mandantory if compiling under SCO 3.2
#
#	-DSYSV4		- this flag is mandantory if compiling under SV.4
#
#	-DOLDACS	- for curses without ACS_...

OPTIONS =

OBJ = dialbox.o buttbox.o cmdbox.o listbox.o editbox.o fielded.o selbox.o \
      pdmenu.o scrollbar.o  pfkeys.o \
      initwin.o openwin.o closall.o closwin.o refrall.o sh_esc.o sh_ret.o \
      nomem.o cursor.o clrscr.o

winlib.a: $(OBJ)
	ar vru winlib.a $(OBJ)
	ranlib winlib.a

dialbox.o: dialbox.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) dialbox.c

buttbox.o: buttbox.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) buttbox.c

cmdbox.o: cmdbox.c
	$(CC) $(CFLAGS) $(OPTIONS) cmdbox.c

listbox.o: listbox.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) listbox.c

editbox.o: editbox.c
	$(CC) $(CFLAGS) $(OPTIONS) editbox.c

fielded.o: fielded.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) fielded.c

selbox.o: selbox.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) selbox.c

pdmenu.o: pdmenu.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) pdmenu.c

scrollbar.o: scrollbar.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) scrollbar.c

pfkeys.o: pfkeys.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) pfkeys.c

initwin.o: initwin.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) initwin.c

openwin.o: openwin.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) openwin.c

closall.o: closall.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) closall.c

closwin.o: closwin.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) closwin.c

refrall.o: refrall.c winfun.h
	$(CC) $(CFLAGS) $(OPTIONS) refrall.c

sh_esc.o: sh_esc.c 
	$(CC) $(CFLAGS) $(OPTIONS) sh_esc.c

sh_ret.o: sh_ret.c 
	$(CC) $(CFLAGS) $(OPTIONS) sh_ret.c

nomem.o: nomem.c
	$(CC) $(CFLAGS) $(OPTIONS) nomem.c

cursor.o: cursor.c
	$(CC) $(CFLAGS) $(OPTIONS) cursor.c

clrscr.o: clrscr.c
	$(CC) $(CFLAGS) $(OPTIONS) clrscr.c

clean:
	rm -f *.o winlib.a

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.