# Project:   VNCserv_mod


# Toolflags:
CCflags = -c -depend !Depend -IC:,OSLIB:,TCPIPLibs: -throwback  -DBUILD_MODULE  -zM 
C++flags = -c -depend !Depend -IC: -throwback
Linkflags = -rmf -c++ -rescan -o $@ 
ObjAsmflags = -throwback -NoCache -depend !Depend
CMHGflags = 
LibFileflags = -c -o $@
Squeezeflags = -o $@


# Final targets:
@.VNCserver:   @.o.areas @.o.d3des @.o.frontend @.o.hextile @.o.ipserv @.o.log \
        @.o.pixtrans @.o.server @.o.vncauth @.o.vncbuffer @.o.vncserv @.o.mcode @.o.header \
        C:o.Stubs TCPIPLibs:o.socklib5 TCPIPLibs:o.inetlib TCPIPLibs:o.unixlib OSLib:o.OSLib32 
        link $(linkflags) @.o.areas @.o.d3des @.o.frontend @.o.hextile \
        @.o.ipserv @.o.log @.o.pixtrans @.o.server @.o.vncauth @.o.vncbuffer @.o.vncserv \
        @.o.mcode @.o.header C:o.Stubs TCPIPLibs:o.socklib5 TCPIPLibs:o.inetlib \
        TCPIPLibs:o.unixlib OSLib:o.OSLib32 


# User-editable dependencies:
# compile everything when application was made last
o.areas:      VNCappl
o.d3des:      VNCappl
o.frontend:   VNCappl
o.hextile:    VNCappl
o.ipserv:     VNCappl
o.log:        VNCappl
o.pixtrans:   VNCappl
o.server:     VNCappl
o.vncauth:    VNCappl
o.vncbuffer:  VNCappl
o.vncserv:    VNCappl
o.mcode:      VNCappl
o.header:     VNCappl

# Static dependencies:
@.o.areas:   @.c.areas
        cc $(ccflags) -o @.o.areas @.c.areas 
@.o.d3des:   @.c.d3des
        cc $(ccflags) -o @.o.d3des @.c.d3des 
@.o.frontend:   @.c.frontend
        cc $(ccflags) -o @.o.frontend @.c.frontend 
@.o.hextile:   @.c.hextile
        cc $(ccflags) -o @.o.hextile @.c.hextile 
@.o.ipserv:   @.c.ipserv
        cc $(ccflags) -o @.o.ipserv @.c.ipserv 
@.o.log:   @.c.log
        cc $(ccflags) -o @.o.log @.c.log 
@.o.pixtrans:   @.c.pixtrans
        cc $(ccflags) -o @.o.pixtrans @.c.pixtrans 
@.o.server:   @.c.server
        cc $(ccflags) -o @.o.server @.c.server 
@.o.vncauth:   @.c.vncauth
        cc $(ccflags) -o @.o.vncauth @.c.vncauth 
@.o.vncbuffer:   @.c.vncbuffer
        cc $(ccflags) -o @.o.vncbuffer @.c.vncbuffer 
@.o.vncserv:   @.c.vncserv
        cc $(ccflags) -o @.o.vncserv @.c.vncserv 
@.o.mcode:   @.s.mcode
        objasm $(objasmflags) -from @.s.mcode -to @.o.mcode
@.o.header:   @.cmhg.header
        cmhg @.cmhg.header -o @.o.header


