File: Makefile.in

package info (click to toggle)
evms 2.5.2-1.sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 14,248 kB
  • ctags: 15,488
  • sloc: ansic: 201,340; perl: 12,421; sh: 4,262; makefile: 1,516; yacc: 316; sed: 16
file content (66 lines) | stat: -rw-r--r-- 1,791 bytes parent folder | download | duplicates (2)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Enterprise Volume Management System
#
# (C) Copyright IBM Corp. 2003
#
# This program is free software;  you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY;  without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
# the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program;  if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

srcdir = @srcdir@
top_srcdir = @top_srcdir@
include $(top_srcdir)/make.rules

subdirs = worker
distsubdirs = worker

NAME		= evms
TARGET		= $(LIB_TARGET)

EVMS_DEFS	+= -DPluginDirectory=\"$(evmspluginsdir)\"
EVMS_LIBS	+= $(PTHREAD_LIBS) -ldl

all: .depend $(TARGET)
	$(PROCESS_DIRS)


$(TARGET): $(OBJECTS)
	$(BUILD_SHARED_LIB)
	$(BUILD_STATIC_LIB)
	$(LN_S) -f $(TARGET) $(LIBNAME)
	$(LN_S) -f $(TARGET) $(SONAME)

install: all
	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
	$(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(libdir)
	$(INSTALL) -m 644 $(ARNAME) $(DESTDIR)$(libdir)
	rm -f $(DESTDIR)$(libdir)/$(LIBNAME)
	$(LN_S) $(TARGET) $(DESTDIR)$(libdir)/$(LIBNAME)
	$(PROCESS_DIRS)

uninstall:
	rm -f $(DESTDIR)$(libdir)/$(LIBNAME)
	rm -f $(DESTDIR)$(libdir)/$(ARNAME)
	rm -f $(DESTDIR)$(libdir)/$(TARGET)
	$(PROCESS_DIRS)

clean:
	rm -f .depend $(OBJECTS) $(TARGET) $(ARNAME) $(LIBNAME) $(SONAME)
	$(PROCESS_DIRS)

distclean: clean
	rm -f Makefile
	$(PROCESS_DISTDIRS)

ifeq (.depend, $(wildcard .depend))
include .depend
endif