Makefile and conf.h fixes
[btb/d2x.git] / 2d / Makefile.am
1 noinst_LIBRARIES = lib2d.a
2 INCLUDES = -I $(top_srcdir)/includes
3
4 if USE_ASM
5 lib2d_a_SOURCES = \
6 2dsline.c  box.c     disc.c    ibitblt.c  pcx.c    rect.c   scalec.c \
7 bitblt.c   canvas.c  font.c    line.c     pixel.c  rle.c \
8 bitmap.c   circle.c  gpixel.c  palette.c  poly.c
9 else
10 lib2d_a_SOURCES = \
11 2dsline.c  box.c     disc.c    ibitblt.c  pcx.c    rect.c   scalec.c \
12 bitblt.c   canvas.c  font.c    line.c     pixel.c  rle.c    tmerge.c \
13 bitmap.c   circle.c  gpixel.c  palette.c  poly.c
14 endif
15
16 SUFFIXES = .asm
17 %.o: %.asm
18         $(NASM) $(NASMFLAGS) $< -o $@
19
20 if USE_ASM
21 lib2d_a_LIBADD += linear.o tmerge_a.o
22 endif
23
24 EXTRA_DIST = \
25 linear.asm scalea.asm tmerge_a.asm \
26 bitmap.h clip.h linear.h scalea.h \
27 scale.c