1 # Copyright (C) 2001, 2002 Cluster File Systems, Inc.
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
8 modulenet_DATA = portals.o
9 EXTRA_PROGRAMS = portals
11 LIBLINKS := lib-dispatch.c lib-eq.c lib-init.c lib-md.c lib-me.c lib-move.c lib-msg.c lib-ni.c lib-pid.c
12 APILINKS := api-eq.c api-errno.c api-init.c api-me.c api-ni.c api-wrap.c
13 LINKS = $(APILINKS) $(LIBLINKS)
14 DISTCLEANFILES = $(LINKS) link-stamp *.orig *.rej
18 -list='$(LIBLINKS)'; for f in $$list; do echo $$f ; ln -sf $(srcdir)/../portals/$$f .; done
19 -list='$(APILINKS)'; for f in $$list; do echo $$f ; ln -sf $(srcdir)/../portals/$$f .; done
20 echo timestamp > link-stamp
23 portals_SOURCES = $(LINKS) module.c proc.c debug.c
25 # Don't distribute any patched files.
27 list='$(EXT2C)'; for f in $$list; do rm -f $(distdir)/$$f; done
29 include ../Rules.linux