File: Makefile.am

package info (click to toggle)
icecc 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,444 kB
  • sloc: cpp: 13,720; sh: 2,949; ansic: 767; xml: 744; makefile: 233; asm: 2
file content (55 lines) | stat: -rw-r--r-- 1,337 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
43
44
45
46
47
48
49
50
51
52
53
54
55
bin_PROGRAMS = icecc
bin_SCRIPTS = icecc-create-env icecc-test-env

noinst_LIBRARIES = libclient.a
libclient_a_SOURCES = \
        arg.cpp \
        argv.c \
        cpp.cpp \
        local.cpp \
        remote.cpp \
        util.cpp \
        md5.c \
        safeguard.cpp

icecc_SOURCES = \
	main.cpp 
icecc_LDADD = \
	libclient.a \
	../services/libicecc.la

noinst_HEADERS = \
	argv.h \
	client.h \
	md5.h \
	util.h
AM_CPPFLAGS = \
	-DPLIBDIR=\"$(pkglibexecdir)\" \
	-I$(top_srcdir)/services \
	-I$(top_srcdir)/

EXTRA_DIST = icecc-create-env

AM_LIBTOOLFLAGS = --silent

install-exec-local:
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	rm -f $(DESTDIR)$(bindir)/icerun
	$(LN_S) $(bindir)/icecc $(DESTDIR)$(bindir)/icerun
	$(mkinstalldirs) $(DESTDIR)$(pkglibexecdir)
	rm -f $(DESTDIR)$(pkglibexecdir)/icecc-create-env
	$(LN_S) $(bindir)/icecc-create-env $(DESTDIR)$(pkglibexecdir)/icecc-create-env

	$(mkinstalldirs) $(DESTDIR)$(pkglibexecdir)/bin
	for link in g++ gcc c++ cc $(CLANG_SYMLINK_WRAPPERS); do \
		rm -f $(DESTDIR)$(pkglibexecdir)/bin/$$link ;\
		$(LN_S) $(bindir)/icecc $(DESTDIR)$(pkglibexecdir)/bin/$$link ;\
	done

uninstall-local:
	rm $(DESTDIR)$(bindir)/icerun
	rm $(DESTDIR)$(pkglibexecdir)/icecc-create-env

	for link in g++ gcc c++ cc $(CLANG_SYMLINK_WRAPPERS); do \
		rm $(DESTDIR)$(pkglibexecdir)/bin/$$link ;\
	done