openpkg/mutex.mk

Wed, 29 Aug 2012 21:07:12 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 29 Aug 2012 21:07:12 +0200
changeset 649
c44c510c1c7f
permissions
-rw-r--r--

Back out libexec substitution now longer correct, remove manpages correspoding
to not installed binaries, and most importantly avoid linking to
cats_dummy which serves no other purpose than to sabotage runtime
operations of all binaries calling db_init_database(3) with a fatal
error message 'Please replace this dummy libbaccats library with a
proper one.' Disabling libtool use resolves this problem in the build
configuration (probably in src/cats/Makefile.in.)

michael@428 1
michael@428 2 CC = cc
michael@428 3 CFLAGS =
michael@428 4 CPPFLAGS =
michael@428 5 LDFLAGS =
michael@428 6 LIBS = -lpopt
michael@428 7
michael@428 8 MUTEX_DOT_C = mutex.c
michael@428 9
michael@428 10 all: mutex
michael@428 11
michael@428 12 mutex: $(MUTEX_DOT_C)
michael@428 13 $(CC) $(CFLAGS) $(CPPFLAGS) -o mutex $(MUTEX_DOT_C) $(LDFLAGS) $(LIBS)
michael@428 14
michael@428 15 clean:
michael@428 16 -rm -f mutex
michael@428 17

mercurial