TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Russell Tiedt
from: Benny Pedersen
date: 2004-09-05 21:23:24
subject: msgid

Hello Russell!

05 Sep 04 15:30, Russell Tiedt wrote to Tobias Ernst:

 RT> gcc: readtc: No such file or directory

thats is makefile error

here is my changed that works

   ----- Makefile begins -----
# Makefile for the Husky build environment

# include Husky-Makefile-Config
ifeq ($(DEBIAN), 1)
include debian/huskymak.cfg
else
include ../huskymak.cfg
endif

ifeq ($(DEBUG), 1)
  CFLAGS=$(WARNFLAGS) $(DEBCFLAGS) -I$(INCDIR)
  LFLAGS=$(DEBLFLAGS)
else
  CFLAGS=$(WARNFLAGS) $(OPTCFLAGS) -I$(INCDIR)
  LFLAGS=$(OPTLFLAGS)
endif

ifndef MSGEDCFG
  MSGEDCFG=\"$(CFGDIR)/msged.cfg\"
endif

CDEFS=-D$(OSTYPE) -DUSE_MSGAPI -DUSE_FIDOCONFIG -DUNAME=\"$(UNAME)\" \
      $(ADDCDEFS) -DREADMAPSDAT=\"$(CFGDIR)/msged/readmaps.dat\" \
      -DWRITMAPSDAT=\"$(CFGDIR)/msged/writmaps.dat\" \
      -DDEFAULT_CONFIG_FILE=$(MSGEDCFG)

ifeq ($(SHORTNAME), 1)
  LIBS= -L$(LIBDIR) -lfidoconf -lsmapi -lhusky
else
  LIBS= -L$(LIBDIR) -lfidoconfig -lsmapi -lhusky
endif

TARGET= msged$(_EXE)

ifeq ($(OSTYPE), UNIX)
  osobjs=       ansi$(_OBJ) \
                readtc$(_OBJ)
  ifneq ("$(TERMCAP)", "")
    OSLIBS=-l$(TERMCAP)
  endif
endif
ifeq ($(OSTYPE), OS2)
  osobjs=       os2scr$(_OBJ) \
                malloc16$(_OBJ)
endif
ifeq ($(OSTYPE), WINNT)
  osobjs=       winntscr$(_OBJ)
endif
ifeq ($(OSTYPE), Cygwin)
  osobjs= ansi$(_OBJ) readtc$(_OBJ)
    OSLIBS=-ltermcap
endif

objs=   addr$(_OBJ)     \
        areas$(_OBJ)    \
        bmg$(_OBJ)      \
        charset$(_OBJ)  \
        config$(_OBJ)   \
        control$(_OBJ)  \
        curses$(_OBJ)   \
        date$(_OBJ)     \
        dialogs$(_OBJ)  \
        dirute$(_OBJ)   \
        dlgbox$(_OBJ)   \
        dlist$(_OBJ)    \
        echotoss$(_OBJ) \
        environ$(_OBJ)  \
        fconf$(_OBJ)    \
        fecfg145$(_OBJ) \
        fido$(_OBJ)     \
        filedlg$(_OBJ)  \
        flags$(_OBJ)    \
        freq$(_OBJ)     \
        gestr120$(_OBJ) \
        getopts$(_OBJ)  \
        group$(_OBJ)    \
        help$(_OBJ)     \
        helpcmp$(_OBJ)  \
        helpinfo$(_OBJ) \
        init$(_OBJ)     \
        keycode$(_OBJ)  \
        list$(_OBJ)     \
        maintmsg$(_OBJ) \
        makemsgn$(_OBJ) \
        memextra$(_OBJ) \
        menu$(_OBJ)     \
        misc$(_OBJ)     \
        mnu$(_OBJ)      \
        msg$(_OBJ)      \
        msged$(_OBJ)    \
        mxbt$(_OBJ)     \
        normalc$(_OBJ)  \
        nshow$(_OBJ)    \
        patmat$(_OBJ)   \
        quick$(_OBJ)    \
        quote$(_OBJ)    \
        readmail$(_OBJ) \
        screen$(_OBJ)   \
        strextra$(_OBJ) \
        system$(_OBJ)   \
        template$(_OBJ) \
        textfile$(_OBJ) \
        timezone$(_OBJ) \
        userlist$(_OBJ) \
        vsev$(_OBJ)     \
        vsevops$(_OBJ)  \
        win$(_OBJ)      \
        wrap$(_OBJ)