# Dynamic dependencies:
o.vncauth:	c.vncauth
o.vncauth:	h.vncauth
o.vncauth:	h.d3des
o.mcode: s.mcode
o.mcode: h.RegNames
o.d3des:	c.d3des
o.d3des:	h.d3des
o.hextile:	c.hextile
o.hextile:	h.vncserv
o.hextile:	h.areas
o.hextile:	h.proto
o.hextile:	h.vncbuffer
o.hextile:	h.pixtrans
o.hextile:	h.log
o.log:	c.log
o.log:	C:h.kernel
o.ipserv:	c.ipserv
o.ipserv:	TCPIPLibs:sys.h.types
o.ipserv:	TCPIPLibs:sys.h.cdefs
o.ipserv:	TCPIPLibs:machine.h.endian
o.ipserv:	TCPIPLibs:machine.h.ansi
o.ipserv:	TCPIPLibs:machine.h.types
o.ipserv:	TCPIPLibs:sys.h.socket
o.ipserv:	TCPIPLibs:sys.h.cdefs
o.ipserv:	TCPIPLibs:sys.h.select
o.ipserv:	TCPIPLibs:sys.h.ioctl
o.ipserv:	TCPIPLibs:sys.h.ttycom
o.ipserv:	TCPIPLibs:sys.h.ioccom
o.ipserv:	TCPIPLibs:sys.h.ioccom
o.ipserv:	TCPIPLibs:sys.h.filio
o.ipserv:	TCPIPLibs:sys.h.ioccom
o.ipserv:	TCPIPLibs:sys.h.sockio
o.ipserv:	TCPIPLibs:sys.h.ioccom
o.ipserv:	TCPIPLibs:sys.h.cdefs
o.ipserv:	TCPIPLibs:netinet.h.in
o.ipserv:	TCPIPLibs:sys.h.errno
o.ipserv:	C:h.kernel
o.ipserv:	TCPIPLibs:sys.h.time
o.ipserv:	TCPIPLibs:sys.h.cdefs
o.ipserv:	TCPIPLibs:h.unistd
o.ipserv:	TCPIPLibs:sys.h.cdefs
o.ipserv:	TCPIPLibs:sys.h.types
o.ipserv:	TCPIPLibs:sys.h.unistd
o.ipserv:	TCPIPLibs:sys.h._posix
o.ipserv:	h.log
o.ipserv:	h.ipserv
o.vncbuffer:	c.vncbuffer
o.vncbuffer:	h.vncserv
o.vncbuffer:	h.areas
o.vncbuffer:	h.proto
o.vncbuffer:	h.vncbuffer
o.frontend:	c.frontend
o.frontend:	C:h.kernel
o.frontend:	h.server
o.frontend:	OSLIB:oslib.h.os
o.frontend:	OSLIB:oslib.h.types
o.frontend:	OSLIB:oslib.h.oscore32
o.frontend:	OSLIB:oslib.h.osf32
o.frontend:	OSLIB:oslib.h.osword
o.pixtrans:	c.pixtrans
o.pixtrans:	h.vncserv
o.pixtrans:	h.areas
o.pixtrans:	h.proto
o.server:	c.server
o.server:	C:h.kernel
o.server:	OSLIB:oslib.h.os
o.server:	OSLIB:oslib.h.types
o.server:	OSLIB:oslib.h.oscore32
o.server:	OSLIB:oslib.h.osf32
o.server:	OSLIB:oslib.h.osbyte
o.server:	OSLIB:oslib.h.osword
o.server:	OSLIB:oslib.h.colourtrans
o.server:	OSLIB:oslib.h.osspriteop
o.server:	OSLIB:oslib.h.font
o.server:	OSLIB:oslib.h.coltrans32
o.server:	TCPIPLibs:sys.h.types
o.server:	TCPIPLibs:sys.h.cdefs
o.server:	TCPIPLibs:machine.h.endian
o.server:	TCPIPLibs:machine.h.ansi
o.server:	TCPIPLibs:machine.h.types
o.server:	TCPIPLibs:sys.h.errno
o.server:	C:h.kernel
o.server:	TCPIPLibs:sys.h.socket
o.server:	TCPIPLibs:sys.h.cdefs
o.server:	TCPIPLibs:h.unistd
o.server:	TCPIPLibs:sys.h.cdefs
o.server:	TCPIPLibs:sys.h.types
o.server:	TCPIPLibs:sys.h.unistd
o.server:	TCPIPLibs:sys.h._posix
o.server:	h.vncserv
o.server:	h.areas
o.server:	h.vnckeys
o.server:	h.ipserv
o.server:	h.mcode
o.server:	h.server
o.server:	h.log
o.vncserv:	c.vncserv
o.vncserv:	h.vncserv
o.vncserv:	h.areas
o.vncserv:	h.proto
o.vncserv:	h.vncauth
o.vncserv:	h.pixtrans
o.vncserv:	h.hextile
o.vncserv:	h.areas
o.vncserv:	h.log
