summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/Makefile64
-rw-r--r--src/gui/curses/Makefile38
-rw-r--r--src/gui/gtk/Makefile40
-rw-r--r--src/gui/qt/Makefile37
4 files changed, 0 insertions, 179 deletions
diff --git a/src/gui/Makefile b/src/gui/Makefile
deleted file mode 100644
index ea1b051ae..000000000
--- a/src/gui/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
-#
-# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-CC=gcc
-
-OPTIONS=-Wall -W -pipe -O2
-
-OUTPUT=../gui.a
-OBJS=gui-common.o
-
-# WeeChat with Curses interface
-ifeq ($(GUI), curses)
-DEFINES=WEE_CURSES
-curses: curses/gui.a $(OBJS)
-curses/gui.a:
- cd curses && make
-endif
-
-# WeeChat with Gtk+ interface
-ifeq ($(GUI), gtk)
-INCLUDES=`pkg-config --cflags gtk+-2.0`
-DEFINES=WEE_GTK
-gtk: gtk/gui.a $(OBJS)
-gtk/gui.a:
- cd gtk && make
-endif
-
-# WeeChat with Qt interface
-ifeq ($(GUI), qt)
-DEFINES=WEE_QT
-qt: qt/gui.a $(OBJS)
-qt/gui.a:
- cd qt && make
-endif
-
-
-all:
- make curses GUI=curses
-
-$(OBJS):
- $(CC) $(OPTIONS) -o $@ -c $< $(INCLUDES) -D$(DEFINES)
-
-clean:
- rm -f *.o *.a *~ core
- cd curses && make clean
- cd gtk && make clean
- cd qt && make clean
-
-gui-common.o: gui-common.c ../weechat.h gui.h ../completion.h \
- ../history.h ../irc/irc.h ../gui/gui.h
diff --git a/src/gui/curses/Makefile b/src/gui/curses/Makefile
deleted file mode 100644
index 80f800dd9..000000000
--- a/src/gui/curses/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
-#
-# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-CC=gcc
-
-OPTIONS=-Wall -W -pipe -O2
-
-OUTPUT=../gui.a
-OBJS=gui-display.o gui-input.o
-DEFINES=WEE_CURSES
-
-all: $(OBJS)
- ar r $(OUTPUT) $(OBJS)
-
-$(OBJS):
- $(CC) $(OPTIONS) -o $@ -c $< $(INCLUDES) -D$(DEFINES)
-
-clean:
- rm -f *.o *.a *~ core
-
-gui-display.o: gui-display.c ../../weechat.h ../gui.h ../../completion.h \
- ../../history.h ../../config.h ../../irc/irc.h ../../gui/gui.h
-gui-input.o: gui-input.c ../../weechat.h ../gui.h ../../completion.h \
- ../../history.h ../../command.h ../../irc/irc.h ../../gui/gui.h
diff --git a/src/gui/gtk/Makefile b/src/gui/gtk/Makefile
deleted file mode 100644
index 0da1a6390..000000000
--- a/src/gui/gtk/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
-#
-# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-CC=gcc
-
-OPTIONS=-Wall -W -pipe -O2
-
-OUTPUT=../gui.a
-OBJS=gui-display.o gui-input.o
-INCLUDES=`pkg-config --cflags gtk+-2.0`
-DEFINES=WEE_GTK
-
-all: $(OBJS)
- ar r $(OUTPUT) $(OBJS)
-
-$(OBJS):
- $(CC) $(OPTIONS) -o $@ -c $< $(INCLUDES) -D$(DEFINES)
-
-clean:
- rm -f *.o *.a *~ core
-
-gui-display.o: gui-display.c ../../weechat.h ../gui.h ../../completion.h \
- ../../history.h ../../config.h ../../irc/irc.h ../../gui/gui.h
-gui-input.o: gui-input.c ../../weechat.h ../gui.h ../../completion.h \
- ../../history.h ../../config.h ../../command.h ../../irc/irc.h \
- ../../gui/gui.h
diff --git a/src/gui/qt/Makefile b/src/gui/qt/Makefile
deleted file mode 100644
index f0695d3a3..000000000
--- a/src/gui/qt/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
-#
-# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-CC=gcc
-
-OPTIONS=-Wall -W -pipe -O2
-
-OUTPUT=../gui.a
-OBJS=gui-display.o gui-input.o
-DEFINES=WEE_QT
-
-all: $(OBJS)
- ar r $(OUTPUT) $(OBJS)
-
-$(OBJS):
- $(CC) $(OPTIONS) -o $@ -c $< $(INCLUDES) -D$(DEFINES)
-
-clean:
- rm -f *.o *.a *~ core
-
-gui-display.o: gui-display.c ../../weechat.h ../gui.h ../../config.h \
- ../../irc/irc.h ../../gui/gui.h
-gui-input.o: gui-input.c ../../weechat.h ../gui.h