new menu editor code
[wmaker-crm.git] / wrlib / Makefile.am
blobcfeba49b817950849047bcb496c99ab57b02c7bc
1 ## automake input file for wrlib
3 AUTOMAKE_OPTIONS = no-dependencies
5 lib_LTLIBRARIES = libwraster.la
7 libwraster_la_LDFLAGS = -version-info 2:0:0
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         raster.c        \
24         draw.c          \
25         color.c         \
26         load.c          \
27         save.c          \
28         gradient.c      \
29         xpixmap.c       \
30         convert.c       \
31         x86_specific.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
47 LTCOMPILE2=`echo $(LTCOMPILE) | sed -e s/-fomit-frame-pointer//`
48 COMPILE2=`echo $(COMPILE) | sed -e s/-fomit-frame-pointer//`
50 # cant compile asm stuff with optimizations
51 x86_specific.lo: x86_specific.c
52         $(LTCOMPILE2) -O0 -c $<
54 x86_specific.o: x86_specific.c
55         $(COMPILE2) -O0 -c $<
60 INCLUDES = $(DFLAGS) @HEADER_SEARCH_PATH@
62 LIBLIST = $(top_builddir)/wrlib/libwraster.la @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ -lm
64 view_SOURCES= view.c
66 view_LDADD = $(LIBLIST)
68 testgrad_SOURCES = testgrad.c
70 testgrad_LDADD = $(LIBLIST)
72 testrot_SOURCES = testrot.c
74 testrot_LDADD = $(LIBLIST)
77 testdraw_SOURCES = testdraw.c
79 testdraw_LDADD = $(LIBLIST)
82 libwraster_la_LIBADD = @ALLOCA@