4 ${INSTALL} -d ${includedir}/bear
5 ${INSTALL} -t ${includedir}/bear inc/*
6 ln -sfn ${REALNAME} ${libdir}/${LINKERNAME}
7 ln -sfn ${REALNAME} ${libdir}/${SONAME}
8 ${INSTALL} -t ${libdir} ${BINDIR}${REALNAME}
12 rm -rf /usr/include/bear
13 rm /usr/lib/${REALNAME}
14 rm /usr/lib/${LINKERNAME}
18 ${G_LIB}: ${TARGET_$P}
19 ${G_OBJS_LIB}: ${L_OBJS_$P}
20 ${G_DEPS_LIB}: ${L_DEPS_$P}
23 # how to link the main target
24 ${TARGETTMP_$P}: ${L_OBJS_$P} | $${@D}
27 # rule to copy tmp target to working directory
28 ${TARGET_$P}: ${TARGETTMP_$P} | $${@D}
31 # rule to make an object file from a .cpp
32 ${OBJSDIR_$P}%.o: ${SRCSDIR_$P}%.cpp | $${@D}
35 # rule to make a depend file from a .cpp
36 ${DEPSDIR_$P}%.d: ${SRCSDIR_$P}%.cpp | $${@D}
41 include Makefile.d/cleanrules.mk