about summary refs log tree commit diff
path: root/converter/other/cameratopam/Makefile
blob: b6778c67a74aac4ed0ffab4053d2222214e9e101 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 $@ \
          $(OBJECTS) $(shell $(LIBOPT) $(NETPBMLIB) $(LIBOPTR)) \
	  $(MATHLIB) $(LDFLAGS) $(LDLIBS) \
	  $(RPATH) $(LADD)