Pārlūkot izejas kodu

* Moved test/optipal.c to tools/optipal.c. The tools subdirectory will

contain development tools that are only useful to libcaca developers.
tags/v0.99.beta14
Sam Hocevar sam pirms 19 gadiem
vecāks
revīzija
6fb44a69f9
6 mainītis faili ar 14 papildinājumiem un 8 dzēšanām
  1. +1
    -1
      Makefile.am
  2. +1
    -1
      caca/driver_slang.c
  3. +1
    -0
      configure.ac
  4. +1
    -4
      test/Makefile.am
  5. +8
    -0
      tools/Makefile.am
  6. +2
    -2
      tools/optipal.c

+ 1
- 1
Makefile.am Parādīt failu

@@ -1,6 +1,6 @@
# $Id$ # $Id$


SUBDIRS = kernel cucul caca src test doc SUBDIRS = kernel cucul caca src test tools doc
DIST_SUBDIRS = $(SUBDIRS) autotools debian msvc DIST_SUBDIRS = $(SUBDIRS) autotools debian msvc


EXTRA_DIST = NOTES COPYING.GPL COPYING.LGPL bootstrap build-dos build-kernel build-win32 caca-config.in libcaca.spec EXTRA_DIST = NOTES COPYING.GPL COPYING.LGPL bootstrap build-dos build-kernel build-win32 caca-config.in libcaca.spec


+ 1
- 1
caca/driver_slang.c Parādīt failu

@@ -43,7 +43,7 @@
* Global variables * Global variables
*/ */


/* Tables generated by test/optipal.c */ /* Tables generated by tools/optipal.c */
static int const slang_palette[2*16*16] = static int const slang_palette[2*16*16] =
{ {
1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8, 0,


+ 1
- 0
configure.ac Parādīt failu

@@ -292,6 +292,7 @@ AC_CONFIG_FILES([
caca/Makefile caca/Makefile
src/Makefile src/Makefile
test/Makefile test/Makefile
tools/Makefile
doc/Makefile doc/Makefile
autotools/Makefile autotools/Makefile
debian/Makefile debian/Makefile


+ 1
- 4
test/Makefile.am Parādīt failu

@@ -2,7 +2,7 @@


AM_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca -DDATADIR=\"$(pkgdatadir)\" AM_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca -DDATADIR=\"$(pkgdatadir)\"


noinst_PROGRAMS = colors demo dithering event export gamma hsv optipal spritedit transform unicode noinst_PROGRAMS = colors demo dithering event export gamma hsv spritedit transform unicode


colors_SOURCES = colors.c colors_SOURCES = colors.c
colors_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@ colors_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
@@ -25,9 +25,6 @@ gamma_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@ @MATH_LIBS@
hsv_SOURCES = hsv.c hsv_SOURCES = hsv.c
hsv_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@ hsv_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@


optipal_SOURCES = optipal.c
optipal_LDADD = ../cucul/libcucul.la @CUCUL_LIBS@

spritedit_SOURCES = spritedit.c spritedit_SOURCES = spritedit.c
spritedit_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@ spritedit_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@




+ 8
- 0
tools/Makefile.am Parādīt failu

@@ -0,0 +1,8 @@
# $Id$

AM_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca -DDATADIR=\"$(pkgdatadir)\"

noinst_PROGRAMS = optipal

optipal_SOURCES = optipal.c


test/optipal.c → tools/optipal.c Parādīt failu

@@ -1,5 +1,5 @@
/* /*
* optipal S-Lang optimised palette generator for libcucul * optipal S-Lang optimised palette generator for libcaca
* Copyright (c) 2003 Sam Hocevar <sam@zoy.org> * Copyright (c) 2003 Sam Hocevar <sam@zoy.org>
* All Rights Reserved * All Rights Reserved
* *
@@ -15,7 +15,7 @@


#include <stdio.h> #include <stdio.h>


#include "cucul.h" #include "cucul.h" /* Only necessary for CUCUL_* macros */


static void base_colors(void); static void base_colors(void);
static void emulated_colors(void); static void emulated_colors(void);

||||||
x
 
000:0
Notiek ielāde…
Atcelt
Saglabāt