[comp.sys.amiga.tech] Fixes to compile Olaf's MSH

papa@pollux.usc.edu (Marco Papa) (02/24/90)

For you guys wishing to play with MSH sources, here are the changes needed
to compile and link the source with MANX 3.6a (Olaf has his own set of
precompiled includes):

1. Change the makefile as follows:

DB =	 -DNOTDEF
WACK =

2. Change dos.h's included files as follows:

#ifdef NOTDEF
#include "exec/types.h"
#include "exec/memory.h"
#include "exec/interrupts.h"
#include "exec/nodes.h"
#include "libraries/dos.h"
#include "libraries/dosextens.h"
#include "libraries/filehandler.h"
#include "devices/trackdisk.h"
#include "devices/timer.h"
#endif NOTDEF

3. For the following files: hanmain.c, hansec.c, hanlock.c, hanfile.c and
  date.c, switch the order of the two includes as follows:

#include "dos.h"
#include "han.h"

4. Add to dev.h a set of includes as follows:

#ifdef NOTDEF
#include "exec/devices.h"
#include "exec/ports.h"
#include "exec/semaphores.h"
#include "exec/interrupts.h"
#include "exec/io.h"
#include "exec/errors.h"
#include "exec/memory.h"
#include "devices/trackdisk.h"
#include "resources/disk.h"
#include "resources/cia.h"
#include "hardware/custom.h"
#include "hardware/cia.h"
#include "hardware/adkbits.h"
#include "hardware/dmabits.h"
#include "hardware/intbits.h"
#endif

BTW, I've been trying to send this to Olaf, but the given address bounced.
If anybody has a proper path, please forward this to Olaf for his next
release.

Enjoy, and happy experimenting.

-- Marco
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Xerox sues somebody for copying?" -- David Letterman
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=