home *** CD-ROM | disk | FTP | other *** search
/ ftp.parl.clemson.edu / 2015-02-07.ftp.parl.clemson.edu.tar / ftp.parl.clemson.edu / pub / pvfs2 / orangefs-2.8.3-20110323.tar.gz / orangefs-2.8.3-20110323.tar / orangefs / src / server / module.mk.in < prev    next >
Text File  |  2010-08-31  |  2KB  |  73 lines

  1. BUILD_SERVER = @BUILD_SERVER@
  2. PVFS2_SEGV_BACKTRACE = @PVFS2_SEGV_BACKTRACE@
  3.  
  4. ifdef BUILD_SERVER
  5.         DIR := src/server
  6.  
  7.         # automatically generated c files
  8.         SERVER_SMCGEN := \
  9.         $(DIR)/pjmp-machines.c \
  10.         $(DIR)/setparam.c \
  11.         $(DIR)/lookup.c \
  12.         $(DIR)/create.c \
  13.         $(DIR)/mirror.c \
  14.         $(DIR)/create-immutable-copies.c \
  15.         $(DIR)/batch-create.c \
  16.         $(DIR)/batch-remove.c \
  17.         $(DIR)/crdirent.c \
  18.         $(DIR)/set-attr.c \
  19.         $(DIR)/mkdir.c \
  20.         $(DIR)/get-attr.c \
  21.         $(DIR)/list-attr.c \
  22.         $(DIR)/readdir.c \
  23.         $(DIR)/get-config.c \
  24.         $(DIR)/remove.c \
  25.         $(DIR)/rmdirent.c \
  26.         $(DIR)/chdirent.c \
  27.         $(DIR)/io.c \
  28.         $(DIR)/small-io.c \
  29.         $(DIR)/flush.c \
  30.         $(DIR)/truncate.c\
  31.         $(DIR)/noop.c \
  32.         $(DIR)/statfs.c \
  33.         $(DIR)/prelude.c \
  34.         $(DIR)/final-response.c \
  35.         $(DIR)/perf-update.c \
  36.         $(DIR)/perf-mon.c \
  37.         $(DIR)/iterate-handles.c \
  38.         $(DIR)/job-timer.c \
  39.         $(DIR)/proto-error.c \
  40.         $(DIR)/mgmt-remove-object.c \
  41.         $(DIR)/mgmt-remove-dirent.c \
  42.         $(DIR)/mgmt-get-dirdata-handle.c \
  43.         $(DIR)/get-eattr.c \
  44.         $(DIR)/set-eattr.c \
  45.         $(DIR)/del-eattr.c \
  46.         $(DIR)/list-eattr.c \
  47.         $(DIR)/unexpected.c \
  48.         $(DIR)/precreate-pool-refiller.c \
  49.         $(DIR)/unstuff.c \
  50.                 $(DIR)/tree-communicate.c
  51.  
  52.     # c files that should be added to server library
  53.     SERVERSRC += \
  54.         $(SERVER_SMCGEN)
  55.  
  56.     # track generate .c files to remove during dist clean, etc. 
  57.         SMCGEN += $(SERVER_SMCGEN)
  58.  
  59.     # server code that will be linked manually, not included in library
  60.     SERVERBINSRC += \
  61.         $(DIR)/pvfs2-server.c $(DIR)/pvfs2-server-req.c
  62.  
  63.     # to stat the fs, need to know about handle statistics
  64.     MODCFLAGS_$(DIR)/statfs.c = \
  65.         -I$(srcdir)/src/io/trove/trove-handle-mgmt
  66.  
  67. ifdef PVFS2_SEGV_BACKTRACE
  68.     MODCFLAGS_$(DIR)/pvfs2-server.c := -D__PVFS2_SEGV_BACKTRACE__
  69. endif
  70.  
  71. endif
  72.  
  73.