Browse Source

* Moved stuff around to differenciate between libcucul and libcaca.

tags/v0.99.beta14
Sam Hocevar sam 19 years ago
parent
commit
4f59010b4c
25 changed files with 69 additions and 63 deletions
  1. +1
    -1
      Makefile.am
  2. +18
    -0
      caca/Makefile.am
  3. +0
    -0
      caca/caca.c
  4. +0
    -0
      caca/caca.h
  5. +0
    -0
      caca/caca_internals.h
  6. +0
    -0
      caca/event.c
  7. +0
    -0
      caca/graphics.c
  8. +0
    -0
      caca/time.c
  9. +3
    -2
      configure.ac
  10. +23
    -0
      cucul/Makefile.am
  11. +0
    -2
      cucul/bitmap.c
  12. +0
    -0
      cucul/box.c
  13. +0
    -0
      cucul/char.c
  14. +0
    -0
      cucul/conic.c
  15. +0
    -0
      cucul/cucul.c
  16. +0
    -0
      cucul/cucul.h
  17. +0
    -0
      cucul/cucul_internals.h
  18. +0
    -0
      cucul/export.c
  19. +0
    -0
      cucul/line.c
  20. +0
    -0
      cucul/math.c
  21. +0
    -0
      cucul/sprite.c
  22. +0
    -0
      cucul/triangle.c
  23. +10
    -10
      examples/Makefile.am
  24. +0
    -34
      src/Makefile.am
  25. +14
    -14
      test/Makefile.am

+ 1
- 1
Makefile.am View File

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


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


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


+ 18
- 0
caca/Makefile.am View File

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

include_HEADERS = caca.h

lib_LTLIBRARIES = libcaca.la

libcaca_la_SOURCES = \
caca.c \
caca.h \
caca_internals.h \
graphics.c \
event.c \
time.c \
$(NULL)
libcaca_la_CPPFLAGS = -I$(top_srcdir)/cucul
libcaca_la_LDFLAGS = -no-undefined
libcaca_la_LIBADD = ../cucul/libcucul.la @CACA_LIBS@


src/caca.c → caca/caca.c View File


src/caca.h → caca/caca.h View File


src/caca_internals.h → caca/caca_internals.h View File


src/event.c → caca/event.c View File


src/graphics.c → caca/graphics.c View File


src/time.c → caca/time.c View File


+ 3
- 2
configure.ac View File

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


AC_INIT(src/caca.c)
AC_INIT(caca/caca.c)


AC_PREREQ(2.50) AC_PREREQ(2.50)
AC_CONFIG_AUX_DIR(autotools) AC_CONFIG_AUX_DIR(autotools)
@@ -237,7 +237,8 @@ AM_CONDITIONAL(USE_LATEX, test "${LATEX}" != "no")


AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile
src/Makefile
cucul/Makefile
caca/Makefile
examples/Makefile examples/Makefile
test/Makefile test/Makefile
doc/Makefile doc/Makefile


+ 23
- 0
cucul/Makefile.am View File

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

include_HEADERS = cucul.h

lib_LTLIBRARIES = libcucul.la

libcucul_la_SOURCES = \
cucul.c \
cucul.h \
cucul_internals.h \
char.c \
math.c \
line.c \
box.c \
conic.c \
triangle.c \
sprite.c \
bitmap.c \
export.c \
$(NULL)
libcucul_la_LDFLAGS = -no-undefined
libcucul_la_LIBADD = @CUCUL_LIBS@


src/bitmap.c → cucul/bitmap.c View File

@@ -38,8 +38,6 @@ typedef unsigned int uint32_t;


#include "cucul.h" #include "cucul.h"
#include "cucul_internals.h" #include "cucul_internals.h"
#include "caca.h"
#include "caca_internals.h"


