Projects
Multimedia
libSOIL
libSOIL-makefile.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libSOIL-makefile.patch of Package libSOIL
--- projects/makefile/alternate Makefile.txt 2008-07-07 18:13:28.000000000 +0200 +++ projects/makefile/alternate Makefile.txt 2010-10-24 19:01:40.475643694 +0200 @@ -1,16 +1,16 @@ MAKE = make CC = gcc -INSTALL_FILE = install -p -o root -g root -m 644 -INSTALL_DIR = install -p -o root -g root -d +INSTALL_FILE = install -p -m 644 +INSTALL_DIR = install -p -d LN = ln -s RM = rm -fv -CFLAGS += -c -O2 -Wall +CFLAGS += -c -O2 -Wall -fPIC LDFLAGS += CFILES = image_DXT.c image_helper.c SOIL.c stb_image_aug.c OFILES = $(CFILES:.c=.o) LIBNAME = libSOIL -VERSION = 1.07-20071110 +VERSION = 1.07-20080707 MAJOR = 1 HFILES = SOIL.h image_DXT.h image_helper.h \ @@ -27,15 +27,15 @@ lib: $(OFILES) # create static library - ar -cvq $(LIBNAME).a $(OFILES) + #ar -cvq $(LIBNAME).a $(OFILES) # create shared library - gcc -shared -Wl,-soname,$(LIBNAME).so.$(MAJOR) -o $(LIBNAME).so.$(VERSION) $(OFILES) + gcc -shared -Wl,-soname,$(LIBNAME).so.$(MAJOR) -o $(LIBNAME).so.$(VERSION) $(OFILES) -lGL -lm install: $(INSTALL_DIR) $(DESTDIR)/$(INCLUDEDIR) $(INSTALL_FILE) $(HFILES) $(DESTDIR)/$(INCLUDEDIR) $(INSTALL_DIR) $(DESTDIR)/$(LIBDIR) - $(INSTALL_FILE) $(AFILE) $(DESTDIR)/$(LIBDIR) + #$(INSTALL_FILE) $(AFILE) $(DESTDIR)/$(LIBDIR) $(INSTALL_FILE) $(SOFILE) $(DESTDIR)/$(LIBDIR) ( cd $(DESTDIR)/$(LIBDIR) && $(LN) $(SOFILE) $(LIBNAME).so.$(MAJOR) \ && $(LN) $(SOFILE) $(LIBNAME).so )
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.