view 3rdparty/packages/uucpbb/cmds_6809/makefile @ 2758:e4a0f58a5f9b

Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded. To fix this the code needed to set the envirornment variable that is in the rules.mak is now in the makefile(s) right before the include for the rules.mak file. This should fix the problem for those who do not have the NITROS9DIR envirornment variable preset.
author drencor-xeen
date Mon, 14 Jan 2013 14:37:46 -0600 (2013-01-14)
parents cd6eed1de2e5
children 1addfd8c9d5f
line wrap: on
line source
ifndef  NITROS9DIR
NITROS9DIR      = $(HOME)/nitros9
endif
include $(NITROS9DIR)/rules.mak

DEPENDS		= ./makefile

CMDS_TCAP	= tcap/adduser tcap/chown tcap/cnvrtmail tcap/dotilde tcap/expire tcap/fileserv tcap/fixtext tcap/login tcap/mailx tcap/postnews tcap/readnews tcap/rmail tcap/rnews tcap/subscribe tcap/unsubscribe tcap/uucico tcap/uuclean tcap/uucp tcap/uudecode tcap/uuencode tcap/uulog tcap/uuname tcap/uuxqt tcap/whoami
CMDS_WIN	= win/adduser win/chown win/cnvrtmail win/dotilde win/expire win/fileserv win/fixtext win/login win/mailx win/postnews win/readnews win/rmail win/rnews win/subscribe win/unsubscribe win/uucico win/uuclean win/uucp win/uudecode win/uuencode win/uulog win/uuname win/uuxqt win/whoami
CMDS		= uumon

ALLOBJS		= $(CMDS_TCAP) $(CMDS_WIN) $(CMDS)

all:	$(ALLOBJS)

clean:
	$(RM) $(ALLOBJS)

showtcapobjs:
	@$(ECHO) $(CMDS_TCAP)

showwinobjs:
	@$(ECHO) $(CMDS_WIN)

showobjs:
	@$(ECHO) $(CMDS)

identify:
	$(IDENT_SHORT) $(ALLOBJS)