# Makefile for Nettle
# by A. Macfarlane Smith
# (C) Nettle developers 2001-2004
#
# $Id: Makefile,fe1,v 1.33 2004/04/01 21:21:42 ijeffray Exp $

CC = cc
CFLAGS = -c -strict -IC: -DCOMPAT_INET4 -ITCPIPLibs: -fa -apcs 3/32/fpe2/swst/fp/nofpr -throwback -depend !Depend
DBGFLAGS = #-DBETA_VERSION #-g #-DFORTIFY

LIBS = C:o.stubsg TCPIPLibs:o.socklib-32 TCPIPLibs:o.inetlib-32

LINK = link
LINKFLAGS = #-d

SQUEEZE = squeeze
WIPE = wipe
WIPEFLAGS = ~CFR~V

TEMPLATES = !Nettle.Resources.UK.Templates

OBJS = chardefn.o choices.o dnslib.o globals.o init.o keyboard.o lineedit.o \
       main.o misc.o hotlist.o nettle.o process.o socket.o quit.o seln.o \
       wimp.o zapgen.o fortify.o sockwatch.o messages.o termlist.o url.o \
       wimputil.o spool.o mouse.o scripts.o processesc.o processiac.o \
       procesescx.o

all:	!Nettle.!RunImage

templheadr: templheadr.o
        $(LINK) -o $@ $(LINKFLAGS) $? $(LIBS)

!Nettle.!RunImage:	$(OBJS)
	$(LINK) -o $@ $(LINKFLAGS) $(OBJS) $(LIBS)
	$(SQUEEZE) $@

clean:
	$(WIPE) o.* $(WIPEFLAGS)

templ.h: templheadr $(TEMPLATES)
	If "<Prefix$Dir>" <> "" Then /<Prefix$Dir>.templheadr $(TEMPLATES) $@
	If "<Prefix$Dir>" = ""  Then /templheadr $(TEMPLATES) $@

.SUFFIXES: .o .c

.c.o:
	$(CC) $(CFLAGS) $(DBGFLAGS) -o $@ $<

o.wimp: templ.h
o.spool: templ.h

