Changeset 121
- Timestamp:
- 05/07/07 12:22:08 (2 years ago)
- Files:
-
- trunk/src/Makefile.src (modified) (1 diff)
- trunk/src/Makefile.std (modified) (5 diffs)
- trunk/src/load.c (modified) (1 diff)
- trunk/src/main-cap.c (deleted)
- trunk/src/main-lsl.c (deleted)
- trunk/src/main-sla.c (deleted)
- trunk/src/main-xpj.c (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/Makefile.src
r114 r121 14 14 ZFILES = z-file z-form z-rand z-term z-type z-util z-virt 15 15 MAINFILES = main maid-x11 \ 16 $(addprefix main-,c ap crb dos gcu gtk ibm lsl ros sdl sla vcs win x11 xaw xpj)16 $(addprefix main-,crb dos gcu gtk ibm ros sdl vcs win x11 xaw) 17 17 18 18 ANGFILES = \ trunk/src/Makefile.std
r53 r121 44 44 SYS_gtk = -DUSE_GTK $(shell pkg-config gtk+-2.0 --libs --cflags) 45 45 46 # Support "projected mode". Experimental, requires X11/Xaw/GTK to be enabled (main-xpj.c)47 #SYS_xpj = -DUSE_xpj48 49 46 # Support raw console access (main-lfb.c) -- Linux only 50 47 SYS_lfb = -DUSE_LFB 51 52 # Support linux in VGA mode (main-lsl.c) -- Linux only53 #SYS_lsl = -DUSE_LSL -lz -lvgagl -lvga54 48 55 49 # Support SDL frontend … … 65 59 #SYS_vcs = -DUSE_VCS 66 60 67 # Support Unix 'slang', also available on OS/2 (main-sla.c)68 #SYS_sla = -DUSE_SLA -I/usr/include/slang -lslang69 70 # Support primitive termcap emulation of a vt100 (slow and unreliable) (main-cap.c)71 # -DUSE_HARDCODE in the unlikely event you are using a VT100 without curses72 #SYS_cap = -DUSE_CAP -ltermcap73 61 74 62 … … 100 88 101 89 # Extract CFLAGS and LIBS from the system definitions 102 MODULES = $(SYS_x11) $(SYS_gcu) $(SYS_xaw) $(SYS_gtk) $(SYS_ xpj) $(SYS_sla) $(SYS_cap) $(SYS_sdl)90 MODULES = $(SYS_x11) $(SYS_gcu) $(SYS_xaw) $(SYS_gtk) $(SYS_sdl) 103 91 CFLAGS += $(patsubst -l%,,$(MODULES)) $(INCLUDES) 104 92 LIBS += $(patsubst -D%,,$(patsubst -I%,, $(MODULES))) … … 110 98 # Enable linux-specific modules, if requested. 111 99 ifeq ($(uname),Linux) 112 MODULES += $(SYS_l sl) $(SYS_lfb) $(SYS_vcs)113 LINUXOBJS = main- lsl.o main-vcs.o main-lfb.o100 MODULES += $(SYS_lfb) $(SYS_vcs) 101 LINUXOBJS = main-vcs.o main-lfb.o 114 102 CFLAGS += -DHAVE_MKSTEMP 115 103 endif … … 117 105 118 106 # Object definitions 119 X11OBJS = maid-x11.o main-x11.o main-xaw.o main-gtk.o main-xpj.o120 MAINOBJS = main.o main- cap.o main-gcu.o main-sla.o $(X11OBJS) $(LINUXOBJS) # main-sdl.o not yet107 X11OBJS = maid-x11.o main-x11.o main-xaw.o main-gtk.o 108 MAINOBJS = main.o main-gcu.o main-sdl.o $(X11OBJS) $(LINUXOBJS) 121 109 OBJS = $(BASEOBJS) $(MAINOBJS) 122 110 trunk/src/load.c
r117 r121 810 810 811 811 #undef OLD_OPT 812 813 if (arg_fiddle)814 {815 FILE *ffff = fopen("options.txt", "wb");816 int i;817 818 for (i = 0; i < OPT_SCORE; i++)819 fprintf(ffff, "%3d %s: %s\n",820 i,821 (op_ptr->opt[i] ? "on " : "off"),822 (option_text[i] ? option_text[i] : "NULL"));823 }824 812 } 825 813
