diff options
Diffstat (limited to 'converter/other/pamtosvg/Makefile')
-rw-r--r-- | converter/other/pamtosvg/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/converter/other/pamtosvg/Makefile b/converter/other/pamtosvg/Makefile new file mode 100644 index 00000000..7f9c3e30 --- /dev/null +++ b/converter/other/pamtosvg/Makefile @@ -0,0 +1,55 @@ +ifeq ($(SRCDIR)x,x) + SRCDIR = $(CURDIR)/../../.. + BUILDDIR = $(SRCDIR) +endif +SUBDIR = converter/other/pamtosvg +VPATH=.:$(SRCDIR)/$(SUBDIR) + +include $(BUILDDIR)/Makefile.config + +BINARIES = pamtosvg + +PAMTOSVG_OBJECTS = \ + pamtosvg.o \ + output-svg.o \ + fit.o \ + spline.o \ + curve.o \ + vector.o \ + epsilon-equal.o \ + autotrace.o \ + pxl-outline.o \ + bitmap.o \ + thin-image.o \ + logreport.o \ + exception.o \ + image-proc.o \ + +MERGE_OBJECTS = \ + pamtosvg.o2 \ + output-svg.o \ + fit.o \ + spline.o \ + curve.o \ + vector.o \ + epsilon-equal.o \ + autotrace.o \ + pxl-outline.o \ + bitmap.o \ + thin-image.o \ + logreport.o \ + exception.o \ + image-proc.o \ + +OBJECTS = $(PAMTOSVG_OBJECTS) + +MERGEBINARIES = $(BINARIES) + +all: $(BINARIES) + +include $(SRCDIR)/Makefile.common + +pamtosvg: $(PAMTOSVG_OBJECTS) $(NETPBMLIB) $(LIBOPT) + $(LD) $(LDFLAGS) -o $@ $(PAMTOSVG_OBJECTS) \ + $(shell $(LIBOPT) $(NETPBMLIB)) \ + $(MATHLIB) $(LDLIBS) $(RPATH) $(LADD) |