# Dynamic dependencies:
o.chardefn:	c.chardefn
o.chardefn:	h.generic
o.chardefn:	h.fortify
o.chardefn:	h.ufortify
o.chardefn:	C:h.kernel
o.chardefn:	C:h.swis
o.chardefn:	h.globals
o.chardefn:	h.nettle
o.chardefn:	h.dnslib
o.chardefn:	h.chardefn
o.chardefn:	h.misc
o.chardefn:	h.zapredraw
o.choices:	c.choices
o.choices:	h.generic
o.choices:	h.fortify
o.choices:	h.ufortify
o.choices:	C:h.kernel
o.choices:	C:h.swis
o.choices:	h.globals
o.choices:	h.nettle
o.choices:	h.dnslib
o.choices:	h.choices
o.choices:	h.hotlist
o.choices:	h.lineedit
o.choices:	h.messages
o.choices:	h.misc
o.choices:	h.templ
o.choices:	h.wimp
o.choices:	h.nettle
o.choices:	h.wimputil
o.choices:	h.nettle
o.choices:	h.messages
o.choices:	h.zapredraw
o.dnslib:	c.dnslib
o.dnslib:	h.generic
o.dnslib:	h.fortify
o.dnslib:	h.ufortify
o.dnslib:	C:h.kernel
o.dnslib:	C:h.swis
o.dnslib:	TCPIPLibs:sys.h.types
o.dnslib:	TCPIPLibs:sys.h.cdefs
o.dnslib:	TCPIPLibs:machine.h.endian
o.dnslib:	TCPIPLibs:machine.h.ansi
o.dnslib:	TCPIPLibs:machine.h.types
o.dnslib:	TCPIPLibs:h.inetlib
o.dnslib:	TCPIPLibs:sys.h.types
o.dnslib:	TCPIPLibs:netinet.h.in
o.dnslib:	TCPIPLibs:netinet.h.in
o.dnslib:	TCPIPLibs:arpa.h.inet
o.dnslib:	TCPIPLibs:sys.h.cdefs
o.dnslib:	TCPIPLibs:h.netdb
o.dnslib:	TCPIPLibs:sys.h.cdefs
o.dnslib:	TCPIPLibs:sys.h.errno
o.dnslib:	C:h.kernel
o.dnslib:	TCPIPLibs:sys.h.socket
o.dnslib:	TCPIPLibs:sys.h.cdefs
o.dnslib:	h.dnslib
o.dnslib:	h.misc
o.globals:	c.globals
o.globals:	h.generic
o.globals:	h.fortify
o.globals:	h.ufortify
o.globals:	C:h.kernel
o.globals:	C:h.swis
o.globals:	h.globals
o.globals:	h.nettle
o.globals:	h.dnslib
o.globals:	h.nettle
o.globals:	h.zapredraw
o.init:	c.init
o.init:	h.generic
o.init:	h.fortify
o.init:	h.ufortify
o.init:	C:h.kernel
o.init:	C:h.swis
o.init:	h.globals
o.init:	h.nettle
o.init:	h.dnslib
o.init:	h.choices
o.init:	h.hotlist
o.init:	h.init
o.init:	h.messages
o.init:	h.misc
o.init:	h.nettle
o.init:	h.scripts
o.init:	h.quit
o.init:	h.sockwatch
o.init:	h.templ
o.init:	h.url
o.init:	h.wimp
o.init:	h.nettle
o.init:	h.wimputil
o.init:	h.nettle
o.init:	h.messages
o.init:	h.zapredraw
o.keyboard:	c.keyboard
o.keyboard:	h.generic
o.keyboard:	h.fortify
o.keyboard:	h.ufortify
o.keyboard:	C:h.kernel
o.keyboard:	C:h.swis
o.keyboard:	h.globals
o.keyboard:	h.nettle
o.keyboard:	h.dnslib
o.keyboard:	h.keyboard
o.keyboard:	h.seln
o.keyboard:	h.wimp
o.keyboard:	h.nettle
o.lineedit:	c.lineedit
o.lineedit:	h.generic
o.lineedit:	h.fortify
o.lineedit:	h.ufortify
o.lineedit:	C:h.kernel
o.lineedit:	C:h.swis
o.lineedit:	h.globals
o.lineedit:	h.nettle
o.lineedit:	h.dnslib
o.lineedit:	h.lineedit
o.lineedit:	h.misc
o.lineedit:	h.wimp
o.lineedit:	h.nettle
o.lineedit:	h.wimputil
o.lineedit:	h.nettle
o.lineedit:	h.messages
o.lineedit:	h.zapredraw
o.main:	c.main
o.main:	h.generic
o.main:	h.fortify
o.main:	h.ufortify
o.main:	C:h.kernel
o.main:	C:h.swis
o.main:	h.globals
o.main:	h.nettle
o.main:	h.dnslib
o.main:	h.init
o.main:	h.main
o.main:	h.misc
o.main:	h.quit
o.main:	h.sockwatch
o.main:	h.url
o.main:	h.wimp
o.main:	h.nettle
o.misc:	c.misc
o.misc:	h.generic
o.misc:	h.fortify
o.misc:	h.ufortify
o.misc:	C:h.kernel
o.misc:	C:h.swis
o.misc:	h.globals
o.misc:	h.nettle
o.misc:	h.dnslib
o.misc:	h.misc
o.misc:	h.wimputil
o.misc:	h.nettle
o.misc:	h.messages
o.hotlist:	c.hotlist
o.hotlist:	h.generic
o.hotlist:	h.fortify
o.hotlist:	h.ufortify
o.hotlist:	C:h.kernel
o.hotlist:	C:h.swis
o.hotlist:	h.globals
o.hotlist:	h.nettle
o.hotlist:	h.dnslib
o.hotlist:	h.hotlist
o.hotlist:	h.lineedit
o.hotlist:	h.misc
o.hotlist:	h.messages
o.hotlist:	h.nettle
o.hotlist:	h.templ
o.hotlist:	h.wimp
o.hotlist:	h.nettle
o.hotlist:	h.wimputil
o.hotlist:	h.nettle
o.hotlist:	h.messages
o.nettle:	c.nettle
o.nettle:	h.generic
o.nettle:	h.fortify
o.nettle:	h.ufortify
o.nettle:	C:h.kernel
o.nettle:	C:h.swis
o.nettle:	h.globals
o.nettle:	h.nettle
o.nettle:	h.dnslib
o.nettle:	h.lineedit
o.nettle:	h.main
o.nettle:	h.messages
o.nettle:	h.misc
o.nettle:	h.mouse
o.nettle:	h.nettle
o.nettle:	h.process
o.nettle:	h.seln
o.nettle:	h.socket
o.nettle:	h.spool
o.nettle:	h.templ
o.nettle:	h.wimp
o.nettle:	h.nettle
o.nettle:	h.wimputil
o.nettle:	h.nettle
o.nettle:	h.messages
o.nettle:	h.zapredraw
o.process:	c.process
o.process:	h.generic
o.process:	h.fortify
o.process:	h.ufortify
o.process:	C:h.kernel
o.process:	C:h.swis
o.process:	h.globals
o.process:	h.nettle
o.process:	h.dnslib
o.process:	h.graphics
o.process:	h.keyboard
o.process:	h.lineedit
o.process:	h.main
o.process:	h.messages
o.process:	h.misc
o.process:	h.mouse
o.process:	h.nettle
o.process:	h.process
o.process:	h.seln
o.process:	h.socket
o.process:	h.spool
o.process:	h.wimp
o.process:	h.nettle
o.process:	h.wimputil
o.process:	h.nettle
o.process:	h.messages
o.process:	h.zapredraw
o.socket:	c.socket
o.socket:	h.generic
o.socket:	h.fortify
o.socket:	h.ufortify
o.socket:	C:h.kernel
o.socket:	C:h.swis
o.socket:	h.globals
o.socket:	h.nettle
o.socket:	h.dnslib
o.socket:	TCPIPLibs:sys.h.types
o.socket:	TCPIPLibs:sys.h.cdefs
o.socket:	TCPIPLibs:machine.h.endian
o.socket:	TCPIPLibs:machine.h.ansi
o.socket:	TCPIPLibs:machine.h.types
o.socket:	TCPIPLibs:sys.h.ioctl
o.socket:	TCPIPLibs:sys.h.ttycom
o.socket:	TCPIPLibs:sys.h.ioccom
o.socket:	TCPIPLibs:sys.h.ioccom
o.socket:	TCPIPLibs:sys.h.filio
o.socket:	TCPIPLibs:sys.h.ioccom
o.socket:	TCPIPLibs:sys.h.sockio
o.socket:	TCPIPLibs:sys.h.ioccom
o.socket:	TCPIPLibs:sys.h.cdefs
o.socket:	TCPIPLibs:sys.h.socket
o.socket:	TCPIPLibs:sys.h.cdefs
o.socket:	TCPIPLibs:h.socklib
o.socket:	TCPIPLibs:sys.h.types
o.socket:	TCPIPLibs:sys.h.socket
o.socket:	TCPIPLibs:sys.h.stat
o.socket:	TCPIPLibs:sys.h.time
o.socket:	TCPIPLibs:sys.h.cdefs
o.socket:	TCPIPLibs:sys.h.cdefs
o.socket:	TCPIPLibs:sys.h.time
o.socket:	TCPIPLibs:sys.h.uio
o.socket:	TCPIPLibs:sys.h.cdefs
o.socket:	C:h.kernel
o.socket:	TCPIPLibs:h.inetlib
o.socket:	TCPIPLibs:sys.h.types
o.socket:	TCPIPLibs:netinet.h.in
o.socket:	TCPIPLibs:sys.h.errno
o.socket:	C:h.kernel
o.socket:	TCPIPLibs:sys.h.time
o.socket:	TCPIPLibs:netinet.h.in
o.socket:	TCPIPLibs:arpa.h.inet
o.socket:	TCPIPLibs:sys.h.cdefs
o.socket:	TCPIPLibs:h.netdb
o.socket:	TCPIPLibs:sys.h.cdefs
o.socket:	h.socket
o.socket:	h.sockwatch
o.quit:	c.quit
o.quit:	h.generic
o.quit:	h.fortify
o.quit:	h.ufortify
o.quit:	C:h.kernel
o.quit:	C:h.swis
o.quit:	h.globals
o.quit:	h.nettle
o.quit:	h.dnslib
o.quit:	h.hotlist
o.quit:	h.init
o.quit:	h.messages
o.quit:	h.misc
o.quit:	h.nettle
o.quit:	h.quit
o.quit:	h.scripts
o.quit:	h.sockwatch
o.quit:	h.termlist
o.quit:	h.zapredraw
o.quit:	h.wimp
o.quit:	h.nettle
o.seln:	c.seln
o.seln:	h.generic
o.seln:	h.fortify
o.seln:	h.ufortify
o.seln:	C:h.kernel
o.seln:	C:h.swis
o.seln:	h.globals
o.seln:	h.nettle
o.seln:	h.dnslib
o.seln:	h.messages
o.seln:	h.misc
o.seln:	h.nettle
o.seln:	h.process
o.seln:	h.seln
o.seln:	h.socket
o.seln:	h.wimp
o.seln:	h.nettle
o.seln:	h.wimputil
o.seln:	h.nettle
o.seln:	h.messages
o.seln:	h.zapredraw
o.wimp:	c.wimp
o.wimp:	h.generic
o.wimp:	h.fortify
o.wimp:	h.ufortify
o.wimp:	C:h.kernel
o.wimp:	C:h.swis
o.wimp:	h.globals
o.wimp:	h.nettle
o.wimp:	h.dnslib
o.wimp:	TCPIPLibs:sys.h.errno
o.wimp:	C:h.kernel
o.wimp:	TCPIPLibs:h.socklib
o.wimp:	TCPIPLibs:sys.h.types
o.wimp:	TCPIPLibs:sys.h.cdefs
o.wimp:	TCPIPLibs:machine.h.endian
o.wimp:	TCPIPLibs:machine.h.ansi
o.wimp:	TCPIPLibs:machine.h.types
o.wimp:	TCPIPLibs:sys.h.socket
o.wimp:	TCPIPLibs:sys.h.cdefs
o.wimp:	TCPIPLibs:sys.h.stat
o.wimp:	TCPIPLibs:sys.h.time
o.wimp:	TCPIPLibs:sys.h.cdefs
o.wimp:	TCPIPLibs:sys.h.cdefs
o.wimp:	TCPIPLibs:sys.h.time
o.wimp:	TCPIPLibs:sys.h.uio
o.wimp:	TCPIPLibs:sys.h.cdefs
o.wimp:	C:h.kernel
o.wimp:	TCPIPLibs:h.unixlib
o.wimp:	TCPIPLibs:sys.h.time
o.wimp:	TCPIPLibs:h.netdb
o.wimp:	TCPIPLibs:sys.h.cdefs
o.wimp:	h.choices
o.wimp:	h.hotlist
o.wimp:	h.keyboard
o.wimp:	h.lineedit
o.wimp:	h.messages
o.wimp:	h.main
o.wimp:	h.misc
o.wimp:	h.mouse
o.wimp:	h.nettle
o.wimp:	h.process
o.wimp:	h.scripts
o.wimp:	h.seln
o.wimp:	h.socket
o.wimp:	h.sockwatch
o.wimp:	h.spool
o.wimp:	h.templ
o.wimp:	h.termlist
o.wimp:	h.url
o.wimp:	h.wimp
o.wimp:	h.nettle
o.wimp:	h.wimputil
o.wimp:	h.nettle
o.wimp:	h.messages
o.wimp:	h.zapredraw
o.zapgen:	c.zapgen
o.zapgen:	h.generic
o.zapgen:	h.fortify
o.zapgen:	h.ufortify
o.zapgen:	C:h.kernel
o.zapgen:	C:h.swis
o.zapgen:	h.globals
o.zapgen:	h.nettle
o.zapgen:	h.dnslib
o.zapgen:	h.chardefn
o.zapgen:	h.messages
o.zapgen:	h.misc
o.zapgen:	h.nettle
o.zapgen:	h.wimp
o.zapgen:	h.nettle
o.zapgen:	h.wimputil
o.zapgen:	h.nettle
o.zapgen:	h.messages
o.zapgen:	h.zapredraw
o.fortify:	c.fortify
o.sockwatch:	c.sockwatch
o.sockwatch:	C:h.kernel
o.sockwatch:	C:h.swis
o.sockwatch:	h.sockwatch
o.sockwatch:	TCPIPLibs:sys.h.types
o.sockwatch:	TCPIPLibs:sys.h.cdefs
o.sockwatch:	TCPIPLibs:machine.h.endian
o.sockwatch:	TCPIPLibs:machine.h.ansi
o.sockwatch:	TCPIPLibs:machine.h.types
o.sockwatch:	TCPIPLibs:sys.h.ioctl
o.sockwatch:	TCPIPLibs:sys.h.ttycom
o.sockwatch:	TCPIPLibs:sys.h.ioccom
o.sockwatch:	TCPIPLibs:sys.h.ioccom
o.sockwatch:	TCPIPLibs:sys.h.filio
o.sockwatch:	TCPIPLibs:sys.h.ioccom
o.sockwatch:	TCPIPLibs:sys.h.sockio
o.sockwatch:	TCPIPLibs:sys.h.ioccom
o.sockwatch:	TCPIPLibs:sys.h.cdefs
o.sockwatch:	TCPIPLibs:sys.h.socket
o.sockwatch:	TCPIPLibs:sys.h.cdefs
o.sockwatch:	TCPIPLibs:h.socklib
o.sockwatch:	TCPIPLibs:sys.h.types
o.sockwatch:	TCPIPLibs:sys.h.socket
o.sockwatch:	TCPIPLibs:sys.h.stat
o.sockwatch:	TCPIPLibs:sys.h.time
o.sockwatch:	TCPIPLibs:sys.h.cdefs
o.sockwatch:	TCPIPLibs:sys.h.cdefs
o.sockwatch:	TCPIPLibs:sys.h.time
o.sockwatch:	TCPIPLibs:sys.h.uio
o.sockwatch:	TCPIPLibs:sys.h.cdefs
o.sockwatch:	C:h.kernel
o.sockwatch:	TCPIPLibs:sys.h.filio
o.sockwatch:	h.generic
o.sockwatch:	h.fortify
o.sockwatch:	h.ufortify
o.sockwatch:	C:h.kernel
o.sockwatch:	C:h.swis
o.messages:	c.messages
o.messages:	h.generic
o.messages:	h.fortify
o.messages:	h.ufortify
o.messages:	C:h.kernel
o.messages:	C:h.swis
o.messages:	h.globals
o.messages:	h.nettle
o.messages:	h.dnslib
o.messages:	h.messages
o.messages:	h.misc
o.termlist:	c.termlist
o.termlist:	h.generic
o.termlist:	h.fortify
o.termlist:	h.ufortify
o.termlist:	C:h.kernel
o.termlist:	C:h.swis
o.termlist:	h.globals
o.termlist:	h.nettle
o.termlist:	h.dnslib
o.termlist:	h.messages
o.termlist:	h.nettle
o.termlist:	h.termlist
o.termlist:	h.wimp
o.termlist:	h.nettle
o.url:	c.url
o.url:	h.generic
o.url:	h.fortify
o.url:	h.ufortify
o.url:	C:h.kernel
o.url:	C:h.swis
o.url:	h.globals
o.url:	h.nettle
o.url:	h.dnslib
o.url:	h.misc
o.url:	h.url
o.url:	h.wimp
o.url:	h.nettle
o.url:	h.wimputil
o.url:	h.nettle
o.url:	h.messages
o.wimputil:	c.wimputil
o.wimputil:	TCPIPLibs:sys.h.errno
o.wimputil:	C:h.kernel
o.wimputil:	h.generic
o.wimputil:	h.fortify
o.wimputil:	h.ufortify
o.wimputil:	C:h.kernel
o.wimputil:	C:h.swis
o.wimputil:	h.globals
o.wimputil:	h.nettle
o.wimputil:	h.dnslib
o.wimputil:	h.misc
o.wimputil:	h.wimp
o.wimputil:	h.nettle
o.wimputil:	h.wimputil
o.wimputil:	h.nettle
o.wimputil:	h.messages
o.spool:	c.spool
o.spool:	h.generic
o.spool:	h.fortify
o.spool:	h.ufortify
o.spool:	C:h.kernel
o.spool:	C:h.swis
o.spool:	h.globals
o.spool:	h.nettle
o.spool:	h.dnslib
o.spool:	h.misc
o.spool:	h.spool
o.spool:	h.templ
o.spool:	h.wimputil
o.spool:	h.nettle
o.spool:	h.messages
o.templheadr:	c.templheadr
o.mouse:	c.mouse
o.mouse:	h.generic
o.mouse:	h.fortify
o.mouse:	h.ufortify
o.mouse:	C:h.kernel
o.mouse:	C:h.swis
o.mouse:	h.globals
o.mouse:	h.nettle
o.mouse:	h.dnslib
o.mouse:	h.keyboard
o.mouse:	h.main
o.mouse:	h.mouse
o.mouse:	h.nettle
o.mouse:	h.wimputil
o.mouse:	h.nettle
o.mouse:	h.messages
o.mouse:	h.zapredraw
o.scripts:	c.scripts
o.scripts:	h.generic
o.scripts:	h.fortify
o.scripts:	h.ufortify
o.scripts:	C:h.kernel
o.scripts:	C:h.swis
o.scripts:	h.globals
o.scripts:	h.nettle
o.scripts:	h.dnslib
o.scripts:	h.misc
o.scripts:	h.scripts
o.scripts:	h.wimputil
o.scripts:	h.nettle
o.scripts:	h.messages
o.processesc:	c.processesc
o.processesc:	h.generic
o.processesc:	h.fortify
o.processesc:	h.ufortify
o.processesc:	C:h.kernel
o.processesc:	C:h.swis
o.processesc:	h.globals
o.processesc:	h.nettle
o.processesc:	h.dnslib
o.processesc:	h.process
o.processiac:	c.processiac
o.processiac:	h.generic
o.processiac:	h.fortify
o.processiac:	h.ufortify
o.processiac:	C:h.kernel
o.processiac:	C:h.swis
o.processiac:	h.globals
o.processiac:	h.nettle
o.processiac:	h.dnslib
o.processiac:	h.process
o.procesescx:	c.procesescx
o.procesescx:	h.generic
o.procesescx:	h.fortify
o.procesescx:	h.ufortify
o.procesescx:	C:h.kernel
o.procesescx:	C:h.swis
o.procesescx:	h.globals
o.procesescx:	h.nettle
o.procesescx:	h.dnslib
o.procesescx:	h.misc
o.procesescx:	h.mouse
o.procesescx:	h.wimputil
o.procesescx:	h.nettle
o.procesescx:	h.messages
o.procesescx:	h.process
