# # Name: Makehead.linux # # Purpose: This file is used to customize operating system and installation # dependent features of the mx_bluice_server makefiles. This # version is customized for Linux. # # #========================================================================= # # Generally, you should not have to modify anything after this point. # CFLAGS = -g -fPIC $(GCCFLAGS) $(INCLUDES) -DOS_LINUX \ -Wmissing-prototypes $(EXTRA_FLAGS) -DDEBUG # MAKEDEPEND = gcc -MM $(CFLAGS) mxbl_*.c > Makefile.depend MAKEDEPEND_CLEAN = rm Makefile.depend MX_BLUICE_SERVER_NAME = mx_bluice_server MX_BLUICE_SERVER_OBJS = $(MX_BLUICE_SERVER_SRCS:.c=.$(OBJ)) #--------------------------------------------------------------------- MX_BLUICE_SERVER_DELETE = rm $(MX_BLUICE_SERVER_NAME) $(MX_BLUICE_SERVER_NAME): $(MX_BLUICE_SERVER_OBJS) -$(MX_BLUICE_SERVER_DELETE) $(CC) $(LINKFLAGS) -o $(MX_BLUICE_SERVER_NAME) \ $(MX_BLUICE_SERVER_OBJS) \ $(MX_BLUICE_SERVER_LIB_DIRS) \ $(MX_BLUICE_SERVER_LIBRARIES) -lc #--------------------------------------------------------------------- INCLUDES = -I$(LIBMXSRC) MX_BLUICE_SERVER_LIB_DIRS = -L$(LIBMXSRC) $(LIB_DIRS) MX_BLUICE_SERVER_LIBRARIES = -lMx $(LIBRARIES) #--------------------------------------------------------------------- mx_bluice_install: -mkdir $(MX_INSTALL_DIR)/sbin install -m 755 $(MX_BLUICE_SERVER_NAME) $(MX_INSTALL_DIR)/sbin