Cleanup and bugfixes(...).
[doldaconnect.git] / clients / gtk2 / Makefile.am
... / ...
CommitLineData
1bin_PROGRAMS=dolcon
2
3dolcon_SOURCES= main.c \
4 progressbar.c \
5 progressbar.h
6
7EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc makegdesc
8
9BUILT_SOURCES=mainwnd.gtk inpdialog.gtk pref.gtk
10
11main.c: mainwnd.gtk inpdialog.gtk
12
13localedir=$(datadir)/locale
14dolcon_LDFLAGS=$(shell pkg-config --libs gtk+-2.0)
15dolcon_LDADD=$(top_srcdir)/lib/libdcui.la
16dolcon_CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0) -DLOCALEDIR=\"$(localedir)\"
17
18%.gtk: %.desc makegdesc
19 cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< | ./makegdesc >$@
20
21mainwnd.desc: ../../config.h