File: Makefile

package info (click to toggle)
camlimages 2.00-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,536 kB
  • ctags: 2,325
  • sloc: ml: 10,848; ansic: 2,396; makefile: 599; sh: 30
file content (42 lines) | stat: -rw-r--r-- 786 bytes parent folder | download
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
38
39
40
41
42
include ../Makefile.config
include ../Makefile.build

all: all.byte

opt: all.opt

clean::
	rm -f *.cm[iox] *.o *.cma *.cmxa *.a *.so

install: all
	- mkdir -p $(LIBDIR)
	- cp *.mli *.cmi *.cma *.cmxa *.a *.so $(LIBDIR)

####################################### drivers ##############################

LIBNAME		= $(LIBPREFIX)core
EXTCLIB		= 
EXTMLLIB	=
CFLAGS		=
COMPFLAGS	= 
MLMODULES	= camlimages mstring color region tmpfile bitmap \
	  	  rgba32 rgb24 index8 index16 cmyk32 \
		  image oColor oImage reduce geometry colorhist \
		  blend
CMODULES	= 

MLOBJS		= $(addsuffix .cmo, $(MLMODULES))
COBJS		= $(addsuffix .o, $(CMODULES))
CMA		= $(LIBNAME).cma
CMXA		= $(LIBNAME).cmxa
CLIB		=
CDLL		=

all.byte: $(CMA) $(CLIB)

all.opt: $(CMXA) $(CLIB)

#######

include ../Makefile.shared