XBILL_DIR = /var/lib/games/xbill/ XCOMM XBILL_DIR = $(HOME)/.xbill/ XCOMM Which widget set? Motif looks slightly better; Athena is free. #define Use_Athena XCOMM #define Use_Motif XCOMM If you do not have libXpm installed in the standard place, uncomment XCOMM the statement below and insert the correct path. XCOMM Make sure xpm.h can be referenced as XPMINC = -I$(HOME)/include XPMLIB = -lXpm XCOMM You shouldn't have to change anything below this line. XBILL_DEF = -DXBILL_HOME=\"$(XBILL_DIR)\" INCLUDES = -I. $(XPMINC) CXXDEFINES = $(XBILL_DEF) $(DEFS) $(INCS) CCFLAGS = $(ALLDEFINES) -Wall -g CXX = g++ $(CCFLAGS) CCC = $(CXX) CC = $(CXX) #ifdef Use_Motif WIDGET = motif XMLIB = -lXm WIDGETLIB = $(XMLIB) #else WIDGET = athena WIDGETLIB = $(XAWLIB) $(XMULIB) #endif LOCAL_LIBRARIES = $(WIDGETLIB) $(XTOOLLIB) $(XPMLIB) $(XLIB) DEFINES = -D$(WIDGET) TARGET = xbill SRCS = Bucket.cc \ Cable.cc \ Computer.cc \ Game.cc \ Horde.cc \ Library.cc \ Monster.cc \ Network.cc \ Scorelist.cc \ Spark.cc \ MCursor.cc \ Picture.cc \ UI.cc \ x11-$(WIDGET).cc \ x11.cc OBJS = Bucket.o \ Cable.o \ Computer.o \ Game.o \ Horde.o \ Library.o \ Monster.o \ Network.o \ Scorelist.o \ Spark.o \ MCursor.o \ Picture.o \ UI.o \ x11-$(WIDGET).o \ x11.o XPMS = pixmaps/about.xpm \ pixmaps/apple.xpm \ pixmaps/billA_0.xpm \ pixmaps/billA_1.xpm \ pixmaps/billA_10.xpm \ pixmaps/billA_11.xpm \ pixmaps/billA_12.xpm \ pixmaps/billA_2.xpm \ pixmaps/billA_3.xpm \ pixmaps/billA_4.xpm \ pixmaps/billA_5.xpm \ pixmaps/billA_6.xpm \ pixmaps/billA_7.xpm \ pixmaps/billA_8.xpm \ pixmaps/billA_9.xpm \ pixmaps/billD_0.xpm \ pixmaps/billD_1.xpm \ pixmaps/billD_2.xpm \ pixmaps/billD_3.xpm \ pixmaps/billD_4.xpm \ pixmaps/billL_0.xpm \ pixmaps/billL_1.xpm \ pixmaps/billL_2.xpm \ pixmaps/billR_0.xpm \ pixmaps/billR_1.xpm \ pixmaps/billR_2.xpm \ pixmaps/bsd.xpm \ pixmaps/bsdcpu.xpm \ pixmaps/bucket.xpm \ pixmaps/hurd.xpm \ pixmaps/icon.xpm \ pixmaps/linux.xpm \ pixmaps/logo.xpm \ pixmaps/maccpu.xpm \ pixmaps/next.xpm \ pixmaps/nextcpu.xpm \ pixmaps/os2.xpm \ pixmaps/os2cpu.xpm \ pixmaps/redhat.xpm \ pixmaps/sgi.xpm \ pixmaps/sgicpu.xpm \ pixmaps/spark_0.xpm \ pixmaps/spark_1.xpm \ pixmaps/sun.xpm \ pixmaps/suncpu.xpm \ pixmaps/toaster.xpm \ pixmaps/wingdows.xpm XBMS = bitmaps/apple.xbm \ bitmaps/bsd.xbm \ bitmaps/bucket.xbm \ bitmaps/hand_down.xbm \ bitmaps/hand_down_mask.xbm \ bitmaps/hand_up.xbm \ bitmaps/hand_up_mask.xbm \ bitmaps/hurd.xbm \ bitmaps/linux.xbm \ bitmaps/next.xbm \ bitmaps/os2.xbm \ bitmaps/redhat.xbm \ bitmaps/sgi.xbm \ bitmaps/sun.xbm ComplexProgramTarget($(TARGET)) InstallProgramWithFlags(scores, $(XBILL_DIR), -m 777) InstallMultiple ($(XPMS), $(XBILL_DIR)pixmaps) InstallMultiple ($(XBMS), $(XBILL_DIR)bitmaps)