first conditionalized docs (TRUNK ONLY)

plus various related missing bits and tids
This commit is contained in:
keni
2008-06-26 15:08:54 +00:00
parent ff14fa7120
commit bb43b56eac
8 changed files with 35 additions and 9 deletions

View File

@@ -174,7 +174,7 @@ YACCDIST =
# dependencies for makedefs
#
makedefs: $(MAKEOBJS) mdgrep.h
makedefs: $(MAKEOBJS) #mdgrep.h
$(CC) $(LFLAGS) -o makedefs $(MAKEOBJS)
makedefs.o: makedefs.c $(CONFIG_H) ../include/permonst.h \
@@ -183,9 +183,9 @@ makedefs.o: makedefs.c $(CONFIG_H) ../include/permonst.h \
../include/monst.h ../include/you.h ../include/flag.h \
../include/dlb.h ../include/patchlevel.h ../include/qtext.h
# Don't require perl to build, but document how to get a new mdgrep.h.
#mdgrep.h: mdgrep.pl
# perl mdgrep.pl
# Don't require perl to build; that is why mdgrep.h is commented out above.
mdgrep.h: mdgrep.pl
perl mdgrep.pl
../include/onames.h: makedefs
./makedefs -o

View File

@@ -13,7 +13,7 @@ SHELLDIR = $(PREFIX)/games
#PREFIX=/usr
PREFIX=$(wildcard ~)/nh/install
CFLAGS=-O -I../include -DNOTPARMDECL $(CFLAGS1)
CFLAGS=-O -I../include -DNOTPARMDECL $(CFLAGS1) -DDLB
CFLAGS1=-DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\"
LINK=$(CC)

View File

@@ -54,7 +54,7 @@ CC=gcc -Wall -Wextra -Wno-missing-field-initializers -Wimplicit -Wreturn-type -W
# XXX -g vs -O should go here, -I../include goes in the makefile
CFLAGS=-g -I../include
CFLAGS+=-DNOCLIPPING -DNOMAIL -DNOTPARMDECL -DHACKDIR=\"$(HACKDIR)\"
CFLAGS+= -DDEFAULT_WINDOW_SYS=\"$(WANT_DEFAULT)\"
CFLAGS+= -DDEFAULT_WINDOW_SYS=\"$(WANT_DEFAULT)\" -DDLB
ifdef WANT_WIN_TTY
WINSRC = $(WINTTYSRC)

View File

@@ -59,7 +59,7 @@ CC=gcc -Wall -Wextra -Wno-missing-field-initializers -Wimplicit -Wreturn-type -W
# XXX -g vs -O should go here, -I../include goes in the makefile
CFLAGS=-g -I../include
CFLAGS+=-DNOCLIPPING -DNOMAIL -DNOTPARMDECL -DHACKDIR=\"$(HACKDIR)\"
CFLAGS+= -DDEFAULT_WINDOW_SYS=\"$(WANT_DEFAULT)\"
CFLAGS+= -DDEFAULT_WINDOW_SYS=\"$(WANT_DEFAULT)\" -DDLB
ifdef WANT_WIN_TTY
WINSRC = $(WINTTYSRC)