build dumpmine.c for editor
[btb/d2x.git] / texmap / Makefile.am
1 noinst_LIBRARIES = libtexmap.a
2 INCLUDES = -I $(top_srcdir)/include -DFL1_WITH_FLAT
3
4 if !USE_OPENGL
5 NOGL_SRCS = tmapflat.c
6 if USE_ASM
7 ASM_SRCS = tmappent.S tmapppro.S # more hacked in with LIBADD below
8 endif
9 endif
10
11 libtexmap_a_SOURCES = ${NOGL_SRCS} ${ASM_SRCS} \
12 ntmap.c scanline.c
13
14 SUFFIXES = .asm
15 %.o: %.asm
16         $(NASM) $(NASMFLAGS) $< -o $@
17
18 if !USE_OPENGL
19 if USE_ASM
20 libtexmap_a_LIBADD = tmap_flt.o tmap_lin.o tmap_ll.o tmap_per.o tmapfade.o
21 endif
22 endif
23
24 EXTRA_libtexmap_a_SOURCES = tmapflat.c tmappent.S tmapppro.S
25
26 EXTRA_DIST = \
27 tmap_flt.asm tmap_inc.asm tmap_lin.asm tmap_ll.asm tmap_per.asm tmapfade.asm \
28 tmappent.S tmapppro.S \
29 scanline.h texmapl.h \
30 scanline.c