XML Makefiles
authorMaarten Bosma <maarten@bosma.de>
Mon, 13 Jun 2005 13:21:34 +0000 (13:21 +0000)
committerMaarten Bosma <maarten@bosma.de>
Mon, 13 Jun 2005 13:21:34 +0000 (13:21 +0000)
svn path=/trunk/; revision=15882

rosapps/packmgr/cmd-line/rosget.xml [new file with mode: 0644]
rosapps/packmgr/directory.xml [new file with mode: 0644]
rosapps/packmgr/gui/main.c
rosapps/packmgr/gui/packmgr.xml [new file with mode: 0644]
rosapps/packmgr/lib/packlib.xml [new file with mode: 0644]

diff --git a/rosapps/packmgr/cmd-line/rosget.xml b/rosapps/packmgr/cmd-line/rosget.xml
new file mode 100644 (file)
index 0000000..d49762e
--- /dev/null
@@ -0,0 +1,12 @@
+<module name="rosget" type="win32cui" installbase="system32" installname="rosget.exe">\r
+       <include base="packlib">.</include>\r
+       <define name="__USE_W32API" />\r
+       <define name="UNICODE" />\r
+       <define name="_WIN32_IE">0x0501</define>\r
+       <define name="_WIN32_WINNT">0x0501</define>\r
+\r
+       <library>kernel32</library>\r
+       <library>packlib</library>\r
+       <file>main.c</file>\r
+       <file>ros-get.rc</file>\r
+</module>\r
diff --git a/rosapps/packmgr/directory.xml b/rosapps/packmgr/directory.xml
new file mode 100644 (file)
index 0000000..c968f3e
--- /dev/null
@@ -0,0 +1,9 @@
+<directory name="cmd-line">\r
+       <xi:include href="cmd-line/rosget.xml" />\r
+</directory>\r
+<directory name="gui">\r
+       <xi:include href="gui/packmgr.xml" />\r
+</directory>\r
+<directory name="lib">\r
+       <xi:include href="lib/packlib.xml" />\r
+</directory>
\ No newline at end of file
index c390cea..21165aa 100644 (file)
@@ -222,12 +222,7 @@ int SetButton (DWORD id, BOOL state)
 \r
     ti.cbSize = sizeof (ti);\r
     ti.dwMask = TBIF_STATE;\r
 \r
     ti.cbSize = sizeof (ti);\r
     ti.dwMask = TBIF_STATE;\r
-/*\r
-       if(state&&id==1)\r
-               MessageBox(0,L"on",0,0);\r
-       else if(!state&&id==1)\r
-               MessageBox(0,L"off",0,0);\r
-*/\r
+\r
        if(state)\r
                ti.fsState = TBSTATE_ENABLED;\r
        else\r
        if(state)\r
                ti.fsState = TBSTATE_ENABLED;\r
        else\r
diff --git a/rosapps/packmgr/gui/packmgr.xml b/rosapps/packmgr/gui/packmgr.xml
new file mode 100644 (file)
index 0000000..640fc62
--- /dev/null
@@ -0,0 +1,15 @@
+<module name="packmgr" type="win32gui" installbase="system32" installname="packmgr.exe">\r
+       <include base="packlib">.</include>\r
+       <define name="__USE_W32API" />\r
+       <define name="UNICODE" />\r
+       <define name="_WIN32_IE">0x0501</define>\r
+       <define name="_WIN32_WINNT">0x0501</define>\r
+\r
+       <library>kernel32</library>\r
+       <library>user32</library>\r
+       <library>comctl32</library>\r
+       <library>packlib</library>\r
+\r
+       <file>main.c</file>\r
+       <file>packmgr.rc</file>\r
+</module>\r
diff --git a/rosapps/packmgr/lib/packlib.xml b/rosapps/packmgr/lib/packlib.xml
new file mode 100644 (file)
index 0000000..430e600
--- /dev/null
@@ -0,0 +1,24 @@
+<module name="packlib" type="win32dll" installbase="system32" installname="package.dll">\r
+       <importlibrary definition="package.def" />\r
+\r
+       <define name="UNICODE" />\r
+       <define name="__USE_W32API" />\r
+       <define name="_WIN32_IE">0x0501</define>\r
+       <define name="_WIN32_WINNT">0x0501</define>\r
+\r
+       <library>kernel32</library>\r
+       <library>gdi32</library>\r
+       <library>user32</library>\r
+       <library>expat</library>\r
+       <library>urlmon</library>\r
+\r
+       <file>download.cpp</file>\r
+       <file>functions.cpp</file>\r
+       <file>log.cpp</file>\r
+       <file>main.cpp</file>\r
+       <file>options.cpp</file>\r
+       <file>package.cpp</file>\r
+       <file>script.cpp</file>\r
+       <file>tree.cpp</file>\r
+       <file>package.rc</file>\r
+</module>\r