Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad
libsyncdir
versioned-soname.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File versioned-soname.patch of Package libsyncdir
--- Makefile.orig 2012-05-30 14:56:03.000000000 +0000 +++ Makefile 2012-05-30 14:57:29.000000000 +0000 @@ -1,4 +1,5 @@ -VERSION = 1.0 +VERSION_MAJ=1 +VERSION = $(VERSION_MAJ).0 CFLAGS = -O2 -Wall -g CC = gcc @@ -10,14 +11,14 @@ OBJS = syncdir.o LOBJS = syncdir.lo -all: libsyncdir.so libsyncdir.a +all: libsyncdir.so.$(VERSION_MAJ) libsyncdir.a testsync: testsync.o libsyncdir.a $(LD) $(LDFLAGS) -o $@ $< libsyncdir.a -libsyncdir.so: $(LOBJS) - $(LD) $(LDFLAGS) -shared -Wl,-soname,libsyncdir.so \ - -o libsyncdir.so $(LOBJS) +libsyncdir.so.$(VERSION_MAJ): $(LOBJS) + $(LD) $(LDFLAGS) -shared -Wl,-soname,libsyncdir.so.$(VERSION_MAJ) \ + -o libsyncdir.so.$(VERSION_MAJ) $(LOBJS) syncdir.lo: syncdir.c $(CC) $(CFLAGS) -fPIC -DPIC -o $@ -c $< @@ -27,7 +28,7 @@ ar r libsyncdir.a $(OBJS) install: all - install -m 755 libsyncdir.so $(libdir) + install -m 755 libsyncdir.so.$(VERSION_MAJ) $(libdir) install -m 644 libsyncdir.a $(libdir) TARGET = syncdir-$(VERSION) @@ -39,5 +40,5 @@ $(RM) -r $(TARGET) clean: - $(RM) core *.o *.lo *.so *.a testsync $(TARGET).tar.gz + $(RM) core *.o *.lo *.so.$(VERSION_MAJ) *.a testsync $(TARGET).tar.gz
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor