Makefile in freebsd will work in redhat9.0 linux
// THIS IS MY PROJECT MAKE FILE FOR THE BLACKJACK ..THIS RUNNING IN
FREEBSD 4.11 NOW THIS PROJECT IS IN UPDATING IN REDHAT9.0 , FOR THAT WHAT ARE THE CHANGES SHOULD BE DONE .... I COPIED ALL THE FILE FROM FREEBSD TO REDHAT 9.0 INCLUDING MAKEFILE . IF I RUN THE MAKEFILE .I AM GETTING ONLY ONE ERROR AS FOLLOWS THE MAKEFILE CONTENT : Code:
************************************ initializing, port intitilize , server and client connectivity ..... this is the most important mainfile ......... i don't know which file do the same work in the REDHAT 9.0 ..... PLEASE HELP ME ........ |
First, gmake is not the same as pmake (the FreeBSD make program). In fact, mixing them can have really unpleasant results. That is problem number 1. You need to use pmake with these style Makefiles.
Second, bsd.port.mk is one of many Makefiles (and it calls most of the rest so your problem is more than one missing file here). You are missing many, many files. Third, bsd.port.mk is part of the ports system. You can't use it independent of it. There is no file which does the same work on a RedHat system. It's specific to FreeBSD. You will not be able to use this method of installing software on Linux (unless you port the ports system over). Edit: This question is related to specifics of FreeBSD and I have reported it to be moved to the BSD forum so that more people can see it and possibly offer some pointers to walk you through what you really want to do. |
Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 07:40 PM. |