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.)

     2 CC             = cc
     3 CFLAGS         =
     4 CPPFLAGS       =
     5 LDFLAGS        =
     6 LIBS           = -lpopt
     8 MUTEX_DOT_C    = mutex.c
    10 all: mutex
    12 mutex: $(MUTEX_DOT_C)
    13 	$(CC) $(CFLAGS) $(CPPFLAGS) -o mutex $(MUTEX_DOT_C) $(LDFLAGS) $(LIBS)
    15 clean:
    16 	-rm -f mutex

mercurial