[docs] Moved CpmlExtents under "Core reference"
[adg.git] / demo / Makefile.am
blobbf5cab6593185789a62d836b6ae22135e1f54a7f
1 include $(top_srcdir)/build/Makefile.am.common
3 AM_CFLAGS=                      @GTK2_CFLAGS@ \
4                                 -I$(top_srcdir)/src \
5                                 -I$(top_builddir)/src
7 if OS_WINDOWS
9 ## On windows, ADG_DATADIR is handled as a path relative
10 ## to the binary executable
11 adgdatadir=                     $(bindir)
12 AM_CPPFLAGS=                    -DADG_DATADIR='""'
14 else # ! OS_WINDOWS
16 adgdatadir=                     $(pkgdatadir)
17 AM_CPPFLAGS=                    -DADG_DATADIR='"$(adgdatadir)"'
19 endif
22 if HAVE_GTK2
23 bin_PROGRAMS=                   adg-demo \
24                                 cpml-demo
25 adg_demo_SOURCES=               adg-demo.c \
26                                 demo.c \
27                                 demo.h
28 adg_demo_LDADD=                 $(top_builddir)/src/adg-gtk/libadg-gtk-1.la
29 cpml_demo_SOURCES=              cpml-demo.c \
30                                 demo.c \
31                                 demo.h
32 cpml_demo_LDADD=                $(GTK2_LIBS) \
33                                 $(top_builddir)/src/adg/libadg-1.la
34 nodist_adgdata_DATA=            adg-demo.ui \
35                                 cpml-demo.ui
36 dist_adgdata_DATA=              adg-64.png
37 endif
39 EXTRA_DIST=                     cpml-demo.ui.in \
40                                 adg-demo.ui.in