avoid problems with echo and quotes in Windows
This commit is contained in:
@ -86,10 +86,7 @@ streamReferences: ../CONFIG_STREAM
|
|||||||
|
|
||||||
# create stream.dbd from all RECORDTYPES
|
# create stream.dbd from all RECORDTYPES
|
||||||
$(COMMON_DIR)/$(LIBRARY_DEFAULT).dbd: ../CONFIG_STREAM
|
$(COMMON_DIR)/$(LIBRARY_DEFAULT).dbd: ../CONFIG_STREAM
|
||||||
$(PERL) ../makedbd.pl $(RECORDTYPES) > $@
|
$(PERL) ../makedbd.pl $(if $(ASYN),--with-asyn) $(if $(BASE_3_14),,-3.13) $(RECORDTYPES) > $@
|
||||||
ifdef ASYN
|
|
||||||
echo "registrar(AsynDriverInterfaceRegistrar)" >> $@
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(LIBRARY_DEFAULT).dbd$(DEP): ../CONFIG_STREAM
|
$(LIBRARY_DEFAULT).dbd$(DEP): ../CONFIG_STREAM
|
||||||
echo $(LIBRARY_DEFAULT).dbd: $< > $@
|
echo $(LIBRARY_DEFAULT).dbd: $< > $@
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
if (@ARGV[0] == "-3.13") {
|
if (@ARGV[0] eq "--with-asyn") {
|
||||||
|
shift;
|
||||||
|
$asyn = 1;
|
||||||
|
}
|
||||||
|
if (@ARGV[0] eq "-3.13") {
|
||||||
shift;
|
shift;
|
||||||
} else {
|
} else {
|
||||||
print "variable(streamDebug, int)\n";
|
print "variable(streamDebug, int)\n";
|
||||||
print "variable(streamError, int)\n";
|
print "variable(streamError, int)\n";
|
||||||
print "registrar(streamRegistrar)\n";
|
print "registrar(streamRegistrar)\n";
|
||||||
|
if ($asyn) { print "registrar(AsynDriverInterfaceRegistrar)\n"; }
|
||||||
}
|
}
|
||||||
print "driver(stream)\n";
|
print "driver(stream)\n";
|
||||||
for (@ARGV) {
|
for (@ARGV) {
|
||||||
|
Reference in New Issue
Block a user