|
The Makefile File for JNOSHow to set up for the JNOS compile...
The Makefile file is what the "make"
program reads for its compile instructions. It lists how the binary
objects, the ".o" files, will be grouped or linked together in the
final binary named jnos.
Remember on a compile, you may have a very large number of warnings without halting the compile and aborting the final binary JNOS executable file! You usually can ignore those warnings... (If you have just one error, though, you will not get your executable code and no JNOS program will be generated.) So again, use care when editing this file and be sure to read all the documentation that comes with the package as noted above. And, as a final caution, be sure you have edited the config.h for the functions and options that you want to include in this compile... To begin your compile, be sure you are in the jnos111f source code directory, or whatever you named it, and enter the "make depend" command first, letting it finish, then followed by just the "make" command, or the longer "make" to record the dump:
If you want to clean up all the .o files, run "make clean" and they will be gone. (You should always do this anyway before any re-compile.) If you want to re-compile after "tweaking" the config.h file, you only need to run "make" without the "depend" sub-command as noted above. And, be sure to clear out the logger file, if used, before any re-compile since it is set to accumulate output and could become very large! If you want to begin again from "scratch," you should do "rm Makefile" and then "mv Makefile.bak Makefile" which will bring you back to your original Makefile. Then run the "make depend" again and continue on as usual. (Normally, you will need to run the "depend" sub-command only once after the initial expanding of the source files, or if you have had some major software or hardware change that you think might impact JNOS, such as an OS upgrade, or an updated curses library.) |
|
My Makefile File# # I must be nuts... JNOS port to Linux # Needless to say, this is just begging for trouble # # Why this instead of WAMPES? I want a nice, strict firewall between the # packet users and the rest of the system. Unfortunately, WAMPES spawns login # for all incoming connects (and doesn't work too nicely with DOS versions, # since they default to line mode and local echo) and expects the system to # provide services such as SMTP. Sorry guys, I won't buy it.... # # ++bsa (bsa@kf8nh.wariat.org) 01/19/93 # Mods for Jnos 1.11 1/97 by N5KNX |
||