2 # uncomment this to send the correct hostname to the client
3 # otherwise 'DEFAULT_HOSTNAME' will be sent
4 # REAL_HOSTNAME = "-DSEND_REAL_HOSTNAME"
6 DEFAULT_HOSTNAME
="-DDEFAULT_HOSTNAME=\\\"ipc\\\""
8 # this is the path mopd will look for files in
9 MOP_PATH
="-DMOP_FILE_PATH=\\\"/tftpboot/mop\\\""
11 # compiling on Alpha Linux 2.2.17 i needed the following:
12 # AOUT_SUPPORT="-DNOAOUT"
15 CFLAGS
="-fcommon ${AOUT_SUPPORT} ${MOP_PATH} ${DEFAULT_HOSTNAME} ${REAL_HOSTNAME}"
17 #make file to build linux-mopd
18 SUBDIRS
=common mopd mopchk mopprobe moptrace
21 for
dir in
${SUBDIRS}; \
24 (cd
$$dir; make CFLAGS
=$(CFLAGS
) ) ; \
29 for
dir in
${SUBDIRS} ; \
31 (cd
$$dir ; make
clean); \