added snprintf.c to be linked in WINGs
[wmaker-crm.git] / wrlib / Makefile.am
blob4bdc71bee8d9c1ac6ae947a5f18eecac484055e3
1 ## automake input file for wrlib
3 AUTOMAKE_OPTIONS = no-dependencies
5 lib_LTLIBRARIES = libwraster.la
7 libwraster_la_LDFLAGS = -version-info 4:0:2
9 bin_SCRIPTS = get-wraster-flags
11 noinst_PROGRAMS = testgrad testdraw view testrot
13 EXTRA_DIST = test.png tile.xpm ballot_box.xpm 
14 include_HEADERS = wraster.h
16 libwraster_la_SOURCES =         \
17         LookupCmap.c    \
18         StdCmap.c       \
19         StdCmap.h       \
20         CrCmap.c        \
21         DelCmap.c       \
22         CmapAlloc.c     \
23         wrasterP.h      \
24         raster.c        \
25         draw.c          \
26         color.c         \
27         load.c          \
28         save.c          \
29         gradient.c      \
30         xpixmap.c       \
31         convert.c       \
32         context.c       \
33         misc.c          \
34         scale.c         \
35         rotate.c        \
36         convolve.c      \
37         nxpm.c          \
38         xpm.c           \
39         xutil.c         \
40         ppm.c           \
41         png.c           \
42         jpeg.c          \
43         tiff.c          \
44         gif.c
48 INCLUDES = $(DFLAGS) @HEADER_SEARCH_PATH@
50 LIBLIST = $(top_builddir)/wrlib/libwraster.la
52 view_SOURCES= view.c
54 view_LDADD = $(LIBLIST)
56 testgrad_SOURCES = testgrad.c
58 testgrad_LDADD = $(LIBLIST)
60 testrot_SOURCES = testrot.c
62 testrot_LDADD = $(LIBLIST)
65 testdraw_SOURCES = testdraw.c
67 testdraw_LDADD = $(LIBLIST)
70 libwraster_la_LIBADD = @ALLOCA@ @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ -lm