Commit 387645cc authored by Arturo Espinosa's avatar Arturo Espinosa

Automake setup for new code-reorganization -miguel

parent 8cf4467b
......@@ -189,6 +189,9 @@ gnumeric.spec
Makefile
icons/Makefile
src/Makefile
src/dialogs/Makefile
src/widgets/Makefile
src/functions/Makefile
wizards/Makefile
wizards/graphics/Makefile
doc/Makefile
......
......@@ -37,6 +37,9 @@ INCLUDES = \
-DGNUMERIC_GLADEDIR=\""$(gladedir)"\" \
-DGNUMERIC_ICONDIR=\""$(iconsdir)"\" \
-I$(includedir) \
-I$(srcdir)/widgets \
-I$(srcdir)/functions \
-I$(srcdir)/dialogs \
$(EXTRA_GNOME_CFLAGS) \
$(GUILE_INCS)
......@@ -60,23 +63,6 @@ GNUMERIC_BASE_SOURCES = \
cursors.h \
dates.c \
dates.h \
dialog-analysis-tools.c \
dialog-cell-comment.c \
dialog-cell-format.c \
dialog-cell-sort.c \
dialog-function-select.c \
dialog-function-wizard.c \
dialog-goal-seek.c \
dialog-goto-cell.c \
dialog-insert-cells.c \
dialog-define-names.c \
dialog-delete-cells.c \
dialog-paste-special.c \
dialog-printer-setup.c \
dialog-summary.c \
dialog-solver.c \
dialog-zoom.c \
dialogs.h \
dump.c \
dump.h \
eval.h \
......@@ -91,18 +77,6 @@ GNUMERIC_BASE_SOURCES = \
formats.c \
func.c \
func.h \
fn-database.c \
fn-date.c \
fn-eng.c \
fn-financial.c \
fn-information.c \
fn-logical.c \
fn-lookup.c \
fn-math.c \
fn-misc.c \
fn-sheet.c \
fn-stat.c \
fn-string.c \
format.c \
format.h \
goal-seek.c \
......@@ -171,10 +145,6 @@ GNUMERIC_BASE_SOURCES = \
utils.h \
value.c \
value.h \
widget-editable-label.c \
widget-editable-label.h \
widget-font-selector.c \
widget-font-selector.h \
workbook.c \
workbook.h \
xml-io.c \
......@@ -262,21 +232,7 @@ dist-hook:
idldir = $(datadir)/idl
idl_DATA = Gnumeric.idl
gladedir = $(datadir)/gnumeric/glade
glade_DATA = \
font-sel.glade \
hf-config.glade \
import.glade \
print.glade \
summary.glade \
names.glade
glade_msgs = \
font-sel.glade.h \
hf-config.glade.h \
import.glade.h \
print.glade.h
MYHACKAROUNDAUTOMAKE=$(shell echo $(GNUMERIC_CORBA_GENERATED))
EXTRA_DIST = $(idl_DATA) $(glade_DATA) $(glade_msgs) $(MYHACKAROUNDAUTOMAKE)
EXTRA_DIST = $(idl_DATA) $(MYHACKAROUNDAUTOMAKE)
#ifndef GNUMERIC_DIALOGS_H
#define GNUMERIC_DIALOGS_H
#include "sheet.h"
#include "cell.h"
typedef struct {
gboolean summary_statistics;
gboolean confidence_level;
gboolean kth_largest;
gboolean kth_smallest;
int k_smallest, k_largest;
float_t c_level;
GtkWidget *entry[5];
} descriptive_stat_tool_t;
typedef enum {
DiscreteDistribution, UniformDistribution, NormalDistribution,
BernoulliDistribution, BinomialDistribution, PoissonDistribution,
PatternedDistribution
} random_distribution_t;
typedef struct {
int start_col, start_row;
int end_col, end_row;
} discrete_random_tool_t;
typedef struct {
float_t lower_limit;
float_t upper_limit;
} uniform_random_tool_t;
typedef struct {
float_t mean;
float_t stdev;
} normal_random_tool_t;
typedef struct {
float_t p;
} bernoulli_random_tool_t;
typedef struct {
float_t p;
int trials;
} binomial_random_tool_t;
typedef struct {
float_t lambda;
} poisson_random_tool_t;
typedef struct {
float_t from, to;
float_t step;
int repeat_number;
int repeat_sequence;
} patterned_random_tool_t;
typedef union {
discrete_random_tool_t discrete;
uniform_random_tool_t uniform;
normal_random_tool_t normal;
bernoulli_random_tool_t bernoulli;
binomial_random_tool_t binomial;
poisson_random_tool_t poisson;
patterned_random_tool_t patterned;
} random_tool_t;
typedef enum {
NewSheetOutput, NewWorkbookOutput, RangeOutput
} data_analysis_output_type_t;
typedef struct {
data_analysis_output_type_t type;
Sheet *sheet;
int start_col, cols;
int start_row, rows;
gboolean labels_flag;
} data_analysis_output_t;
void dialog_goto_cell (Workbook *wb);
void dialog_cell_format (Workbook *wb, Sheet *sheet);
int dialog_paste_special (Workbook *wb);
void dialog_insert_cells (Workbook *wb, Sheet *sheet);
void dialog_delete_cells (Workbook *wb, Sheet *sheet);
void dialog_zoom (Workbook *wb, Sheet *sheet);
char *dialog_query_load_file (Workbook *wb);
void dialog_about (Workbook *wb);
void dialog_define_names (Workbook *wb);
void dialog_cell_comment (Workbook *wb, Cell *cell);
void dialog_cell_sort (Workbook *wb, Sheet *sheet);
char *dialog_function_wizard (Workbook *wb, FunctionDefinition *fd);
void dialog_goal_seek (Workbook *wb, Sheet *sheet);
void dialog_solver (Workbook *wb, Sheet *sheet);
void dialog_printer_setup (Workbook *wb);
void dialog_summary_update (GtkWidget *w, SummaryInfo *sin);
FunctionDefinition *dialog_function_select (Workbook *wb);
void dialog_data_analysis (Workbook *wb, Sheet *sheet);
int correlation_tool (Workbook *wb, Sheet *current_sheet,
Range *input_range, int columns_flag,
data_analysis_output_t *dao);
int covariance_tool (Workbook *wb, Sheet *current_sheet,
Range *input_range, int columns_flag,
data_analysis_output_t *dao);
int descriptive_stat_tool (Workbook *wb, Sheet *current_sheet,
Range *input_range, int columns_flag,
descriptive_stat_tool_t *ds,
data_analysis_output_t *dao);
int sampling_tool (Workbook *wb, Sheet *sheet, Range *input_range,
gboolean periodic_flag, int size,
data_analysis_output_t *dao);
int ftest_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t alpha,
data_analysis_output_t *dao);
int regression_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t alpha,
data_analysis_output_t *dao);
int ttest_paired_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t mean_diff, float_t alpha,
data_analysis_output_t *dao);
int ttest_eq_var_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t mean_diff, float_t alpha,
data_analysis_output_t *dao);
int ttest_neq_var_tool (Workbook *wb, Sheet *sheet, Range *input_range1,
Range *input_range2, float_t mean_diff, float_t alpha,
data_analysis_output_t *dao);
int ztest_tool (Workbook *wb, Sheet *sheet, Range *range_input1,
Range *range_input2, float_t mean_diff,
float_t var1, float_t var2, float_t alpha,
data_analysis_output_t *dao);
int random_tool (Workbook *wb, Sheet *sheet, int vars, int count,
random_distribution_t distribution,
random_tool_t *param, data_analysis_output_t *dao);
int average_tool (Workbook *wb, Sheet *sheet, Range *range, int interval,
int std_error_flag, data_analysis_output_t *dao);
int ranking_tool (Workbook *wb, Sheet *sheet, Range *input_range,
int columns_flag, data_analysis_output_t *dao);
int anova_single_factor_tool (Workbook *wb, Sheet *sheet, Range *range,
int columns_flag, float_t alpha,
data_analysis_output_t *dao);
int anova_two_factor_without_r_tool (Workbook *wb, Sheet *sheet, Range *range,
float_t alpha,
data_analysis_output_t *dao);
GList *add_strings_to_glist (const char *strs[]);
#endif /* GNUMERIC_DIALOGS_H */
INCLUDES = \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DGNUMERIC_VERSION=\""$(VERSION)"\" \
-DGNUMERIC_GLADEDIR=\""$(gladedir)"\" \
-DGNUMERIC_ICONDIR=\""$(iconsdir)"\" \
-I$(includedir) \
$(EXTRA_GNOME_CFLAGS) \
$(GUILE_INCS)
noinst_LIBRARIES = libdialogs.a
libdialogs_a_SOURCES = \
dialog-analysis-tools.c \
dialog-cell-comment.c \
dialog-cell-format.c \
dialog-cell-sort.c \
dialog-function-select.c \
dialog-function-wizard.c \
dialog-goal-seek.c \
dialog-goto-cell.c \
dialog-insert-cells.c \
dialog-define-names.c \
dialog-delete-cells.c \
dialog-paste-special.c \
dialog-printer-setup.c \
dialog-summary.c \
dialog-solver.c \
dialog-zoom.c \
dialogs.h
gladedir = $(datadir)/gnumeric/glade
glade_DATA = \
font-sel.glade \
hf-config.glade \
import.glade \
print.glade \
summary.glade \
names.glade
glade_msgs = \
font-sel.glade.h \
hf-config.glade.h \
import.glade.h \
print.glade.h
EXTRA_DIST = $(glade_DATA) $(glade_msgs)
INCLUDES = \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DGNUMERIC_VERSION=\""$(VERSION)"\" \
-DGNUMERIC_GLADEDIR=\""$(gladedir)"\" \
-DGNUMERIC_ICONDIR=\""$(iconsdir)"\" \
-I$(includedir) \
$(EXTRA_GNOME_CFLAGS) \
$(GUILE_INCS)
noinst_LIBRARIES = libfunctions.a
libfunctions_a_SOURCES = \
fn-database.c \
fn-date.c \
fn-eng.c \
fn-financial.c \
fn-information.c \
fn-logical.c \
fn-lookup.c \
fn-math.c \
fn-misc.c \
fn-sheet.c \
fn-stat.c \
fn-string.c
INCLUDES = \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DGNUMERIC_VERSION=\""$(VERSION)"\" \
-DGNUMERIC_GLADEDIR=\""$(gladedir)"\" \
-DGNUMERIC_ICONDIR=\""$(iconsdir)"\" \
-I$(includedir) \
$(EXTRA_GNOME_CFLAGS) \
$(GUILE_INCS)
noinst_LIBRARIES = libwidgets.a
libwidgets_a_SOURCES = \
widget-editable-label.c \
widget-editable-label.h \
widget-font-selector.c \
widget-font-selector.h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment