openpkg/mutex.mk

Thu, 02 Aug 2012 00:16:26 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 02 Aug 2012 00:16:26 +0200
changeset 442
b2db2cf97b30
permissions
-rw-r--r--

Change smf(5) OpenPKG name handle to my personal preference, the prefix.
This matches the ${name} variable on uninstallation, but strangely when
installing an instance a bug causes ${name} to expand to openpkg-${prefix}.

     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