From f27120cc50f120a39de25df2a2de01aeb1a81a22 Mon Sep 17 00:00:00 2001 From: philippe lhardy Date: Sat, 1 Nov 2025 15:34:14 +0100 Subject: [PATCH] discard c code was an empty stub Signed-off-by: philippe lhardy --- Makefile.am | 2 -- c/Makefile.am | 12 ------------ c/allaby_main.c | 17 ----------------- c/allaby_reader.c | 2 -- c/allaby_reader.h | 9 --------- configure.ac | 37 ------------------------------------- 6 files changed, 79 deletions(-) delete mode 100644 Makefile.am delete mode 100644 c/Makefile.am delete mode 100644 c/allaby_main.c delete mode 100644 c/allaby_reader.c delete mode 100644 c/allaby_reader.h delete mode 100644 configure.ac diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index e413b6a..0000000 --- a/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -SUBDIRS = c -dist_doc_DATA = README diff --git a/c/Makefile.am b/c/Makefile.am deleted file mode 100644 index fe8ba1c..0000000 --- a/c/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -# Makefile.am is REALLY where changes should be done -# Makefile.in and Makefile are generated from this. - -bin_PROGRAMS = laby - -laby_SOURCES = allaby_reader.c allaby_main.c - -laby_CPPFLAGS = $(ARTLOG_CPPFLAGS) $(ALEXPANDER_CPPFLAGS) - -# in LDADD and not in LDFLAGS to be linked AFTER -laby_LDADD = $(ARTLOG_LDFLAGS) $(ALEXPANDER_LDFLAGS) - diff --git a/c/allaby_main.c b/c/allaby_main.c deleted file mode 100644 index 6284847..0000000 --- a/c/allaby_main.c +++ /dev/null @@ -1,17 +0,0 @@ -#include "al_options.h" - -// NOT YET IMPLEMENTED -int main(int argc, char ** argv) -{ - int exitcode = 1; - struct al_options * options = al_options_create(argc,argv); - al_options_set_debug(options,0); - struct alhash_datablock * debugdata = al_option_get(options,"debug"); - if ( debugdata != NULL ) - { - exitcode = 0; - } - al_options_release(options); - - return exitcode; -} diff --git a/c/allaby_reader.c b/c/allaby_reader.c deleted file mode 100644 index feefc82..0000000 --- a/c/allaby_reader.c +++ /dev/null @@ -1,2 +0,0 @@ -#include "allaby_reader.h" - diff --git a/c/allaby_reader.h b/c/allaby_reader.h deleted file mode 100644 index 92f85e0..0000000 --- a/c/allaby_reader.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef __ALLABY_READER_H__ -#define __ALLABY_READER_H__ - -/** goal : read a labyrinth/maze created -by java laby project -**/ - - -#endif // __ALLABY_READER_H__ diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 01758a0..0000000 --- a/configure.ac +++ /dev/null @@ -1,37 +0,0 @@ -# written manually, this is root entry files for automake together with Makefile.am -# inspired from -# http://www.gnu.org/software/automake/manual/html_node/Creating-amhello.html#Creating-amhello - -AC_INIT([allaby], [0.1], [pl@artisanlogiciel.net]) - -# set ARTLOG_TOOLBOX where artlog_toolbox is to use it. -[ARTLOG_TOOLBOX=`pwd`/`./locate_artlog_toolbox.sh`] - -# non need to propagate it in .h ... -# AC_DEFINE_UNQUOTED([ARTLOG_TOOLBOX],["$ARTLOG_TOOLBOX"],[where artog toolbox is]) - -ARTLOG_CPPFLAGS="-I${ARTLOG_TOOLBOX}/build/include" -ARTLOG_LDFLAGS="-Wl,-Bstatic -L${ARTLOG_TOOLBOX}/build/lib -lalsave -laltest -laljson -lalstack -lalhash -laldev -Wl,-Bdynamic" - -AC_SUBST(ARTLOG_CPPFLAGS) -AC_SUBST(ARTLOG_LDFLAGS) - -[if [ "$ALEXPANDER_DIR" = "" ]] -[then] -[ALEXPANDER_DIR=`pwd`/../sharedrawweb] -[fi] -ALEXPANDER_CPPFLAGS="-I${ALEXPANDER_DIR}/build/include -D CHARSPERRECORD=80" -ALEXPANDER_LDFLAGS="-Wl,-Bstatic -L${ALEXPANDER_DIR}/build/lib -lalima -lalcommon -Wl,-Bdynamic" - -AC_SUBST(ALEXPANDER_CPPFLAGS) -AC_SUBST(ALEXPANDER_LDFLAGS) - -AM_INIT_AUTOMAKE([-Wall -Werror foreign]) -AC_PROG_CC -AC_CONFIG_HEADERS([config.h]) -AC_DEFINE([MAX_FLAT_VIEWS],[20],[maximum number of view]) -AC_CONFIG_FILES([ - Makefile - c/Makefile -]) -AC_OUTPUT