-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.in
42 lines (32 loc) · 1.05 KB
/
Makefile.in
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
MODULES = Images Tools Devices Consoles Tracking Segmentation drivers drivers/mpeg_lib-1.3.1 frp Examples
#HOST="--host=i686-pc-cygwin"
all: ; @for i in @EXT_MODULES@ $(MODULES); \
do (cd src/$$i; $(MAKE) install); done
install:
mkdir -p $(prefix)/lib
cp -a lib/* $(prefix)/lib
mkdir -p $(prefix)/include/XVision2
mkdir -p $(prefix)/bin
cp include/*.h $(prefix)/include/XVision2
cp include/*.icc $(prefix)/include/XVision2
cp bin/* $(prefix)/bin
clean: ; @for i in $(MODULES); \
do (cd src/$$i; $(MAKE) clean); done
veryclean: clean
rm -f lib/*
rm -f bin/*
dist: veryclean
rm -f config.status config.log config.cache include/config.h
(cd include; $(MAKE) clean)
config: ; ./configure
(cd include; $(MAKE) install)
(cd src/Tools; $(MAKE) screendepth)
mkdir -p bin lib
@echo --- If there was no error, use \'make\' to compile. ---
doc: ;
(cd docs; $(MAKE) doc)
# adds or updates the copyright from the Copyright file to each of the
# *.h, *.cc, and *.icc files
addcr: ;
@for i in $(MODULES);\
do (cd src/$$i; $(MAKE) addcr); done