The DNA could be either PCR generated or a product of RE digestion. Also, if there is any particular minimum limit to the length of the target DNA to be self-ligated?
the attached paper may be useful using circligase to generate circular dna from linear which could then be use for inverse pcr or amplification using rolling circle amplification