2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
.IF "$(YACCTARGET)"!=""
|
2002-04-26 04:27:27 -05:00
|
|
|
$(MISC)$/%.cxx : %.y
|
2000-09-20 08:43:26 -05:00
|
|
|
@echo ------------------------------
|
|
|
|
@echo Making: $@
|
2002-07-17 09:34:25 -05:00
|
|
|
.IF "$(GUI)"=="UNX" || "$(USE_SHELL)" != "4nt"
|
|
|
|
+tr -d "\015" < $< > $(MISC)$/stripped_$<
|
|
|
|
.ELSE
|
|
|
|
+cat $< > $(MISC)$/stripped_$<
|
|
|
|
.ENDIF
|
|
|
|
$(BISON) $(YACCFLAGS) $(YACCTARGET) $(MISC)$/stripped_$<
|
2002-03-06 05:52:55 -06:00
|
|
|
# removing -f switch - avoid getting nothing when copying a file to itself
|
|
|
|
@+-$(COPY:s/-f//) $@.h $(INCCOM)$/$(@:b).hxx >& $(NULLDEV)
|
|
|
|
@+-$(COPY:s/-f//) $(@:d)$/$(@:b).hxx $(INCCOM)$/$(@:b).hxx >& $(NULLDEV)
|
|
|
|
+$(TYPE) $(INCCOM)$/$(@:b).hxx >& $(NULLDEV)
|
2002-04-30 09:52:06 -05:00
|
|
|
|
|
|
|
$(INCCOM)$/yy%.cxx : %.y
|
|
|
|
@echo ------------------------------
|
|
|
|
@echo Making: $@
|
2002-07-17 09:34:25 -05:00
|
|
|
.IF "$(GUI)"=="UNX" || "$(USE_SHELL)" != "4nt"
|
|
|
|
+tr -d "\015" < $< > $(MISC)$/stripped_$<
|
|
|
|
.ELSE
|
|
|
|
+cat $< > $(MISC)$/stripped_$<
|
|
|
|
.ENDIF
|
|
|
|
$(BISON) $(YACCFLAGS) $(YACCTARGET) $(MISC)$/stripped_$<
|
2002-04-30 09:52:06 -05:00
|
|
|
# removing -f switch - avoid getting nothing when copying a file to itself
|
|
|
|
@+-$(COPY:s/-f//) $@.h $(INCCOM)$/$(@:b).hxx >& $(NULLDEV)
|
|
|
|
@+-$(COPY:s/-f//) $(@:d)$/$(@:b).hxx $(INCCOM)$/$(@:b).hxx >& $(NULLDEV)
|
|
|
|
+$(TYPE) $(INCCOM)$/$(@:b).hxx >& $(NULLDEV)
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
|