openpkg/mutex.mk

Wed, 01 Aug 2012 23:54:32 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Aug 2012 23:54:32 +0200
changeset 437
b9d4495f105f
permissions
-rw-r--r--

Add smf(5) logic in addition to legacy initialization scripts.
The introduced smf logic causes Solaris platforms supporting the
smf(5) to integrate new OpenPKG manifests and associated configuration.

     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