Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/make/build.unix.mk b/make/build.unix.mk
- index 4426940..75803c5 100644
- --- a/make/build.unix.mk
- +++ b/make/build.unix.mk
- @@ -4,13 +4,6 @@
- $(addprefix $(DESTDIR)/$(LIBNAME),.a .so p.a p.so): $(DESTDIR)/$(LIBNAME)%: $(DESTDIR)/$(LIBNAME)%.$(LIBFULLREV)
- $(SYMLINK) -fs `basename $^` $@
- -# generate the shared object & debug file
- -$(addsuffix .$(LIBFULLREV).dbg, $(addprefix $(DESTDIR)/$(LIBNAME),.so p.so)): $(DESTDIR)/$(LIBNAME)%.so.$(LIBFULLREV).dbg: $(DESTDIR)/$(LIBNAME)%.so.$(LIBFULLREV)
- - $(OBJCOPY) --only-keep-debug $^ $@
- - $(OBJCOPY) --add-gnu-debuglink=$@ $^
- - $(OBJCOPY) --strip-debug $^
- - touch $@
- -
- $(addsuffix .$(LIBFULLREV), $(addprefix $(DESTDIR)/$(LIBNAME),.so p.so)): $(DESTDIR)/$(LIBNAME)%.so.$(LIBFULLREV): .$(DESTDIR).dir $(DESTDIR)/$(LIBNAME)%.o
- $(addsuffix .so.$(LIBFULLREV), $(DESTDIR)/$(LIBNAME)):
- $(GCC) -shared -Wl,--no-undefined -Wl,-soname,$(LIBNAME)$*.so.$(LIBFULLREV) $(filter %.o,$^) $(CLINKS) -o $@
- diff --git a/make/os.linux.mk b/make/os.linux.mk
- index aa2762d..e29096c 100644
- --- a/make/os.linux.mk
- +++ b/make/os.linux.mk
- @@ -28,20 +28,16 @@ CLINKS+= -fPIC $(addprefix -l,$(LIBS)) $(DEBUG)
- CXXLINKS+= $(CLINKS) -Llib -lxbee
- LIB_OUT= $(DESTDIR)/$(LIBNAME).so \
- - $(DESTDIR)/$(LIBNAME).so.$(LIBFULLREV).dbg \
- $(DESTDIR)/$(LIBNAME).a \
- $(DESTDIR)/$(LIBNAME)p.so \
- - $(DESTDIR)/$(LIBNAME)p.so.$(LIBFULLREV).dbg \
- $(DESTDIR)/$(LIBNAME)p.a \
- $(addprefix $(HTMLDIR)/,$(SYS_HTMLPAGES))
- INSTALL_FILES= $(SYS_LIBDIR)/$(LIBNAME).so.$(LIBFULLREV) \
- - $(SYS_LIBDIR)/$(LIBNAME).so.$(LIBFULLREV).dbg \
- $(SYS_LIBDIR)/$(LIBNAME).so \
- $(SYS_LIBDIR)/$(LIBNAME).a.$(LIBFULLREV) \
- $(SYS_LIBDIR)/$(LIBNAME).a \
- $(SYS_LIBDIR)/$(LIBNAME)p.so.$(LIBFULLREV) \
- - $(SYS_LIBDIR)/$(LIBNAME)p.so.$(LIBFULLREV).dbg \
- $(SYS_LIBDIR)/$(LIBNAME)p.so \
- $(SYS_LIBDIR)/$(LIBNAME)p.a.$(LIBFULLREV) \
- $(SYS_LIBDIR)/$(LIBNAME)p.a \
- @@ -50,12 +46,10 @@ INSTALL_FILES= $(SYS_LIBDIR)/$(LIBNAME).so.$(LIBFULLREV)
- $(SYS_INCDIR)/xbeep.h
- RELEASE_FILES= $(DESTDIR)/$(LIBNAME).so.$(LIBFULLREV) \
- - $(DESTDIR)/$(LIBNAME).so.$(LIBFULLREV).dbg \
- $(DESTDIR)/$(LIBNAME).so \
- $(DESTDIR)/$(LIBNAME).a.$(LIBFULLREV) \
- $(DESTDIR)/$(LIBNAME).a \
- $(DESTDIR)/$(LIBNAME)p.so.$(LIBFULLREV) \
- - $(DESTDIR)/$(LIBNAME)p.so.$(LIBFULLREV).dbg \
- $(DESTDIR)/$(LIBNAME)p.so \
- $(DESTDIR)/$(LIBNAME)p.a.$(LIBFULLREV) \
- $(DESTDIR)/$(LIBNAME)p.a \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement