Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
libSOIL
libSOIL-makefile.patch
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
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