summaryrefslogtreecommitdiff
path: root/client/Makefile.am
blob: 56666c4e8f828279b115dedd306855fbcf5c9f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
INCLUDES = -I$(srcdir)/../services

bin_PROGRAMS = icecc
pkglib_SCRIPTS = icecc-create-env
icecc_SOURCES = main.cpp arg.cpp cpp.cpp local.cpp remote.cpp util.cpp md5.c safeguard.cpp
icecc_LDADD = ../services/libicecc.la $(LIBRSYNC)
noinst_HEADERS = client.h md5.h util.h

EXTRA_DIST = icecc-create-env

install-exec-local:
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	for link in g++ gcc c++ cc icerun; do \
	  rm -f $(DESTDIR)$(bindir)/$$link ;\
	  $(LN_S) icecc $(DESTDIR)$(bindir)/$$link ;\
	done

uninstall-local:
	for link in g++ gcc c++ cc; do \
	  rm $(DESTDIR)$(bindir)/$$link ;\
	done