diff options
author | Piotr Galiszewski <piotr@galiszewski.pl> | 2010-07-08 18:18:19 +0200 |
---|---|---|
committer | Piotr Galiszewski <piotr@galiszewski.pl> | 2010-07-13 10:46:02 +0200 |
commit | c082355be77e96fd6776ab7f86825e8dd14eeed0 (patch) | |
tree | 7b7fdd20052ce81c6edc5c8ac6ef3f6188e90c82 /src/Makefile.am | |
parent | 381582bfb62fc7c8ed87ae2f9c19260c26b7bd02 (diff) | |
download | aptitude-c082355be77e96fd6776ab7f86825e8dd14eeed0.tar.gz |
Add build rules for aptitude-Qt
- add tests for Qt libraries to configure.ac
- create "enable-qt" option for activating building of Qt frontend
- add required Makefile.am
- create a stab of frontend initialization and all required code to generic classes
- rename gui variable in main.cc to use_gtk_gui and new_gui variable accordingly
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 8ec45e17..32b45978 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,7 +5,12 @@ if BUILD_GTK MAYBE_LIBGTK = gtk/libgtk.a gtk/toplevel/libgtk-toplevel.a endif -SUBDIRS=generic $(MAYBE_GTK) cmdline mine +if BUILD_QT + MAYBE_QT = qt + MAYBE_LIBQT = qt/libqt.a +endif + +SUBDIRS=generic $(MAYBE_GTK) $(MAYBE_QT) cmdline mine localedir = $(datadir)/locale INCLUDES = -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/src @@ -13,7 +18,7 @@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ bin_PROGRAMS=aptitude -LDADD=@LIBINTL@ $(MAYBE_LIBGTK) cmdline/libcmdline.a mine/libcmine.a \ +LDADD=@LIBINTL@ $(MAYBE_LIBGTK) $(MAYBE_LIBQT) cmdline/libcmdline.a mine/libcmine.a \ generic/apt/libgeneric-apt.a generic/util/libgeneric-util.a \ generic/apt/matching/libgeneric-matching.a \ generic/controllers/libgeneric-controllers.a \ |