d3372da9 |
1 | bin_PROGRAMS=dolcon |
2 | |
3 | dolcon_SOURCES= main.c \ |
4 | progressbar.c \ |
5 | progressbar.h |
6 | |
7 | EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc makegdesc |
8 | |
9 | BUILT_SOURCES=mainwnd.gtk inpdialog.gtk pref.gtk |
10 | |
11 | main.c: mainwnd.gtk inpdialog.gtk |
12 | |
13 | localedir=$(datadir)/locale |
14 | dolcon_LDFLAGS=$(shell pkg-config --libs gtk+-2.0) |
15 | dolcon_LDADD=$(top_srcdir)/lib/libdcui.la |
16 | dolcon_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 | |
21 | mainwnd.desc: ../../config.h |