TIP: Click on subject to list as thread! ANSI
echo: artware
to: ALL
from: BEN RITCHEY
date: 2004-03-24 16:04:14
subject: NetMgr DOS port

I managed to build XMSGAPI, it gave a few warnings about some re-defs or
something, though I still think it worked .

My makefile for DOS-32/DJGPP is experimental but is doing something  since
it displays dozens of warnings and some errors on the very first module to be
built (akamatch). The 1st Error I need to fix is a missing file (progprot.h).
Does anyone know why it would be missing from CVS? Can I use the one from the
old DOS NetMgr v1.0 source distribution?

My makefile, a guess at best by modifying the NetMgr/Unix makefile based on the
XMSGAPI/DOS-32/DJGPP makefile, is below, and comments are welcome :

=== Cut ===
# DOS32/DJGPP makefile for NetMgr (by Ben Ritchey)
# GNU C for DJGPP 2.0 (32-bit DOS)
# Requires GNU Make
# Tested with XMSGAPI 1.8

COPTS=-W -Wall -c -I../xmsgapi/src -funsigned-char
CDEFS=-D__LITTLE_ENDIAN__ -DMSGAPI_NO_JAM
LIBS=-L../xmsgapi/dos32/djgpp -lxmsgapi
CC=gcc

OBJS=   akamatch.o binkpack.o command.o config.o external.o fdnode.o gigo.o \
        lastread.o mem.o netmgr.o txtbuild.o version7.o wrap.o port.o \
        strlist.o getline.o

all: netmgr

.c.o:
        $(CC) -c $(COPTS) $(CDEFS) $<

netmgr: $(OBJS)
        $(CC) -g -o netmgr $(OBJS) $(LIBS)

clean:
        rm -rf *.o netmgr netmgr.exe
=== Cut ===

--
Be well,

 : Ben   aka cMech    http://bellsouthpwp.net/c/m/cmech617/
 :
 +    WildCat! Board 24/7  (337) 232-4155  33.6kBps 8,N,1
--- GoldED+/DPMI32 v1.1.5-040120 r0221
* Origin: FIDONet - The Positronium Repository (1:393/68)
SEEN-BY: 206/0 633/267 270
@PATH: 393/68 261/38 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.