udpate Makefile.in for rpmbuild
parent
b224a44276
commit
5a65898707
|
|
@ -33,11 +33,13 @@ libfastcommon.so.1:
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(COMPILE) -c -fPIC -o $@ $< $(INC_PATH)
|
$(COMPILE) -c -fPIC -o $@ $< $(INC_PATH)
|
||||||
install:
|
install:
|
||||||
cp -f $(ALL_LIBS) /usr/local/lib/
|
mkdir -p $(DESTDIR)/usr/local/lib
|
||||||
mkdir -p /usr/local/include/fastcommon
|
install -m 755 $(ALL_LIBS) $(DESTDIR)/usr/local/lib/
|
||||||
cp -f $(HEADER_FILES) /usr/local/include/fastcommon
|
mkdir -p $(DESTDIR)/usr/local/include/fastcommon
|
||||||
ln -fs /usr/local/lib/libfastcommon.so.1 /usr/local/lib/libfastcommon.so
|
install -m 644 $(HEADER_FILES) $(DESTDIR)/usr/local/include/fastcommon
|
||||||
sh ./fast_link_library.sh
|
cd $(DESTDIR)/usr/local/lib && ln -fs libfastcommon.so.1 libfastcommon.so
|
||||||
|
# ln -fs $(DESTDIR)/usr/local/lib/libfastcommon.so.1 $(DESTDIR)/usr/local/lib/libfastcommon.so
|
||||||
|
# sh ./fast_link_library.sh
|
||||||
clean:
|
clean:
|
||||||
rm -f $(ALL_OBJS) $(ALL_PRGS) $(ALL_LIBS)
|
rm -f $(ALL_OBJS) $(ALL_PRGS) $(ALL_LIBS)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue