home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-04-08 | 2.2 KB | 63 lines |
- # Please use the Imakefile instead of this file! PLEASE!
-
- # I will NOT guarantee that this Makefile will work on any host!
- # (Furthermore, I will almost guarantee that it will not work without
- # change.) I will also make only minimal attempt to keep this file
- # up to date with the rest of Xgopher.
-
- # Use this Makefile as a last resort only, if you REALLY can't
- # use xmkmf (Imake). This Makefile shows the basic idea for
- # building Xgopher, but does not contain all the machine-dependent
- # options that you may need.
-
- # There is no "install" target in this Makefile. See the README
- # file for where to put everything once it is built.
-
- LIBDIR = /usr/lib/X11
- XAPPLOADDIR = $(LIBDIR)/app-defaults
- XGOPHERDIR = $(LIBDIR)/xgopher
- LOCAL_LIBRARIES = -lXaw -lXmu -lXt -lX
- LD_LIBS = -lm
- CDEBUGFLAGS =
-
-
- EXTRA_DEFINES = -DHELP_FILE=\"$(XGOPHERDIR)/xgopher.help\"
- # STD_DEFINES =
- # INCLUDES = /usr/include /usr/local/include
- ALLDEFINES = $(INCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES)
-
- SRCS = xgopher.c item.c itemList.c dir.c dirList.c markList.c \
- util.c misc.c net.c \
- gui.c resources.c help.c status.c jobs.c \
- panel.c save.c text.c error.c cso.c index.c \
- bkmkfile.c options.c version.c single.c itemInfo.c\
- subst.c \
- sc_dir.c sc_index.c sc_telnet.c sc_tn3270.c \
- sc_cso.c sc_image.c sc_sound.c sc_text.c sc_binary.c \
- sc_extend.c \
- KeyWSink.c
-
- OBJS = xgopher.o item.o itemList.o dir.o dirList.o markList.o \
- util.o misc.o net.o \
- gui.o resources.o help.o status.o jobs.o \
- panel.o save.o text.o error.o cso.o index.o \
- bkmkfile.o options.o version.o single.o itemInfo.o\
- subst.o \
- sc_dir.o sc_index.o sc_telnet.o sc_tn3270.o \
- sc_cso.o sc_image.o sc_sound.o sc_text.o sc_binary.o \
- sc_extend.o \
- KeyWSink.o
-
- CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
- LDOPTIONS = $(CDEBUGFLAGS)
-
- PROGRAM = xgopher
-
- all: xgopher
-
- xgopher: $(OBJS)
- rm -f $@
- $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS)
- clean:
- $(RM) $(PROGRAM) *.o core
-