home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!rutgers!modus!gear!marlor
- From: marlor@gear.sublink.ORG
- Newsgroups: comp.sys.hp
- Subject: Re: B&W's bwnfsd on HP 9000/8XX running HP-UX [78].0
- Message-ID: <1992Aug26.202348.6643@gear.sublink.ORG>
- Date: 26 Aug 92 19:23:48 GMT
- References: <3778@tiamat.fsc.com>
- Organization: L.S.Meccanica srl - Zola Predosa (BO) - Italy
- Lines: 73
-
- In <3778@tiamat.fsc.com> jim@tiamat.fsc.com ( IT Manager) writes:
-
- |>Before I dive headlong into this: has anyone made the necessary mods to get
- |>B&W's bwnfsd to compile and run on HP-UX [78].0? We're using HP 9000 Model
- |>8XX machines, but for this program, code for any version of HP-UX (e.g. the
- |>300's or 700's) should work OK.
-
- This is the mods that I have made to compile and run
- bwnfsd on HP-UX 8.02.
-
- Bye, Marco.
-
- ------------------------------bwprint.c-----------------------------------
- *** bwprint.c Sat Feb 22 10:08:01 1992
- --- bwprint.c.new Mon Feb 24 08:40:23 1992
- ***************
- *** 134,139 ****
- --- 134,146 ----
- argys[ac++]=file;
- argys[ac++]=NULL;
- #else
- + #ifdef HPUX
- + strcpy(zoots,"-T");
- + strcat(zoots,jobname);
- + argys[ac++]=file;
- + argys[ac++]=NULL;
- + #endif /* HPUX */
- + #else
- strcpy(zoots,"-T");
- strcat(zoots,jobname);
- argys[ac++]=zoots;
-
- -----------------------------------makefile---------------------------------
-
- *** makefile Sat Feb 22 10:08:29 1992
- --- makefile.new Mon Feb 24 08:41:22 1992
- ***************
- *** 15,20 ****
- --- 15,21 ----
- @echo 'make sgi - Silicon Graphics machine'
- @echo 'make sco - Santa Cruz Organization'
- @echo 'make aix - IBM AIX for RS/6000'
- + @echo 'make hpux - HP-UX'
- #
- # Please add your system here
- #
- ***************
- *** 47,52 ****
- --- 48,57 ----
- sys5:
- make all "CFLAGS= -O -DSYSV32"
-
- + #In case they type "make hpux"...
- + hpux:
- + make all "CFLAGS= -O -DSYSV32 -DHPUX"
- +
- #Generic ATT System III or System V
- sys3:
- make all "CFLAGS= -O -DSYSV32"
- ***************
- *** 62,64 ****
- --- 67,71 ----
- sco:
- make all "CFLAGS= -O -DSYSV32 -DSCO -lprot -lrpcsvc -lrpc -lsocket -lc_s"
-
- + clean:
- + rm -rf *.o bwnfsd bwtrm
-
-
- --
- ********** Marco Lorenzini * FAX +39.51.752643 *
- * GEAR * INTERNET: marlor@gear.sublink.ORG * VOICE +39.51.750365 *
- ********** (1200-2400 MNP 4 - 19200-9600 PEP - V32) * TELEX 521116 LSMECC *
-