home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11tl.lha / lbl / xview / genial / makefile.src < prev    next >
Encoding:
Makefile  |  1993-03-12  |  1.4 KB  |  73 lines

  1. #
  2. # makefile for user-contributed/lbl/xview/genial
  3. #
  4.  
  5. DIRS = func ui loginfo
  6. PGMS = genial.out loginfo.out
  7.  
  8.  
  9. FUNCDIR= func
  10. UIDIR= ui
  11. LOGINFO=loginfo
  12.  
  13. LDFLAGS2 = -L$(XVIEWHOME)/lib
  14. # -L../guidexv
  15. LIBRARIES2 = $(LIBRARIES) -llbl -lguidexvlbl -lxcolor
  16. # -lguidexv
  17. #CFLAGS += -Bstatic
  18.  
  19. default:    $(PGMS)
  20. install:    $(PGMS)
  21.  
  22. man:
  23.  
  24. doc:
  25.  
  26. pristine:    pristine-pgm
  27.     rm -f genial genial.out
  28.     cd $(UIDIR); make clean
  29.     cd $(FUNCDIR); make clean
  30.     cd $(LOGINFO); make clean
  31.  
  32. loginfo.out:
  33.     cd $(LOGINFO); make ;
  34.  
  35. genial.out:
  36.     cd $(FUNCDIR); make ;
  37.     cd $(UIDIR); make ;
  38.     $(CC) -D$(ORIG) -D$(BITORDER) \
  39.         $(CFLAGS) $(CPPFLAGS) $(FLOAT) $(TARGET_ARCH) $(FASTCOPY) \
  40.         -o genial $(FUNCDIR)/*.o $(UIDIR)/*.o \
  41.          $(LDFLAGS2) $(LIBRARIES2) $(LIBXVIEW)
  42.     mv genial $(DESTDIR)
  43. #    -cp genial.info $(HELPDIR)
  44.     @touch $@
  45.  
  46.  
  47. depend:
  48.     makedepend -I./include $(UIDIR)/*.c $(FUNCDIR)/*.c
  49.  
  50. tar:    doit
  51.     tar cvf genial.tar README genial.info \
  52.             func/*.c func/makefile.src \
  53.             ui/*.c ui/*.icon ui/makefile.src \
  54.             include/*.h \
  55.             man/genial.n \
  56.             loginfo/*.c loginfo/makefile.src \
  57.             lib/xcolor.c lib/c_array.c lib/Makefile \
  58.             gfm/*.c gfm/*.h gfm/*.pr gfm/*.info gfm/Makefile \
  59.         Configure config.sun4 makefile.hdr makefile.src makefile.tlr 
  60.     compress genial.tar
  61.  
  62. clean:
  63.     rm -f genial genial.out
  64.     cd $(UIDIR); make clean
  65.     cd $(FUNCDIR); make clean
  66.     cd $(LOGINFO); make clean
  67. clean-all:    clean_all
  68.     cd $(UIDIR); make clean-all
  69.     cd $(FUNCDIR); make clean-all
  70.     cd $(LOGINFO); make clean-all
  71.  
  72. FRC:
  73.