Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the core Java library in the dolda.dolcon.protocol package instead.
[doldaconnect.git]
/
clients
/
gtk2
/
Makefile.am
diff --git
a/clients/gtk2/Makefile.am
b/clients/gtk2/Makefile.am
index
affec2a
..
813c8fe
100644
(file)
--- a/
clients/gtk2/Makefile.am
+++ b/
clients/gtk2/Makefile.am
@@
-1,21
+1,30
@@
+if CLI_GTK2
bin_PROGRAMS=dolcon
bin_PROGRAMS=dolcon
+endif
-dolcon_SOURCES= main.c \
- progressbar.c \
- progressbar.h
+dolcon_SOURCES= dolcon.c \
+ dolcon.h \
+ hublist.c \
+ hublist.h \
+ hublist-xml.c \
+ hublist-old.c
-EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc reslist.desc
makegdesc
+EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc reslist.desc
-BUILT_SOURCES=mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk
+BUILT_SOURCES=
mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk
main.c: mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk
localedir=$(datadir)/locale
main.c: mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk
localedir=$(datadir)/locale
-dolcon_LDFLAGS=$(shell pkg-config --libs gtk+-2.0)
-dolcon_LDADD=$(top_srcdir)/lib/libdcui.la
-dolcon_CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0) -DLOCALEDIR=\"$(localedir)\"
+dolcon_LDFLAGS= @GTK2_LIBS@ @LIBXML_LIBS@ -lbz2
+dolcon_LDADD=$(top_srcdir)/lib/libdcui.la $(top_srcdir)/common/libhttp.a
+dolcon_CPPFLAGS=@GTK2_CFLAGS@ @LIBXML_CFLAGS@ \
+ -DLOCALEDIR=\"$(localedir)\"
-%.gtk: %.desc makegdesc
- cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< | ./makegdesc >$@
+.desc.gtk: $(top_srcdir)/common/makegdesc
+ target="$@"; \
+ basename="$${target%.gtk}"; \
+ cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< \
+ | $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" >$@
mainwnd.desc: ../../config.h
mainwnd.desc: ../../config.h