#
# This file is part of the Maxwell Word Processor application.
# Copyright (C) 1996, 1997, 1998 Andrew Haisley, David Miller, Tom Newton
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
MODULE          := ui
COMPONENT       := dialogue
SOURCES         :=  mx_dialog_man.C mx_dialog.C \
                    mx_border_d.C mx_char_d.C mx_symbol_d.C \
                    mx_error_d.C mx_quit_d.C mx_inform_d.C mx_yes_no_d.C \
                    mx_about_d.C mx_open_d.C \
                    mx_finfo_d.C mx_save_d.C mx_new_d.C mx_print_d.C \
                    mx_search_d.C mx_replace_d.C mx_goto_d.C mx_zoom_d.C \
                    mx_table_d.C mx_toc_d.C mx_index_d.C \
                    mx_para_d.C mx_tab_d.C \
                    mx_style_d.C mx_date_d.C mx_page_d.C mx_column_d.C \
                    mx_ins_c_d.C mx_ins_r_d.C mx_cell_d.C mx_spell_d.C \
                    mx_env_d.C mx_opt_d.C mx_printcap.C mx_support_d.C \
                    mx_hsearch_d.C mx_prog_d.C mx_valid_d.C mx_locked_d.C \
                    mx_lv_d.C mx_tabf_d.C

PUBLIC_HEADERS  := mx_dialog.h mx_quit_d.h mx_inform_d.h mx_yes_no_d.h \
                    mx_about_d.h mx_open_d.h mx_dialog_man.h \
                    mx_finfo_d.h mx_save_d.h mx_new_d.h mx_print_d.h \
                    mx_search_d.h mx_replace_d.h mx_goto_d.h mx_zoom_d.h \
                    mx_symbol_d.h mx_table_d.h mx_toc_d.h mx_index_d.h \
                    mx_char_d.h mx_para_d.h mx_border_d.h mx_tab_d.h \
                    mx_style_d.h mx_date_d.h mx_page_d.h mx_column_d.h \
                    mx_ins_c_d.h mx_ins_r_d.h mx_cell_d.h mx_spell_d.h \
                    mx_env_d.h mx_opt_d.h mx_printcap.h mx_support_d.h \
                    mx_hsearch_d.h mx_prog_d.h mx_valid_d.h mx_locked_d.h \
                    mx_lv_d.h mx_error_d.h mx_tabf_d.h

PRIVATE_HEADERS :=
OTHER_FILES     := copyrght.txt

USER_CFLAGS     := 

EXEC_SOURCES    := mx_test_dlg.C
EXEC_MODULES    := ui document shared geometry collection lm db
ifeq ($(HOSTTYPE),sun4) 
USER_LNOPTS     := -lnsl -lsocket -lpng -lz -ltiff -ljpeg -lm -lXm -lXpm -lXt -lXext -lX11 
else
USER_LNOPTS     := -lpng -lz -ltiff -ljpeg -lm -lXm -lXpm -lXt -lSM -lICE -lXext -lX11 
endif


include $(MAXUSERROOT)/build/maxwell.component.mk