/* /*
* Local variables * Local variables

src/box.c → cucul/box.c View File


src/char.c → cucul/char.c View File


src/conic.c → cucul/conic.c View File


src/cucul.c → cucul/cucul.c View File


src/cucul.h → cucul/cucul.h View File


src/cucul_internals.h → cucul/cucul_internals.h View File


src/export.c → cucul/export.c View File


src/line.c → cucul/line.c View File


src/math.c → cucul/math.c View File


src/sprite.c → cucul/sprite.c View File


src/triangle.c → cucul/triangle.c View File


+ 10
- 10
examples/Makefile.am View File

@@ -7,24 +7,24 @@ EXTRA_DIST = caca.txt
bin_PROGRAMS = cacafire cacaball cacaplas cacaview cacamoir bin_PROGRAMS = cacafire cacaball cacaplas cacaview cacamoir


cacafire_SOURCES = aafire.c cacafire_SOURCES = aafire.c
cacafire_LDADD = ../src/libcaca.la @CACA_LIBS@
cacafire_CPPFLAGS = -I$(top_srcdir)/src -DLIBCACA=1
cacafire_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
cacafire_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca -DLIBCACA=1


cacaball_SOURCES = cacaball.c cacaball_SOURCES = cacaball.c
cacaball_LDADD = ../src/libcaca.la @CACA_LIBS@ @MATH_LIBS@
cacaball_CPPFLAGS = -I$(top_srcdir)/src
cacaball_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@ @MATH_LIBS@
cacaball_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca


cacaplas_SOURCES = cacaplas.c cacaplas_SOURCES = cacaplas.c
cacaplas_LDADD = ../src/libcaca.la @CACA_LIBS@ @MATH_LIBS@
cacaplas_CPPFLAGS = -I$(top_srcdir)/src
cacaplas_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@ @MATH_LIBS@
cacaplas_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca


cacamoir_SOURCES = cacamoir.c cacamoir_SOURCES = cacamoir.c
cacamoir_LDADD = ../src/libcaca.la @CACA_LIBS@ @MATH_LIBS@
cacamoir_CPPFLAGS = -I$(top_srcdir)/src
cacamoir_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@ @MATH_LIBS@
cacamoir_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca


cacaview_SOURCES = cacaview.c cacaview_SOURCES = cacaview.c
cacaview_LDADD = ../src/libcaca.la @CACA_LIBS@
cacaview_CPPFLAGS = -I$(top_srcdir)/src -DX_DISPLAY_MISSING=1
cacaview_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
cacaview_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca -DX_DISPLAY_MISSING=1
if USE_IMLIB2 if USE_IMLIB2
cacaview_CFLAGS = `imlib2-config --cflags` cacaview_CFLAGS = `imlib2-config --cflags`
cacaview_LDFLAGS = `imlib2-config --libs` cacaview_LDFLAGS = `imlib2-config --libs`


+ 0
- 34
src/Makefile.am View File

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

include_HEADERS = cucul.h caca.h

lib_LTLIBRARIES = libcucul.la libcaca.la

libcucul_la_SOURCES = \
cucul.c \
cucul.h \
cucul_internals.h \
char.c \
math.c \
line.c \
box.c \
conic.c \
triangle.c \
sprite.c \
bitmap.c \
export.c \
$(NULL)
libcucul_la_LDFLAGS = -no-undefined
libcucul_la_LIBADD = @CUCUL_LIBS@

libcaca_la_SOURCES = \
caca.c \
caca.h \
caca_internals.h \
graphics.c \
event.c \
time.c \
$(NULL)
libcaca_la_LDFLAGS = -no-undefined
libcaca_la_LIBADD = libcucul.la @CACA_LIBS@


+ 14
- 14
test/Makefile.am View File

@@ -3,30 +3,30 @@
noinst_PROGRAMS = colors demo dithering event hsv optipal spritedit noinst_PROGRAMS = colors demo dithering event hsv optipal spritedit


colors_SOURCES = colors.c colors_SOURCES = colors.c
colors_LDADD = ../src/libcaca.la @CACA_LIBS@
colors_CPPFLAGS = -I$(top_srcdir)/src
colors_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
colors_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca


demo_SOURCES = demo.c demo_SOURCES = demo.c
demo_LDADD = ../src/libcaca.la @CACA_LIBS@ @MATH_LIBS@
demo_CPPFLAGS = -I$(top_srcdir)/src -DDATADIR=\"$(pkgdatadir)\"
demo_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@ @MATH_LIBS@
demo_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca -DDATADIR=\"$(pkgdatadir)\"


dithering_SOURCES = dithering.c dithering_SOURCES = dithering.c
dithering_LDADD = ../src/libcaca.la @CACA_LIBS@
dithering_CPPFLAGS = -I$(top_srcdir)/src
dithering_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
dithering_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca


event_SOURCES = event.c event_SOURCES = event.c
event_LDADD = ../src/libcaca.la @CACA_LIBS@
event_CPPFLAGS = -I$(top_srcdir)/src
event_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
event_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca


hsv_SOURCES = hsv.c hsv_SOURCES = hsv.c
hsv_LDADD = ../src/libcaca.la @CACA_LIBS@
hsv_CPPFLAGS = -I$(top_srcdir)/src
hsv_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
hsv_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca


optipal_SOURCES = optipal.c optipal_SOURCES = optipal.c
optipal_LDADD = ../src/libcucul.la @CUCUL_LIBS@
optipal_CPPFLAGS = -I$(top_srcdir)/src
optipal_LDADD = ../cucul/libcucul.la @CUCUL_LIBS@
optipal_CPPFLAGS = -I$(top_srcdir)/cucul


spritedit_SOURCES = spritedit.c spritedit_SOURCES = spritedit.c
spritedit_LDADD = ../src/libcaca.la @CACA_LIBS@
spritedit_CPPFLAGS = -I$(top_srcdir)/src
spritedit_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
spritedit_CPPFLAGS = -I$(top_srcdir)/cucul -I$(top_srcdir)/caca



Loading…
Cancel
Save