1 # Copyright (C) 2002 Cluster File Systems, Inc.
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
6 my_sources = api-errno.c api-ni.c api-wrap.c \
7 lib-init.c lib-me.c lib-msg.c lib-eq.c \
8 lib-md.c lib-move.c lib-ni.c lib-pid.c
13 noinst_LIBRARIES= libportals.a
14 libportals_a_SOURCES= $(my_sources)
15 libportals_a_CPPFLAGS = $(LLCPPFLAGS)
16 libportals_a_CFLAGS = $(LLCFLAGS)
22 modulenet_DATA = portals$(KMODEXT)
26 macos_PROGRAMS := portals
28 portals_SOURCES := api-errno.c api-ni.c api-wrap.c
29 portals_SOURCES += lib-init.c lib-me.c lib-msg.c lib-eq.c lib-md.c
30 portals_SOURCES += lib-move.c lib-ni.c lib-pid.c module.c
32 portals_CFLAGS := $(EXTRA_KCFLAGS)
33 portals_LDFLAGS := $(EXTRA_KLDFLAGS)
34 portals_LDADD := $(EXTRA_KLIBS)
36 plist_DATA := Info.plist
38 install-data-hook: fix-kext-ownership
46 EXTRA_DIST := Info.plist
48 MOSTLYCLEANFILES = *.o *.ko *.mod.c portals
49 DIST_SOURCES = $(portals-objs:%.o=%.c)