Allow the usage of the TOS API to set DSCP values on IPv4 sockets.
[doldaconnect.git] / clients / gtk2 / Makefile.am
1 if CLI_GTK2
2 bin_PROGRAMS=dolcon
3 endif
4
5 dolcon_SOURCES= dolcon.c \
6                 dolcon.h \
7                 hublist.c \
8                 hublist.h \
9                 hublist-xml.c \
10                 hublist-old.c
11
12 EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc reslist.desc
13
14 BUILT_SOURCES=  mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk
15
16 main.c: mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk
17
18 localedir=$(datadir)/locale
19 dolcon_LDFLAGS= @GTK2_LIBS@ @LIBXML_LIBS@ -lbz2
20 dolcon_LDADD=$(top_srcdir)/lib/libdcui.la $(top_srcdir)/common/libhttp.a
21 dolcon_CPPFLAGS=@GTK2_CFLAGS@ @LIBXML_CFLAGS@ \
22                 -DLOCALEDIR=\"$(localedir)\" -D_GNU_SOURCE
23
24 .desc.gtk: $(top_srcdir)/common/makegdesc
25         target="$@"; \
26         basename="$${target%.gtk}"; \
27         cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< \
28          | $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" >$@
29
30 mainwnd.desc: ../../config.h