home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / xgopher.1.3 / Makefile.NoNo < prev    next >
Encoding:
Makefile  |  1993-04-08  |  2.2 KB  |  63 lines

  1. # Please use the Imakefile instead of this file!  PLEASE!
  2.  
  3. # I will NOT guarantee that this Makefile will work on any host!
  4. # (Furthermore, I will almost guarantee that it will not work without
  5. # change.)  I will also make only minimal attempt to keep this file
  6. # up to date with the rest of Xgopher.
  7.  
  8. # Use this Makefile as a last resort only, if you REALLY can't
  9. # use xmkmf (Imake).  This Makefile shows the basic idea for 
  10. # building Xgopher, but does not contain all the machine-dependent
  11. # options that you may need.
  12.  
  13. # There is no "install" target in this Makefile.  See the README
  14. # file for where to put everything once it is built.
  15.  
  16.          LIBDIR = /usr/lib/X11
  17.     XAPPLOADDIR = $(LIBDIR)/app-defaults
  18.      XGOPHERDIR = $(LIBDIR)/xgopher
  19. LOCAL_LIBRARIES = -lXaw -lXmu -lXt -lX 
  20.         LD_LIBS = -lm
  21.     CDEBUGFLAGS = 
  22.  
  23.  
  24.   EXTRA_DEFINES = -DHELP_FILE=\"$(XGOPHERDIR)/xgopher.help\"
  25. #   STD_DEFINES =
  26. #      INCLUDES = /usr/include /usr/local/include
  27.      ALLDEFINES = $(INCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES)
  28.  
  29.            SRCS = xgopher.c item.c itemList.c dir.c dirList.c markList.c \
  30.                   util.c misc.c net.c  \
  31.                   gui.c resources.c help.c status.c jobs.c \
  32.                   panel.c save.c text.c error.c cso.c index.c \
  33.                   bkmkfile.c options.c version.c single.c itemInfo.c\
  34.           subst.c \
  35.           sc_dir.c sc_index.c sc_telnet.c sc_tn3270.c \
  36.           sc_cso.c sc_image.c sc_sound.c sc_text.c sc_binary.c \
  37.           sc_extend.c \
  38.                   KeyWSink.c
  39.  
  40.            OBJS = xgopher.o item.o itemList.o dir.o dirList.o markList.o \
  41.                   util.o misc.o net.o  \
  42.                   gui.o resources.o help.o status.o jobs.o \
  43.                   panel.o save.o text.o error.o cso.o index.o \
  44.                   bkmkfile.o options.o version.o single.o itemInfo.o\
  45.           subst.o \
  46.           sc_dir.o sc_index.o sc_telnet.o sc_tn3270.o \
  47.           sc_cso.o sc_image.o sc_sound.o sc_text.o sc_binary.o \
  48.           sc_extend.o \
  49.                   KeyWSink.o
  50.  
  51.          CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
  52.       LDOPTIONS = $(CDEBUGFLAGS) 
  53.  
  54.         PROGRAM = xgopher
  55.  
  56. all: xgopher
  57.  
  58. xgopher: $(OBJS)
  59.     rm -f $@
  60.     $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS)
  61. clean:
  62.     $(RM) $(PROGRAM) *.o core
  63.