Cleaned up Borland build files (whitespace) and subtle bug in lib makefile.
This commit is contained in:
+19
-19
@@ -21,27 +21,27 @@ clean: lib/Makefile\
|
|||||||
demo/iamrouter/Makefile \
|
demo/iamrouter/Makefile \
|
||||||
demo/initrouter/Makefile \
|
demo/initrouter/Makefile \
|
||||||
demo/mstpcap/Makefile
|
demo/mstpcap/Makefile
|
||||||
( cd lib ; make clean )
|
make -C lib clean
|
||||||
( cd demo/readprop ; make clean )
|
make -C demo/readprop clean
|
||||||
( cd demo/readpropm ; make clean )
|
make -C demo/readpropm clean
|
||||||
( cd demo/writeprop ; make clean )
|
make -C demo/writeprop clean
|
||||||
( cd demo/readfile ; make clean )
|
make -C demo/readfile clean
|
||||||
( cd demo/writefile ; make clean )
|
make -C demo/writefile clean
|
||||||
( cd demo/reinit ; make clean )
|
make -C demo/reinit clean
|
||||||
( cd demo/server ; make clean )
|
make -C demo/server clean
|
||||||
( cd demo/dcc ; make clean )
|
make -C demo/dcc clean
|
||||||
( cd demo/whohas ; make clean )
|
make -C demo/whohas clean
|
||||||
( cd demo/whois ; make clean )
|
make -C demo/whois clean
|
||||||
( cd demo/ucov ; make clean )
|
make -C demo/ucov clean
|
||||||
( cd demo/timesync ; make clean )
|
make -C demo/timesync clean
|
||||||
( cd demo/epics ; make clean )
|
make -C demo/epics clean
|
||||||
( cd demo/whoisrouter ; make clean )
|
make -C demo/whoisrouter clean
|
||||||
( cd demo/iamrouter ; make clean )
|
make -C demo/iamrouter clean
|
||||||
( cd demo/initrouter ; make clean )
|
make -C demo/initrouter clean
|
||||||
( cd demo/mstpcap ; make clean )
|
make -C demo/mstpcap clean
|
||||||
|
|
||||||
library: lib/Makefile
|
library: lib/Makefile
|
||||||
( cd lib ; make )
|
make -C lib all
|
||||||
|
|
||||||
readprop: demo/readprop/Makefile
|
readprop: demo/readprop/Makefile
|
||||||
( cd demo/readprop ; make ; cp bacrp ../../bin )
|
( cd demo/readprop ; make ; cp bacrp ../../bin )
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# target
|
# target
|
||||||
@@ -116,20 +116,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacepics
|
PRODUCT = bacepics
|
||||||
@@ -118,20 +118,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# target
|
# target
|
||||||
@@ -116,20 +116,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# target
|
# target
|
||||||
@@ -116,20 +116,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# target
|
# target
|
||||||
@@ -116,20 +116,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacarf
|
PRODUCT = bacarf
|
||||||
@@ -115,20 +115,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacrpm
|
PRODUCT = bacrpm
|
||||||
@@ -115,20 +115,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacrd
|
PRODUCT = bacrd
|
||||||
@@ -115,20 +115,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# target
|
# target
|
||||||
@@ -124,21 +124,21 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
#-Od #disable all optimizations
|
#-Od #disable all optimizations
|
||||||
-O2 #disable all optimizations
|
-O2 #disable all optimizations
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacts
|
PRODUCT = bacts
|
||||||
@@ -115,20 +115,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacucov
|
PRODUCT = bacucov
|
||||||
@@ -115,20 +115,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacwh
|
PRODUCT = bacwh
|
||||||
@@ -115,20 +115,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacwi
|
PRODUCT = bacwi
|
||||||
@@ -115,20 +115,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# target
|
# target
|
||||||
@@ -116,20 +116,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacawf
|
PRODUCT = bacawf
|
||||||
@@ -115,20 +115,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacwp
|
PRODUCT = bacwp
|
||||||
@@ -119,20 +119,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
TARGET = bacnet
|
TARGET = bacnet
|
||||||
@@ -34,7 +34,14 @@ INCLUDES = \
|
|||||||
-I$(BACNET_OBJECT) \
|
-I$(BACNET_OBJECT) \
|
||||||
-I$(BACNET_HANDLER)
|
-I$(BACNET_HANDLER)
|
||||||
|
|
||||||
CORE1_SRC = $(BACNET_CORE)\apdu.c \
|
CORE1_SRC = $(BACNET_CORE)\indtext.c \
|
||||||
|
$(BACNET_CORE)\debug.c \
|
||||||
|
$(BACNET_CORE)\bigend.c \
|
||||||
|
$(BACNET_CORE)\filename.c \
|
||||||
|
$(BACNET_CORE)\memcopy.c \
|
||||||
|
$(BACNET_CORE)\version.c
|
||||||
|
|
||||||
|
CORE2_SRC = $(BACNET_CORE)\apdu.c \
|
||||||
$(BACNET_CORE)\npdu.c \
|
$(BACNET_CORE)\npdu.c \
|
||||||
$(BACNET_CORE)\bacdcode.c \
|
$(BACNET_CORE)\bacdcode.c \
|
||||||
$(BACNET_CORE)\bacint.c \
|
$(BACNET_CORE)\bacint.c \
|
||||||
@@ -44,20 +51,14 @@ CORE1_SRC = $(BACNET_CORE)\apdu.c \
|
|||||||
$(BACNET_CORE)\bacprop.c \
|
$(BACNET_CORE)\bacprop.c \
|
||||||
$(BACNET_CORE)\bactext.c \
|
$(BACNET_CORE)\bactext.c \
|
||||||
$(BACNET_CORE)\datetime.c \
|
$(BACNET_CORE)\datetime.c \
|
||||||
$(BACNET_CORE)\indtext.c \
|
|
||||||
$(BACNET_CORE)\debug.c \
|
|
||||||
$(BACNET_CORE)\bigend.c \
|
|
||||||
$(BACNET_CORE)\abort.c \
|
$(BACNET_CORE)\abort.c \
|
||||||
$(BACNET_CORE)\reject.c \
|
$(BACNET_CORE)\reject.c \
|
||||||
$(BACNET_CORE)\bacerror.c \
|
$(BACNET_CORE)\bacerror.c \
|
||||||
$(BACNET_CORE)\filename.c \
|
|
||||||
$(BACNET_CORE)\memcopy.c \
|
|
||||||
$(BACNET_CORE)\tsm.c \
|
$(BACNET_CORE)\tsm.c \
|
||||||
$(BACNET_CORE)\bacaddr.c \
|
$(BACNET_CORE)\bacaddr.c \
|
||||||
$(BACNET_CORE)\address.c \
|
$(BACNET_CORE)\address.c
|
||||||
$(BACNET_CORE)\version.c
|
|
||||||
|
|
||||||
CORE2_SRC = $(BACNET_CORE)\arf.c \
|
CORE3_SRC = $(BACNET_CORE)\arf.c \
|
||||||
$(BACNET_CORE)\awf.c \
|
$(BACNET_CORE)\awf.c \
|
||||||
$(BACNET_CORE)\cov.c \
|
$(BACNET_CORE)\cov.c \
|
||||||
$(BACNET_CORE)\dcc.c \
|
$(BACNET_CORE)\dcc.c \
|
||||||
@@ -129,12 +130,14 @@ PORT_SRC = $(BACNET_PORT)\bip-init.c \
|
|||||||
|
|
||||||
CORE1_OBJ = ${CORE1_SRC:.c=.obj}
|
CORE1_OBJ = ${CORE1_SRC:.c=.obj}
|
||||||
CORE2_OBJ = ${CORE2_SRC:.c=.obj}
|
CORE2_OBJ = ${CORE2_SRC:.c=.obj}
|
||||||
|
CORE3_OBJ = ${CORE3_SRC:.c=.obj}
|
||||||
PORT_OBJ = ${PORT_SRC:.c=.obj}
|
PORT_OBJ = ${PORT_SRC:.c=.obj}
|
||||||
HANDLER_OBJ = ${HANDLER_SRC:.c=.obj}
|
HANDLER_OBJ = ${HANDLER_SRC:.c=.obj}
|
||||||
OBJECT_OBJ = ${OBJECT_SRC:.c=.obj}
|
OBJECT_OBJ = ${OBJECT_SRC:.c=.obj}
|
||||||
|
|
||||||
OBJS = ${CORE1_OBJ} \
|
OBJS = ${CORE1_OBJ} \
|
||||||
${CORE2_OBJ} \
|
${CORE2_OBJ} \
|
||||||
|
${CORE3_OBJ} \
|
||||||
${PORT_OBJ} \
|
${PORT_OBJ} \
|
||||||
${HANDLER_OBJ} \
|
${HANDLER_OBJ} \
|
||||||
${OBJECT_OBJ}
|
${OBJECT_OBJ}
|
||||||
@@ -152,20 +155,16 @@ LFLAGS = /E /P4096
|
|||||||
|
|
||||||
# 'all' should be the first one in the makefile
|
# 'all' should be the first one in the makefile
|
||||||
|
|
||||||
all: $(BCC_CFG) $(OBJS) makefile.b32
|
all: $(BCC_CFG) $(OBJS) makefile.b32 $(LIBRARY)
|
||||||
del $(TARGET).BAK
|
@echo Finished!
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
del &&| ${CORE1_OBJ}
|
del ${CORE1_OBJ}
|
||||||
|
|
del ${CORE2_OBJ}
|
||||||
del &&| ${CORE2_OBJ}
|
del ${CORE3_OBJ}
|
||||||
|
|
del ${PORT_OBJ}
|
||||||
del &&| ${PORT_OBJ}
|
del ${HANDLER_OBJ}
|
||||||
|
|
del ${OBJECT_OBJ}
|
||||||
del &&| ${HANDLER_OBJ}
|
|
||||||
|
|
|
||||||
del &&| ${OBJECT_OBJ}
|
|
||||||
|
|
|
||||||
del ${LIBRARY}
|
del ${LIBRARY}
|
||||||
del $(BCC_CFG)
|
del $(BCC_CFG)
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
!ifndef BORLAND_DIR
|
!ifndef BORLAND_DIR
|
||||||
BORLAND_DIR_Not_Defined:
|
BORLAND_DIR_Not_Defined:
|
||||||
@echo .
|
@echo .
|
||||||
@echo You must define environment variable BORLAND_DIR to compile.
|
@echo You must define environment variable BORLAND_DIR to compile.
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PRODUCT = bacnet
|
PRODUCT = bacnet
|
||||||
@@ -116,20 +116,20 @@ clean :
|
|||||||
|
|
||||||
# Compiler configuration file
|
# Compiler configuration file
|
||||||
$(BCC_CFG) :
|
$(BCC_CFG) :
|
||||||
Copy &&|
|
Copy &&|
|
||||||
$(CFLAGS)
|
$(CFLAGS)
|
||||||
-c
|
-c
|
||||||
-y #include line numbers in OBJ's
|
-y #include line numbers in OBJ's
|
||||||
-v #include debug info
|
-v #include debug info
|
||||||
-w+ #turn on all warnings
|
-w+ #turn on all warnings
|
||||||
-Od #disable all optimizations
|
-Od #disable all optimizations
|
||||||
#-a4 #32 bit data alignment
|
#-a4 #32 bit data alignment
|
||||||
#-M # generate link map
|
#-M # generate link map
|
||||||
#-ls # linker options
|
#-ls # linker options
|
||||||
#-WM- #not multithread
|
#-WM- #not multithread
|
||||||
-WM #multithread
|
-WM #multithread
|
||||||
-w-aus # ignore warning assigned a value that is never used
|
-w-aus # ignore warning assigned a value that is never used
|
||||||
-w-sig # ignore warning conversion may lose sig digits
|
-w-sig # ignore warning conversion may lose sig digits
|
||||||
| $@
|
| $@
|
||||||
|
|
||||||
# EOF: makefile
|
# EOF: makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user