77 |
-$(RM) $(CPP_DEPS) $(OBJS) libPamCut.so |
-$(RM) $(CPP_DEPS) $(OBJS) libPamCut.so |
78 |
-@echo ' ' |
-@echo ' ' |
79 |
|
|
80 |
|
distclean: |
81 |
|
@rm -f ${PAM_LIB}/libPamCut.so |
82 |
|
@rm -rf ${PAM_INC}/PamCut |
83 |
|
@echo Installed files successfully removed. |
84 |
|
|
85 |
|
install: |
86 |
|
@if [[ "${PAM_INC}" == "" || "${PAM_LIB}" == "" ]]; then \ |
87 |
|
echo Pamela environment not set. ; \ |
88 |
|
else \ |
89 |
|
rootdir=`pwd`; \ |
90 |
|
for file in `find -name "*.h"`; do \ |
91 |
|
dir=`dirname $${file} | sed 's/.\///'`; \ |
92 |
|
mkdir -p ${PAM_INC}/PamCut/$${dir}; \ |
93 |
|
cp -u $${file} ${PAM_INC}/PamCut/$${dir}; \ |
94 |
|
done; \ |
95 |
|
cp -u libPamCut.so ${PAM_LIB}; \ |
96 |
|
fi |
97 |
|
@echo PamCut installed. |
98 |
|
|
99 |
version: |
version: |
100 |
@echo |
@echo |
101 |
@echo "**** Compiler version and compilation host ****" |
@echo "**** Compiler version and compilation host ****" |
103 |
@hostname |
@hostname |
104 |
@echo |
@echo |
105 |
|
|
106 |
.PHONY: all clean dependents version |
.PHONY: all clean distclean install dependents version |
107 |
|
|