summaryrefslogtreecommitdiff
path: root/lib/ipmilib.mak
blob: a894d3f29e43e1e4376fe3f25e03fd84c221ef9b (plain)
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
# ipmilib.mak
# This makefile will build the ipmiutil lib directory
#
# Make sure to download and build openssl for Windows
#

# The ipmiutil lib directory
PLUS_DIR=lanplus
PLUS_LIB=lanplus.lib

# Set your compiler options
RM=del
CP=copy

all: banner $(PLUS_LIB)

banner:
	@echo Building ipmi libs

$(PLUS_LIB):    
    cd $(PLUS_DIR)
    nmake /nologo -f ipmiplus.mak all
    cd ..
    $(CP) $(PLUS_DIR)\$(PLUS_LIB) .

clean:
    $(RM) $(PLUS_LIB) 2>NUL
    cd $(PLUS_DIR)
    nmake /nologo -f ipmiplus.mak clean
    cd ..

distclean:
    $(RM) $(PLUS_LIB) 2>NUL
    cd $(PLUS_DIR)
    nmake /nologo -f ipmiplus.mak distclean
    cd ..