version 1.1 | | version 1.2 |
---|
| | |
mag.tex arm.tex arche.tex bow.tex version.tex weapmag.tex | | mag.tex arm.tex arche.tex bow.tex version.tex weapmag.tex |
| | |
CROSSBIN = ../..//server/crossfire | | CROSSBIN = ../..//server/crossfire |
| | CROSSRC = ../.. |
| | INCDIR = ../../include |
| | |
| | prefix = @prefix@ |
| | exec_prefix = @exec_prefix@ |
| | datadir = @datadir@ |
| | localdir = @localstatedir@ |
| | AWK = @AWK@ |
| | |
spoiler:: ../spoiler.ps | | spoiler:: ../spoiler.ps |
| | |
| | |
touch .bmaps | | touch .bmaps |
| | |
items: .bmaps in_items makeps items.ps | | items: .bmaps in_items makeps items.ps |
$(AWK) -v libdir=$(CROSSRC)/lib -v archdir=$(CROSSRC)/lib/ -v size=0.4 -v input=in_items -f makeps $(C_LIBDIR)/archetypes > items | | $(AWK) -v libdir=$(CROSSRC)/lib -v archdir=$(CROSSRC)/lib/ -v size=0.4 -v input=in_items -f makeps $(datadir)/archetypes > items |
| | |
in_items: items-extract $(C_LIBDIR)/archetypes $(CROSSRC)/common/living.c | | in_items: items-extract $(datadir)/archetypes $(CROSSRC)/common/living.c |
$(AWK) -v living_c=$(CROSSRC)/common/living.c -f items-extract $(C_LIBDIR)/archetypes > in_items | | $(AWK) -v living_c=$(CROSSRC)/common/living.c -f items-extract $(datadir)/archetypes > in_items |
| | |
stats.tex: .bmaps in_stats makeps characters.ps | | stats.tex: .bmaps in_stats makeps characters.ps |
$(AWK) -v libdir=$(CROSSRC)/lib -v archdir=$(CROSSRC)/lib/ -v size=0.4 -v input=in_stats -f makeps $(C_LIBDIR)/archetypes > stats.tex | | $(AWK) -v libdir=$(CROSSRC)/lib -v archdir=$(CROSSRC)/lib/ -v size=0.4 -v input=in_stats -f makeps $(datadir)/archetypes > stats.tex |
| | |
in_stats: stats-extract $(C_LIBDIR)/archetypes $(CROSSRC)/common/living.c | | in_stats: stats-extract $(datadir)/archetypes $(CROSSRC)/common/living.c |
$(AWK) -v living_c=$(CROSSRC)/common/living.c -f stats-extract $(C_LIBDIR)/archetypes > in_stats | | $(AWK) -v living_c=$(CROSSRC)/common/living.c -f stats-extract $(datadir)/archetypes > in_stats |
| | |
monput.tex: .bmaps in_monput makeps monsters.ps | | monput.tex: .bmaps in_monput makeps monsters.ps |
$(AWK) -v libdir=$(CROSSRC)/lib -v archdir=$(CROSSRC)/lib/ -v size=0.4 -v input=in_monput -f makeps $(C_LIBDIR)/archetypes > monput.tex | | $(AWK) -v libdir=$(CROSSRC)/lib -v archdir=$(CROSSRC)/lib/ -v size=0.4 -v input=in_monput -f makeps $(datadir)/archetypes > monput.tex |
| | |
in_monput: monster-extract $(CROSSBIN) $(C_LIBDIR)/treasures $(C_LIBDIR)/archetypes | | in_monput: monster-extract $(CROSSBIN) $(datadir)/treasures $(datadir)/archetypes |
$(CROSSBIN) -m2 | sort -f | $(AWK) -F'|' -f monster-extract > in_monput | | $(CROSSBIN) -m2 | sort -f | $(AWK) -F'|' -f monster-extract > in_monput |
| | |
spells.tex: .bmaps in_spells makeps spells.ps | | spells.tex: .bmaps in_spells makeps spells.ps |
$(AWK) -v libdir=$(CROSSRC)/lib -v archdir=$(CROSSRC)/lib/ -v size=0.4 -v input=in_spells -f makeps $(C_LIBDIR)/archetypes > spells.tex | | $(AWK) -v libdir=$(CROSSRC)/lib -v archdir=$(CROSSRC)/lib/ -v size=0.4 -v input=in_spells -f makeps $(datadir)/archetypes > spells.tex |
| | |
in_spells: spells-extract sorter $(INCDIR)/spellist.h $(CROSSBIN) $(C_LIBDIR)/archetypes | | in_spells: spells-extract sorter $(INCDIR)/spellist.h $(CROSSBIN) $(datadir)/archetypes |
tr -d \" < $(INCDIR)/spellist.h | $(AWK) -F, -v crosscmd="$(CROSSBIN) -m4" -f spells-extract | sort > in_spells | | tr -d \" < $(INCDIR)/spellist.h | $(AWK) -F, -v crosscmd="$(CROSSBIN) -m4" -f spells-extract | sort > in_spells |
| | |
version.tex: $(CROSSBIN) | | version.tex: $(CROSSBIN) |