Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1.  
  2. LIBRARY = pixman-1
  3.  
  4. CC = gcc
  5.  
  6. CFLAGS = -c -O2 -mmmx -Winline
  7.  
  8. DEFINES = -DHAVE_CONFIG_H -DPACKAGE -DPIXMAN_NO_TLS -DUSE_MMX
  9.  
  10. INCLUDES = -I../pixman -I../newlib/include -I../newlib/include/sys
  11.  
  12. SOURCES =                               \
  13.         pixman-image.c                  \
  14.         pixman-access.c                 \
  15.         pixman-access-accessors.c       \
  16.         pixman-region16.c               \
  17.         pixman-region32.c               \
  18.         pixman-combine32.c              \
  19.         pixman-combine64.c              \
  20.         pixman-utils.c                  \
  21.         pixman-edge.c                   \
  22.         pixman-edge-accessors.c         \
  23.         pixman-trap.c                   \
  24.         pixman-timer.c                  \
  25.         pixman-matrix.c                 \
  26.         pixman-gradient-walker.c        \
  27.         pixman-linear-gradient.c        \
  28.         pixman-radial-gradient.c        \
  29.         pixman-bits-image.c             \
  30.         pixman.c                        \
  31.         pixman-cpu.c                    \
  32.         pixman-fast-path.c              \
  33.         pixman-implementation.c         \
  34.         pixman-solid-fill.c             \
  35.         pixman-general.c                \
  36.         pixman-mmx.c                    \
  37.         $(NULL)
  38.  
  39. OBJECTS     = $(patsubst %.c, %.o, $(SOURCES))
  40.  
  41. # targets
  42.  
  43. all:$(LIBRARY).a
  44.  
  45.  
  46. $(LIBRARY).a: $(OBJECTS) Makefile
  47.         ar cvrs $(LIBRARY).a $(OBJECTS)
  48.  
  49. %.o: %.c $(SOURCES) Makefile
  50.         $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<
  51.  
  52.  
  53.  
  54.