2 # ============================================================
3 # This file defines the common definitions used in several
4 # Makefile. This file must be included, if needed, by the file
6 # ============================================================
9 # Standard directory for installation
10 salomeincludedir = $(includedir)/salome
11 libdir = $(prefix)/lib@LIB_LOCATION_SUFFIX@/salome
12 bindir = $(prefix)/bin/salome
13 salomescriptdir = $(bindir)
14 salomepythondir = $(pythondir)/salome
15 salomepyexecdir = $(pyexecdir)/salome
17 # Directory for installing idl files
18 salomeidldir = $(prefix)/idl/salome
20 # Directory for installing resource files
21 salomeresdir = $(prefix)/share/salome/resources/@MODULE_NAME@
23 # Directories for installing admin files
24 admlocaldir = $(prefix)/adm_local
25 admlocalunixdir = $(admlocaldir)/unix
26 admlocalm4dir = $(admlocaldir)/unix/config_files
28 # Shared modules installation directory
29 sharedpkgpythondir = $(salomepythondir)/shared_modules
31 # Documentation directory
32 docdir = $(datadir)/doc/salome
36 # meta object implementation files generation (moc)
40 # translation (*.qm) files generation (lrelease)
44 # resource files generation (qrcc)
46 $(QRCC) $< -o $@ -name $(*F)
48 # qt forms files generation (uic)
52 # extra distributed files
53 EXTRA_DIST = $(MOC_FILES:%_moc.cxx=%.h) $(QRC_FILES:qrc_%.cxx=%.qrc) \
54 $(UIC_FILES:ui_%.h=%.ui) $(nodist_salomeres_DATA:%.qm=resources/%.ts)
56 # customize clean operation
58 rm -f @builddir@/*_moc.cxx
60 rm -f @builddir@/ui_*.h
61 rm -f @builddir@/qrc_*.cxx
66 unittest: $(UNIT_TEST_PROG)
67 @if test "x$(UNIT_TEST_PROG)" != "x"; then \