From: konrad Date: Wed, 28 Jul 2010 06:37:23 +0000 (+0000) Subject: move targets and processor into separate dirs X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=234799c9b89f9debdba7936d765679c0449dd4a2;p=web%2Fkonrad%2Fpack.git move targets and processor into separate dirs git-svn-id: https://silmor.de/svn/softmagic/pack/trunk@576 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/woc/php/php.pri b/woc/php/php.pri new file mode 100644 index 0000000..93f22a7 --- /dev/null +++ b/woc/php/php.pri @@ -0,0 +1,16 @@ +SOURCES+= \ + php/phpout.cpp \ + php/phpclass.cpp \ + php/phptrans.cpp \ + php/phpctrans.cpp \ + php/phpstrans.cpp \ + php/phpdb.cpp +HEADERS+= \ + php/phpout.h \ + php/phpdb.h \ + php/phpclass.h \ + php/phptrans.h \ + php/phpctrans.h \ + php/phpstrans.h + +INCLUDEPATH += php diff --git a/woc/phpclass.cpp b/woc/php/phpclass.cpp similarity index 100% rename from woc/phpclass.cpp rename to woc/php/phpclass.cpp diff --git a/woc/phpclass.h b/woc/php/phpclass.h similarity index 100% rename from woc/phpclass.h rename to woc/php/phpclass.h diff --git a/woc/phpconst.h b/woc/php/phpconst.h similarity index 100% rename from woc/phpconst.h rename to woc/php/phpconst.h diff --git a/woc/phpctrans.cpp b/woc/php/phpctrans.cpp similarity index 100% rename from woc/phpctrans.cpp rename to woc/php/phpctrans.cpp diff --git a/woc/phpctrans.h b/woc/php/phpctrans.h similarity index 100% rename from woc/phpctrans.h rename to woc/php/phpctrans.h diff --git a/woc/phpdb.cpp b/woc/php/phpdb.cpp similarity index 100% rename from woc/phpdb.cpp rename to woc/php/phpdb.cpp diff --git a/woc/phpdb.h b/woc/php/phpdb.h similarity index 100% rename from woc/phpdb.h rename to woc/php/phpdb.h diff --git a/woc/phpout.cpp b/woc/php/phpout.cpp similarity index 100% rename from woc/phpout.cpp rename to woc/php/phpout.cpp diff --git a/woc/phpout.h b/woc/php/phpout.h similarity index 100% rename from woc/phpout.h rename to woc/php/phpout.h diff --git a/woc/phpstrans.cpp b/woc/php/phpstrans.cpp similarity index 100% rename from woc/phpstrans.cpp rename to woc/php/phpstrans.cpp diff --git a/woc/phpstrans.h b/woc/php/phpstrans.h similarity index 100% rename from woc/phpstrans.h rename to woc/php/phpstrans.h diff --git a/woc/phptrans.cpp b/woc/php/phptrans.cpp similarity index 100% rename from woc/phptrans.cpp rename to woc/php/phptrans.cpp diff --git a/woc/phptrans.h b/woc/php/phptrans.h similarity index 100% rename from woc/phptrans.h rename to woc/php/phptrans.h diff --git a/woc/proc/proc.pri b/woc/proc/proc.pri new file mode 100644 index 0000000..58acc4d --- /dev/null +++ b/woc/proc/proc.pri @@ -0,0 +1,12 @@ +SOURCES+= \ + processor.cpp \ + procclass.cpp \ + proctrans.cpp \ + proctable.cpp +HEADERS+= \ + processor.h \ + procclass.h \ + proctrans.h \ + proctable.h + +INCLUDEPATH += proc \ No newline at end of file diff --git a/woc/procclass.cpp b/woc/proc/procclass.cpp similarity index 100% rename from woc/procclass.cpp rename to woc/proc/procclass.cpp diff --git a/woc/procclass.h b/woc/proc/procclass.h similarity index 100% rename from woc/procclass.h rename to woc/proc/procclass.h diff --git a/woc/processor.cpp b/woc/proc/processor.cpp similarity index 100% rename from woc/processor.cpp rename to woc/proc/processor.cpp diff --git a/woc/processor.h b/woc/proc/processor.h similarity index 100% rename from woc/processor.h rename to woc/proc/processor.h diff --git a/woc/proctable.cpp b/woc/proc/proctable.cpp similarity index 100% rename from woc/proctable.cpp rename to woc/proc/proctable.cpp diff --git a/woc/proctable.h b/woc/proc/proctable.h similarity index 100% rename from woc/proctable.h rename to woc/proc/proctable.h diff --git a/woc/proctrans.cpp b/woc/proc/proctrans.cpp similarity index 100% rename from woc/proctrans.cpp rename to woc/proc/proctrans.cpp diff --git a/woc/proctrans.h b/woc/proc/proctrans.h similarity index 100% rename from woc/proctrans.h rename to woc/proc/proctrans.h diff --git a/woc/qt/qt.pri b/woc/qt/qt.pri new file mode 100644 index 0000000..912dcdb --- /dev/null +++ b/woc/qt/qt.pri @@ -0,0 +1,15 @@ +SOURCES+= \ + qt/qtout.cpp \ + qt/qtclass.cpp \ + qt/qtdb.cpp \ + qt/qtctrans.cpp \ + qt/qtstrans.cpp + +HEADERS+= \ + qt/qtout.h \ + qt/qtclass.h \ + qt/qtdb.h \ + qt/qtctrans.h \ + qt/qtstrans.cpp + +INCLUDEPATH += qt \ No newline at end of file diff --git a/woc/qtclass.cpp b/woc/qt/qtclass.cpp similarity index 100% rename from woc/qtclass.cpp rename to woc/qt/qtclass.cpp diff --git a/woc/qtclass.h b/woc/qt/qtclass.h similarity index 100% rename from woc/qtclass.h rename to woc/qt/qtclass.h diff --git a/woc/qtconst.h b/woc/qt/qtconst.h similarity index 100% rename from woc/qtconst.h rename to woc/qt/qtconst.h diff --git a/woc/qtctrans.cpp b/woc/qt/qtctrans.cpp similarity index 100% rename from woc/qtctrans.cpp rename to woc/qt/qtctrans.cpp diff --git a/woc/qtctrans.h b/woc/qt/qtctrans.h similarity index 100% rename from woc/qtctrans.h rename to woc/qt/qtctrans.h diff --git a/woc/qtdb.cpp b/woc/qt/qtdb.cpp similarity index 100% rename from woc/qtdb.cpp rename to woc/qt/qtdb.cpp diff --git a/woc/qtdb.h b/woc/qt/qtdb.h similarity index 100% rename from woc/qtdb.h rename to woc/qt/qtdb.h diff --git a/woc/qtout.cpp b/woc/qt/qtout.cpp similarity index 100% rename from woc/qtout.cpp rename to woc/qt/qtout.cpp diff --git a/woc/qtout.h b/woc/qt/qtout.h similarity index 100% rename from woc/qtout.h rename to woc/qt/qtout.h diff --git a/woc/qtstrans.cpp b/woc/qt/qtstrans.cpp similarity index 100% rename from woc/qtstrans.cpp rename to woc/qt/qtstrans.cpp diff --git a/woc/qtstrans.h b/woc/qt/qtstrans.h similarity index 100% rename from woc/qtstrans.h rename to woc/qt/qtstrans.h diff --git a/woc/woc.pro b/woc/woc.pro index 839d05c..ff1a5f9 100644 --- a/woc/woc.pro +++ b/woc/woc.pro @@ -12,41 +12,18 @@ RCC_DIR = .ctmp SOURCES+= \ - processor.cpp \ - procclass.cpp \ - proctrans.cpp \ - proctable.cpp \ woc.cpp \ - qtout.cpp \ - qtclass.cpp \ - qtdb.cpp \ - qtctrans.cpp \ - qtstrans.cpp \ - phpout.cpp \ - phpclass.cpp \ - phptrans.cpp \ - phpctrans.cpp \ - phpstrans.cpp \ - phpdb.cpp \ htmlout.cpp \ mfile.cpp \ domquery.cpp HEADERS+= \ - processor.h \ - procclass.h \ - proctrans.h \ - proctable.h \ - phpout.h \ - phpdb.h \ - phpclass.h \ - phptrans.h \ - phpctrans.h \ - phpstrans.h \ - qtout.h \ - qtclass.h \ - qtdb.h \ - qtctrans.h \ - qtstrans.cpp \ htmlout.h \ mfile.h \ domquery.h + +include(proc/proc.pri) +include(php/php.pri) +include(qt/qt.pri) + +#make sure dependencies are found +DEPENDPATH += $$INCLUDEPATH