blob: 4c25794d5883ad08fa67f4f4129bb3ee1bf26db3 (
plain)
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
43
44
45
46
47
48
49
50
|
#
# Top-Level Makefile for building LittleCMS 2
#
# Don't require all the GNU mandated files
AUTOMAKE_OPTIONS = 1.7.2 dist-zip foreign
ACLOCAL_AMFLAGS = -I m4
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
# Directories containing Makefiles to 'make'
SUBDIRS = src include utils/tificc utils/transicc utils/linkicc utils/jpgicc utils/psicc testbed
# Additional files to distribute
EXTRA_DIST = AUTHORS COPYING ChangeLog doc Projects include bin Lib INSTALL README.1ST autogen.sh lcms2.pc.in plugins
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lcms2mt.pc
# Get names of plug-ins in the source package
PLUGIN_DIRECTORIES = $(sort $(dir $(wildcard plugins/*/)))
# Make sure get rid of VC stuff...
clean-local:
find Projects -name "*.user" | xargs rm -rf
find Projects -name "Release" | xargs rm -rf
find Projects -name "Debug" | xargs rm -rf
find Projects -name "*.aps" | xargs rm -rf
find Projects -name "*.suo" | xargs rm -rf
find Projects -name "*.log" | xargs rm -rf
find Projects -name "*.sdf" | xargs rm -rf
find Projects -name "*.opensdf" | xargs rm -rf
find Projects -name "*.log" | xargs rm -rf
find Projects -name "ipch" | xargs rm -rf
@for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) clean ); done
# Handle plug-ins
all-local:
@for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) $(AM_MAKEFLAGS) all ); done
check-local:
@for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) $(AM_MAKEFLAGS) check ); done
install-exec-local:
@for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) $(AM_MAKEFLAGS) install-exec ); done
uninstall-local:
@for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) $(AM_MAKEFLAGS) uninstall ); done
|