File indexing completed on 2024-12-22 04:04:13

0001 ## Copyright (C) 2001-2019 Peter Selinger.
0002 ## This file is part of Potrace. It is free software and it is covered
0003 ## by the GNU General Public License. See the file COPYING for details.
0004 
0005 ## Process this file with automake to produce Makefile.in
0006 
0007 AM_CFLAGS = $(CADD)
0008 
0009 #----------------------------------------------------------------------
0010 # programs:
0011 
0012 bin_PROGRAMS = potrace mkbitmap
0013 EXTRA_PROGRAMS = potracelib_demo
0014 
0015 potrace_SOURCES = main.c main.h bitmap_io.c bitmap_io.h backend_eps.c   \
0016  backend_eps.h flate.c flate.h lists.h greymap.c greymap.h render.c     \
0017  render.h backend_pgm.c backend_pgm.h backend_svg.c backend_svg.h       \
0018  backend_xfig.c backend_xfig.h backend_dxf.c backend_dxf.h              \
0019  backend_pdf.c backend_pdf.h backend_geojson.c backend_geojson.h        \
0020  lzw.c lzw.h bitops.h auxiliary.h potracelib.h bitmap.h curve.h         \
0021  platform.h progress.h progress_bar.c progress_bar.h bbox.c bbox.h      \
0022  trans.c trans.h
0023 EXTRA_potrace_SOURCES = getopt.c getopt1.c include/getopt/getopt.h
0024 potrace_LDADD = libpotrace.la @EXTRA_OBJS@ -lm @EXTRA_LIBS@
0025 potrace_DEPENDENCIES = libpotrace.la @EXTRA_OBJS@
0026 
0027 mkbitmap_SOURCES = mkbitmap.c bitmap_io.c bitmap_io.h greymap.c \
0028  greymap.h platform.h bitmap.h potracelib.h bitops.h
0029 EXTRA_mkbitmap_SOURCES = getopt.c getopt1.c include/getopt/getopt.h
0030 mkbitmap_LDADD = @EXTRA_OBJS@ -lm
0031 mkbitmap_DEPENDENCIES = @EXTRA_OBJS@
0032 
0033 potracelib_demo_SOURCES = potracelib_demo.c
0034 potracelib_demo_LDADD = libpotrace.la -lm
0035 potracelib_demo_DEPENDENCIES = libpotrace.la
0036 
0037 AM_CPPFLAGS = @EXTRA_INCLUDES@
0038 
0039 #----------------------------------------------------------------------
0040 # Potrace library:
0041 
0042 libsources = curve.c curve.h trace.c trace.h decompose.c                \
0043  decompose.h potracelib.c potracelib.h lists.h auxiliary.h bitmap.h     \
0044  progress.h
0045 
0046 lib_LTLIBRARIES = $(INSTLIBS)
0047 EXTRA_LTLIBRARIES = libpotrace.la
0048 libpotrace_la_SOURCES = $(libsources)
0049 libpotrace_la_LDFLAGS = -version-info 0:6:0 -rpath '$(libdir)' \
0050  -export-symbols $(srcdir)/libpotrace-export.sym -no-undefined
0051 libpotrace_la_LIBADD = -lm
0052 MOSTLYCLEANFILES = libpotrace.la
0053 
0054 # header files to install
0055 include_HEADERS = $(INSTHEADERS)
0056 EXTRA_HEADERS = potracelib.h
0057 
0058 #----------------------------------------------------------------------
0059 # other stuff to distribute
0060 
0061 EXTRA_DIST = libpotrace-export.sym