diff options
Diffstat (limited to 'converter/other/cameratopam/Makefile')
-rw-r--r-- | converter/other/cameratopam/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/converter/other/cameratopam/Makefile b/converter/other/cameratopam/Makefile new file mode 100644 index 00000000..c50c9176 --- /dev/null +++ b/converter/other/cameratopam/Makefile @@ -0,0 +1,37 @@ +ifeq ($(SRCDIR)x,x) + SRCDIR = $(CURDIR)/../../.. + BUILDDIR = $(SRCDIR) +endif +SUBDIR = converter/other/cameratopam +VPATH=.:$(SRCDIR)/$(SUBDIR) + +ifneq ($(JPEGLIB),NONE) + ifneq ($(JPEGHDR_DIR)x,x) + INCLUDES += -I$(JPEGHDR_DIR) + CFLAGS += -DHAVE_JPEG + endif +endif + +include $(BUILDDIR)/Makefile.config + + +.PHONY: all +all: cameratopam + +OBJECTS = util.o identify.o cameratopam.o camera.o foveon.o decode.o \ + canon.o ljpeg.o dng.o + +MERGE_OBJECTS = + +BINARIES = cameratopam +MERGEBINARIES = +SCRIPTS = + +include $(SRCDIR)/Makefile.common + +cameratopam: $(OBJECTS) $(NETPBMLIB) $(LIBOPT) + $(LD) -o $@ $(LDFLAGS) \ + $(OBJECTS) $(shell $(LIBOPT) $(NETPBMLIB) $(LIBOPTR)) \ + $(MATHLIB) $(LDLIBS) \ + $(RPATH) $(LADD) + |