Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
checkinstall
checkinstall-makefile_cleanup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File checkinstall-makefile_cleanup.patch of Package checkinstall
--- installwatch-0.7.0beta5/Makefile +++ installwatch-0.7.0beta5/Makefile @@ -14,13 +14,18 @@ BINDIR=$(PREFIX)/bin LIBDIR=$(PREFIX)/lib +LIBS = -ldl +DEFINES = -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"$(VERSION)\" +CFLAGS = -Wall +ALL_CFLAGS = $(CFLAGS) $(DEFINES) + all: installwatch.so installwatch.so: installwatch.o ld -shared -o installwatch.so installwatch.o -ldl -lc installwatch.o: installwatch.c localdecls.h - gcc -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"$(VERSION)\" installwatch.c + gcc $(ALL_CFLAGS) -c installwatch.c localdecls.h: ./create-localdecls @@ -47,7 +52,7 @@ tar -czvC .. -f ../installwatch-$(VERSION).tar.gz installwatch-$(VERSION) test: install - gcc -Wall -DVERSION=\"$(VERSION)\" -o test-installwatch test-installwatch.c -ldl - $(PREFIX)/bin/installwatch ./test-installwatch + gcc $(ALL_CFLAGS) -o test-installwatch test-installwatch.c $(LIBS) + $(DESTDIR)$(PREFIX)/bin/installwatch ./test-installwatch
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