-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
42 lines (35 loc) · 1018 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# Copyright (c) 2008-2012 University of Houston. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
include Makefile.defs
HEADER = $(VOLPEX_INC_DIR)/SL.h
ifeq ($(CLUSTER),1)
all:
cd src/SockLib ; make
cd src/volpex ; make
cd src/contrib; make
cd src/startup; make
else
all:
cd src/SockLib ; make
cd src/volpex ; make
cd src/startup; make
endif
clean:
cd src/SockLib ; make clean
cd src/volpex ; make clean
cd src/contrib; make clean
cd src/startup; make clean
$(RM) $(RMFLAGS) *~ $(VOLPEX_INC_DIR)/*~ *.out
$(RM) $(RMFLAGS) $(VOLPEX_LIB_DIR)/$(VOLPEX_LIB)
install:
test -z $(VOLPEX_INSTALL_DIR)/lib || mkdir -p $(VOLPEX_INSTALL_DIR)/lib
install -c -m 644 $(VOLPEX_LIB_DIR)/$(VOLPEX_LIB) $(VOLPEX_INSTALL_DIR)/lib/
test -z $(VOLPEX_INSTALL_DIR)/include || mkdir -p $(VOLPEX_INSTALL_DIR)/include
install -c -m 644 $(VOLPEX_INC_DIR)/VOLPEX.h $(VOLPEX_INSTALL_DIR)/include/
install -c -m 644 $(ADCL_INC_DIR)/SL.h $(VOLPEX_INSTALL_DIR)/include/