ifeq ($(OSTYPE), UNIX)
   all: $(TARGET) testcons do-maps msghelp.dat
else
   all: $(TARGET) do-maps msghelp.dat

endif

do-maps:
        (cd maps && $(MAKE) -f makefile.husky)
        (cd doc && cd manual && $(MAKE) -f makefile.husky)


%$(_OBJ): %.c
        $(CC) $(CFLAGS) $(CDEFS) -c $*.c

$(TARGET): $(objs) $(osobjs)
        $(CC) $(LFLAGS) -o $(TARGET) $(objs) $(osobjs) $(LIBS) $(OSLIBS)

ifeq ($(OSTYPE), UNIX)
testcons: testcons$(_OBJ)
        $(CC) $(LFLAGS) -o testcons$(_EXE) testcons$(_OBJ) $(LIBS) $(OSLIBS)
endif

msghelp.dat: msghelp.src
        .$(DIRSEP)$(TARGET) -hc msghelp.src msghelp.dat

clean:
        -$(RM) $(RMOPT) *$(_OBJ)
        -$(RM) $(RMOPT) *~
        (cd maps && $(MAKE) -f makefile.husky clean)
        (cd doc && cd manual && $(MAKE) -f makefile.husky clean)

distclean: clean
        -$(RM) $(RMOPT) $(TARGET)
        -$(RM) $(RMOPT) msghelp.dat
        -$(RM) $(RMOPT) testcons$(_EXE)
        (cd maps && $(MAKE) -f makefile.husky distclean)
        (cd doc && cd manual && $(MAKE) -f makefile.husky distclean)

ifeq ($(OSTYPE), UNIX)

install: $(TARGET) msghelp.dat testcons$(_EXE)
        -$(MKDIR) $(MKDIROPT) $(BINDIR)
        $(INSTALL) $(IBOPT) $(TARGET) $(BINDIR)
        -$(MKDIR) $(MKDIROPT) $(CFGDIR)
        $(INSTALL) $(IIOPT) msghelp.dat $(CFGDIR)
        (cd maps && $(MAKE) -f makefile.husky install)
        (cd doc && cd manual && $(MAKE) -f makefile.husky install)
        $(INSTALL) $(IBOPT) testcons$(_EXE) $(BINDIR)

else

install: $(TARGET) msghelp.dat
        -$(MKDIR) $(MKDIROPT) $(BINDIR)
        $(INSTALL) $(IBOPT) $(TARGET) $(BINDIR)
        -$(MKDIR) $(MKDIROPT) $(CFGDIR)
        -$(MKDIR) $(MKDIROPT) $(CFGDIR)/msged
        $(INSTALL) $(IIOPT) msghelp.dat $(CFGDIR)/msged
        (cd maps && $(MAKE) -f makefile.husky install)
        (cd doc && cd manual && $(MAKE) -f makefile.husky install)

endif

uninstall:
        -$(RM) $(RMOPT) $(BINDIR)$(DIRSEP)$(TARGET)
        -$(RM) $(RMOPT) $(BINDIR)$(DIRSEP)testcons$(_EXE) $(BINDIR)
        -$(RM) $(RMOPT) $(CFGDIR)$(DIRSEP)msghelp.dat
        (cd maps && $(MAKE) -f makefile.husky uninstall)
        (cd doc && cd manual && $(MAKE) -f makefile.husky uninstall)

   ----- Makefile ends -----

i just let others make makemaps works, but since makemaps is still working
from the old version, i did not care to make it compile, msged and testcons
do work now

 Regards Benny

... there can only be one way of life, and it works :)

--- Msged/LNX 6.1.2 (Linux/2.4.20-30.8.legacy (i686))
* Origin: ftp://junc.org/ binkd 1.0a-377 xpoint{at}junc.org (2:237/53)
SEEN-BY: 633/267 270
@PATH: 237/53 9 20/11 2411/413 2432/200 2476/418 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.