home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / term43-source.lha / Extras / Source / term-Source.lha / SMakefile < prev    next >
Encoding:
Makefile  |  1995-02-20  |  3.7 KB  |  115 lines

  1. ###############################################################################
  2. #
  3. #    SMakefile
  4. #
  5. #    Makefile for the `SMake' utility required to build `term'
  6. #
  7. #    Copyright © 1990-1995 by Olaf `Olsen' Barthel
  8. #        All Rights Reserved
  9. #
  10. ###############################################################################
  11.  
  12. .c.o:
  13.     SC $(CFLAGS) $(GST) $(OPTIONS) $(DEBUG) OBJNAME=$*.o $*.c
  14.  
  15. .c.oo:
  16.     SC $(CFLAGS) $(GST) $(OPTIONS) $(DEBUG) $(OPTIMIZE) OBJNAME=$*.oo $*.c
  17.  
  18. .asm.o:
  19.     ASM -D $*.asm
  20.  
  21. #CPU        = ANY
  22. CPU        = 68030
  23.  
  24. OPTIMIZE    = OPTIMIZE OPTTIME NOOPTINLOCAL
  25.  
  26. INCLUDEFLAGS    = DEFINE=INCLUDEALL
  27. INCLUDEFILES    = gtlayout.h termGlobal.h termData.h termProtos.h \
  28.           termErrors.h termARexxAttributes.h termARexxGlobal.h
  29.  
  30. OPTIONS        = CPU=$(CPU) UTILLIB
  31. DEBUG        = DEBUG=LINE
  32.  
  33. GST        = GSTIMM GST=term.gst
  34.  
  35. CFLAGS        = MCCONS STREQ STRMERGE NOSTKCHK IDLEN=65 NOVER IGNORE=306
  36. LFLAGS        = DEFINE __CXM33=__UCXM33 DEFINE __CXD33=__UCXD33 \
  37.           DEFINE __CXM22=__UCXM22 DEFINE __CXD22=__UCXD22 \
  38.           SC SD NOICONS MAXHUNK 100000
  39.  
  40. LIBS        = LIB:sc.lib LIB:amiga.lib
  41.  
  42. OBJS        = termTag.o ASCIIPanel.o CapturePanel.o CaptureParser.oo \
  43.           Chat.o ClipPanel.o CommandPanel.o CopyPanel.o Colour.oo \
  44.           CursorPanel.o DatePanel.o DayPanel.o EmulationPanel.o \
  45.           FastMacroPanel.o HotkeyPanel.o ImportPanel.o LibPanel.o \
  46.           MacroPanel.o MiscPanel.o ModemPanel.o PasswordUserPanel.o \
  47.           PathPanel.o PatternPanel.o SerialIO.oo PhonePanel.o \
  48.           PrintPanel.o QuickSort.o RatePanel.o ScreenPanel.o \
  49.           SerialPanel.o SoundPanel.o SpeechPanel.o StackCall.o \
  50.           Start.o termAbout.oo termAmigaGuide.o termARexx.oo \
  51.           termARexxAttributes.oo termARexxCommands.oo termARexxData.o termASCIITransfer.oo \
  52.           termAux.o termBeep.o termBoxes.o termBuffer.oo \
  53.           termCall.o termCapture.oo termClip.oo termConfig.o \
  54.           termConsole.oo termCRC.o termCrypt.oo termData.o \
  55.           termDial.o termEmulation.oo termEmulationProcess.oo termFastMacros.o \
  56.           termFastMacroWindow.oo termFileBuffer.oo termHotkeys.o termIdentify.o \
  57.           TerminalPanel.o termInfoWindow.o termInit.o termLists.oo \
  58.           termLocale.o termMain.o termMarker.o termMemory.oo \
  59.           termMsgQueue.oo termOldConfig.o termPacket.o \
  60.           termPhone.o termPickFile.o termPickScreen.o termPrint.o \
  61.           termRaster.oo termRemember.oo termResponse.oo termReviewBuffer.oo \
  62.           termSaveWindow.o termScale.oo termScroll.oo termSendText.oo \
  63.           termSerial.oo termSound.oo termSpeech.o termStatusDisplay.o \
  64.           termStrings.o termTextBuffer.oo termTimeDate.o termTransfer.o \
  65.           termTranslate.oo termTraps.o termUploadQueue.o termXEM.oo \
  66.           termXPR.oo TimePanel.o TransferPanel.o TranslationPanel.o \
  67.           TrapPanel.o UploadPanel.o LibPanelPlus.o termVerify.o \
  68.           FixPath.o CustomRequest.o
  69.  
  70. all:        term.gst term term.catalog
  71.  
  72. termTag.o:    termTag.asm term_rev.i
  73.         ASM termTag.asm
  74.  
  75. term:        $(OBJS)
  76.         SLINK WITH T:term.WITH <<!(T:term.WITH)
  77.             FROM
  78.             $(OBJS)
  79.             TO
  80.             $@.debug
  81.             LIB
  82.             $(LIBS)
  83.             $(LFLAGS)
  84.         <
  85.         SLINK $@.debug TO $@ ND NOICONS
  86.  
  87. term.gst:    PreInclude.c PreInclude.h termStrings.h OwnDevUnit.h xproto.h xem.h Rendezvous.h $(INCLUDEFILES)
  88.         @GST >NIL: UNLOAD $@
  89.         SC NOOBJNAME DEFINE=CATCOMP_NUMBERS IDLEN=65 $(INCLUDEFLAGS) MAKEGST=$@ PreInclude.c
  90.         @GST $@
  91.  
  92. termStrings.o:    termStrings.c termStrings.h
  93.         SC $(CFLAGS) DATA=FAR termStrings.c
  94.  
  95. Start.o:    Start.c
  96.         SC $(CFLAGS) $(OPTIMIZE) $(DEBUG) DEFINE=_M$(CPU) Start.c
  97.  
  98. termStrings.h:    term.cd
  99.         CatComp term.cd CFile $@
  100.  
  101. clean:
  102.         -delete \#?.o\#o
  103.         -delete term.gst
  104.  
  105. realclean:
  106.         -delete \#?.o\#o
  107.         -delete term.gst
  108.         -delete term
  109.         -delete term.debug
  110.  
  111. termARexxCommands.oo:    termARexxCommands.c termARexxGlobal.h termARexxAttributes.h
  112. termARexx.o:        termARexx.c termARexxGlobal.h termARexxAttributes.h
  113. termARexxData.o:    termARexxData.c termARexxGlobal.h termARexxAttributes.h
  114. termARexxAttributes.oo:    termARexxAttributes.c termARexxGlobal.h termARexxAttributes.h
  115.