diff options
Diffstat (limited to 'ACE/include/makeinclude/clean.bor')
-rw-r--r-- | ACE/include/makeinclude/clean.bor | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/clean.bor b/ACE/include/makeinclude/clean.bor new file mode 100644 index 00000000000..bdc7752e8a6 --- /dev/null +++ b/ACE/include/makeinclude/clean.bor @@ -0,0 +1,139 @@ +# +# $Id$ +# +# Rules for cleaning up intermediate files +# + +!ifdef CBX +clean: clean_cbx +realclean: realclean_cbx +!else +clean: clean_bcb +realclean: realclean_bcb +!endif + +clean_bcb: + @copy &&! +@del $(OBJFILES:.obj=.obj ^ +@del ) $(IDLFILES:.idl=C.cpp ^ +@del ) $(IDLFILES:.idl=C.h ^ +@del ) $(IDLFILES:.idl=C.i ^ +@del ) $(IDLFILES:.idl=S.cpp ^ +@del ) $(IDLFILES:.idl=S.h ^ +@del ) $(IDLFILES:.idl=S.i ^ +@del ) $(IDLFILES:.idl=S_T.cpp ^ +@del ) $(IDLFILES:.idl=S_T.h ^ +@del ) $(IDLFILES:.idl=S_T.i ^ +@del ) $(IDLFILES:.idl=Cli.cpp ^ +@del ) $(IDLFILES:.idl=Cli.h ^ +@del ) $(IDLFILES:.idl=Cli.i ^ +@del ) $(IDLFILES:.idl=Ser.cpp ^ +@del ) $(IDLFILES:.idl=Ser.h ^ +@del ) $(IDLFILES:.idl=Ser.i ^ +@del ) $(IDLFILES:.idl=Ser_T.cpp ^ +@del ) $(IDLFILES:.idl=Ser_T.h ^ +@del ) $(IDLFILES:.idl=Ser_T.i ^ +@del ) $(RESOURCE) +! clean_$(NAME)~.bat 1> NUL + -@clean_$(NAME)~.bat 2> NUL + @del clean_$(NAME)~.bat + +clean_cbx: + @copy &&! +@del $(OBJFILES:.o=.o ^ +@del ) $(IDLFILES:.idl=C.cpp ^ +@del ) $(IDLFILES:.idl=C.h ^ +@del ) $(IDLFILES:.idl=C.i ^ +@del ) $(IDLFILES:.idl=S.cpp ^ +@del ) $(IDLFILES:.idl=S.h ^ +@del ) $(IDLFILES:.idl=S.i ^ +@del ) $(IDLFILES:.idl=S_T.cpp ^ +@del ) $(IDLFILES:.idl=S_T.h ^ +@del ) $(IDLFILES:.idl=S_T.i ^ +@del ) $(IDLFILES:.idl=Cli.cpp ^ +@del ) $(IDLFILES:.idl=Cli.h ^ +@del ) $(IDLFILES:.idl=Cli.i ^ +@del ) $(IDLFILES:.idl=Ser.cpp ^ +@del ) $(IDLFILES:.idl=Ser.h ^ +@del ) $(IDLFILES:.idl=Ser.i ^ +@del ) $(IDLFILES:.idl=Ser_T.cpp ^ +@del ) $(IDLFILES:.idl=Ser_T.h ^ +@del ) $(IDLFILES:.idl=Ser_T.i ^ +@del ) $(RESOURCE) +! clean_$(NAME)~.bat 1> NUL + -@clean_$(NAME)~.bat 2> NUL + @del clean_$(NAME)~.bat + +realclean_bcb: + @copy &&! +@del $(OBJFILES:.obj=.obj ^ +@del ) $(IDLFILES:.idl=C.cpp ^ +@del ) $(IDLFILES:.idl=C.h ^ +@del ) $(IDLFILES:.idl=C.i ^ +@del ) $(IDLFILES:.idl=S.cpp ^ +@del ) $(IDLFILES:.idl=S.h ^ +@del ) $(IDLFILES:.idl=S.i ^ +@del ) $(IDLFILES:.idl=S_T.cpp ^ +@del ) $(IDLFILES:.idl=S_T.h ^ +@del ) $(IDLFILES:.idl=S_T.i ^ +@del ) $(IDLFILES:.idl=Cli.cpp ^ +@del ) $(IDLFILES:.idl=Cli.h ^ +@del ) $(IDLFILES:.idl=Cli.i ^ +@del ) $(IDLFILES:.idl=Ser.cpp ^ +@del ) $(IDLFILES:.idl=Ser.h ^ +@del ) $(IDLFILES:.idl=Ser.i ^ +@del ) $(IDLFILES:.idl=Ser_T.cpp ^ +@del ) $(IDLFILES:.idl=Ser_T.h ^ +@del ) $(IDLFILES:.idl=Ser_T.i ^ +@del ) $(RESOURCE) +! realclean_$(NAME)~.bat 1> NUL + -@realclean_$(NAME)~.bat 2> NUL + @del realclean_$(NAME)~.bat + -@del $(TARGET) 2>NUL + -@del $(TARGET:.exe=.tds) 2>NUL + -@del $(TARGET:.dll=.tds) 2>NUL + -@del $(TARGET:.dll=.lib) 2>NUL + -@del $(OBJDIR)\$(NAME).csm 2>NUL + -@del $(OBJDIR)\$(NAME).\#* 2>NUL +!ifdef CORE_TARGET + -@del $(CORE_TARGET) 2>NUL + -@del $(CORE_TARGET:.exe=.tds) 2>NUL + -@del $(CORE_TARGET:.dll=.tds) 2>NUL +!endif + +realclean_cbx: + @copy &&! +@del $(OBJFILES:.o=.o ^ +@del ) $(IDLFILES:.idl=C.cpp ^ +@del ) $(IDLFILES:.idl=C.h ^ +@del ) $(IDLFILES:.idl=C.i ^ +@del ) $(IDLFILES:.idl=S.cpp ^ +@del ) $(IDLFILES:.idl=S.h ^ +@del ) $(IDLFILES:.idl=S.i ^ +@del ) $(IDLFILES:.idl=S_T.cpp ^ +@del ) $(IDLFILES:.idl=S_T.h ^ +@del ) $(IDLFILES:.idl=S_T.i ^ +@del ) $(IDLFILES:.idl=Cli.cpp ^ +@del ) $(IDLFILES:.idl=Cli.h ^ +@del ) $(IDLFILES:.idl=Cli.i ^ +@del ) $(IDLFILES:.idl=Ser.cpp ^ +@del ) $(IDLFILES:.idl=Ser.h ^ +@del ) $(IDLFILES:.idl=Ser.i ^ +@del ) $(IDLFILES:.idl=Ser_T.cpp ^ +@del ) $(IDLFILES:.idl=Ser_T.h ^ +@del ) $(IDLFILES:.idl=Ser_T.i ^ +@del ) $(RESOURCE) +! realclean_$(NAME)~.bat 1> NUL + -@realclean_$(NAME)~.bat 2> NUL + @del realclean_$(NAME)~.bat + -@del $(TARGET) 2>NUL + -@del $(TARGET:.exe=.tds) 2>NUL + -@del $(TARGET:.dll=.tds) 2>NUL + -@del $(TARGET:.dll=.lib) 2>NUL + -@del $(OBJDIR)\$(NAME).csm 2>NUL + -@del $(OBJDIR)\$(NAME).\#* 2>NUL +!ifdef CORE_TARGET + -@del $(CORE_TARGET) 2>NUL + -@del $(CORE_TARGET:.exe=.tds) 2>NUL + -@del $(CORE_TARGET:.dll=.tds) 2>NUL +!endif |