- add all cmake files
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Thu, 4 Jan 2007 16:50:05 +0000 (16:50 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Thu, 4 Jan 2007 16:50:05 +0000 (16:50 +0000)
- zypp2 builds

35 files changed:
CMakeLists.txt
devel/CMakeLists.txt [new file with mode: 0644]
devel/devel.dmacvicar/CMakeLists.txt [new file with mode: 0644]
devel/devel.jsrain/CMakeLists.txt [new file with mode: 0644]
devel/devel.jsrain/yum/CMakeLists.txt [new file with mode: 0644]
devel/devel.kkaempf/CMakeLists.txt [new file with mode: 0644]
devel/devel.ma/CMakeLists.txt [new file with mode: 0644]
devel/devel.mvidner/CMakeLists.txt [new file with mode: 0644]
doc/CMakeLists.txt [new file with mode: 0644]
doc/autodoc/CMakeLists.txt [new file with mode: 0644]
examples/CMakeLists.txt [new file with mode: 0644]
testsuite/CMakeLists.txt [new file with mode: 0644]
testsuite/cache/CMakeLists.txt [new file with mode: 0644]
testsuite/media/CMakeLists.txt [new file with mode: 0644]
testsuite/parser/CMakeLists.txt [new file with mode: 0644]
testsuite/parser/tests/CMakeLists.txt [new file with mode: 0644]
testsuite/solver/CMakeLists.txt [new file with mode: 0644]
testsuite/solver/single.out/CMakeLists.txt [new file with mode: 0644]
testsuite/solver/src/CMakeLists.txt [new file with mode: 0644]
testsuite/source/CMakeLists.txt [new file with mode: 0644]
testsuite/src/CMakeLists.txt [new file with mode: 0644]
testsuite/src/helix/CMakeLists.txt [new file with mode: 0644]
testsuite/src/utils/CMakeLists.txt [new file with mode: 0644]
testsuite/target/CMakeLists.txt [new file with mode: 0644]
testsuite/target/tests/CMakeLists.txt [new file with mode: 0644]
testsuite/zypp/CMakeLists.txt [new file with mode: 0644]
tools/CMakeLists.txt [new file with mode: 0644]
tools/package-manager/CMakeLists.txt [new file with mode: 0644]
tools/registration/CMakeLists.txt [new file with mode: 0644]
zypp2/CMakeLists.txt [new file with mode: 0644]
zypp2/cache/CMakeLists.txt [new file with mode: 0644]
zypp2/cache/sqlite3x/CMakeLists.txt [new file with mode: 0644]
zypp2/source/CMakeLists.txt [new file with mode: 0644]
zypp2/source/sqlite-source/CMakeLists.txt [new file with mode: 0644]
zypp2/source/yum/CMakeLists.txt [new file with mode: 0644]

index 512b7c2..bb6acfa 100644 (file)
@@ -67,7 +67,7 @@ ENDMACRO(add_subdir_sources)
 ####################################################################
 
 ADD_SUBDIRECTORY( zypp ) 
-#ADD_SUBDIRECTORY( zypp2 ) 
+ADD_SUBDIRECTORY( zypp2 ) 
 #ADD_SUBDIRECTORY( examples ) 
 #ADD_SUBDIRECTORY( tools ) 
 #ADD_SUBDIRECTORY( testsuite ) 
diff --git a/devel/CMakeLists.txt b/devel/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fdecf4b
--- /dev/null
@@ -0,0 +1,99 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(Example.createResolvable.bin_SRCS
+Example.createResolvable.cc
+)
+
+KDE3_AUTOMOC(${Example.createResolvable.bin_SRCS})
+
+KDE3_ADD_EXECUTABLE(Example.createResolvable.bin ${Example.createResolvable.bin_SRCS})
+
+TARGET_LINK_LIBRARIES(Example.createResolvable.bin  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Example.createCapabilities.bin_SRCS
+Example.createCapabilities.cc
+)
+
+KDE3_AUTOMOC(${Example.createCapabilities.bin_SRCS})
+
+KDE3_ADD_EXECUTABLE(Example.createCapabilities.bin ${Example.createCapabilities.bin_SRCS})
+
+TARGET_LINK_LIBRARIES(Example.createCapabilities.bin  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Example.COW_debug.bin_SRCS
+Example.COW_debug.cc
+)
+
+KDE3_AUTOMOC(${Example.COW_debug.bin_SRCS})
+
+KDE3_ADD_EXECUTABLE(Example.COW_debug.bin ${Example.COW_debug.bin_SRCS})
+
+TARGET_LINK_LIBRARIES(Example.COW_debug.bin  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Example.EditionCompare.bin_SRCS
+Example.EditionCompare.cc
+)
+
+KDE3_AUTOMOC(${Example.EditionCompare.bin_SRCS})
+
+KDE3_ADD_EXECUTABLE(Example.EditionCompare.bin ${Example.EditionCompare.bin_SRCS})
+
+TARGET_LINK_LIBRARIES(Example.EditionCompare.bin  ${QT_AND_KDECORE_LIBS} )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+## Do NOT list devel.* in subdirs. It's developers playgound
+## and must not prevent anything from building.
+#
+#SUBDIRS =
+#
+### ##################################################
+#
+#noinst_PROGRAMS = \
+#      Example.createResolvable.bin    \
+#      Example.createCapabilities.bin  \
+#      Example.COW_debug.bin           \
+#      Example.EditionCompare.bin
+#
+### ##################################################
+#
+#LDADD =       $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+### ##################################################
+#
+#Example_createResolvable_bin_SOURCES  = Example.createResolvable.cc
+#Example_createCapabilities_bin_SOURCES        = Example.createCapabilities.cc
+#Example_COW_debug_bin_SOURCES                 = Example.COW_debug.cc
+#Example_EditionCompare_bin_SOURCES    = Example.EditionCompare.cc
+#
+### ##################################################
+#
+#.PHONY:        always
+#
+#$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+#$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
+#      $(MAKE) -C $(top_srcdir)/zypp
+#
+### ##################################################
diff --git a/devel/devel.dmacvicar/CMakeLists.txt b/devel/devel.dmacvicar/CMakeLists.txt
new file mode 100644 (file)
index 0000000..288d9c4
--- /dev/null
@@ -0,0 +1,132 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(test_SRCS
+zypp-keyring.cc
+)
+
+KDE3_AUTOMOC(${test_SRCS})
+
+KDE3_ADD_EXECUTABLE(test ${test_SRCS})
+
+TARGET_LINK_LIBRARIES(test  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(lock_SRCS
+zypp-lock.cc
+)
+
+KDE3_AUTOMOC(${lock_SRCS})
+
+KDE3_ADD_EXECUTABLE(lock ${lock_SRCS})
+
+TARGET_LINK_LIBRARIES(lock  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(testbed_SRCS
+testbed.cc
+)
+
+KDE3_AUTOMOC(${testbed_SRCS})
+
+KDE3_ADD_EXECUTABLE(testbed ${testbed_SRCS})
+
+TARGET_LINK_LIBRARIES(testbed  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(aj_SRCS
+aj.cc
+)
+
+KDE3_AUTOMOC(${aj_SRCS})
+
+KDE3_ADD_EXECUTABLE(aj ${aj_SRCS})
+
+TARGET_LINK_LIBRARIES(aj  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(yumparser_SRCS
+yum-parser.cc
+)
+
+KDE3_AUTOMOC(${yumparser_SRCS})
+
+KDE3_ADD_EXECUTABLE(yumparser ${yumparser_SRCS})
+
+TARGET_LINK_LIBRARIES(yumparser  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(media_SRCS
+media-glob.cc
+)
+
+KDE3_AUTOMOC(${media_SRCS})
+
+KDE3_ADD_EXECUTABLE(media ${media_SRCS})
+
+TARGET_LINK_LIBRARIES(media  ${QT_AND_KDECORE_LIBS} )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+#noinst_PROGRAMS = test lock testbed aj yumparser media
+#
+### ##################################################
+#
+#INCLUDES = -I$(oldincludedir)/libxml2
+#AM_LDFLAGS =
+#
+#AM_CXXFLAGS =
+## gperf:      -pg
+#
+#LDADD =               -L$(top_srcdir)/zypp/.libs -L$(top_srcdir)/zypp2/.libs -lzypp -lzypp2 -lboost_regex -lxml2 -lz $(top_srcdir)/testsuite/src/utils/lib@PACKAGE@_testsuite_utils.la
+#
+### ##################################################
+#
+#media_SOURCES = media-glob.cc
+#media_LDFLAGS =       -static
+#
+#test_SOURCES =        zypp-keyring.cc
+#test_LDFLAGS =        -static
+#
+#lock_SOURCES =        zypp-lock.cc
+#lock_LDFLAGS =        -static
+#
+#testbed_SOURCES = testbed.cc
+#testbed_LDFLAGS = -static
+#
+#aj_SOURCES =  aj.cc
+#aj_LDFLAGS =  -static
+#
+#yumparser_SOURCES =   yum-parser.cc
+#yumparser_LDFLAGS =   -static
+##yumparser_LDADD = 
+#
+#.PHONY:        always
+#
+#$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la $(top_srcdir)/zypp2/lib@PACKAGE@2.la
+#
+#$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
+#      $(MAKE) -C $(top_srcdir)/zypp
+#
+### ##################################################
diff --git a/devel/devel.jsrain/CMakeLists.txt b/devel/devel.jsrain/CMakeLists.txt
new file mode 100644 (file)
index 0000000..55aca0b
--- /dev/null
@@ -0,0 +1,388 @@
+ADD_SUBDIRECTORY( yum ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(Msg_SRCS
+Msg.cc
+)
+
+KDE3_AUTOMOC(${Msg_SRCS})
+
+KDE3_ADD_EXECUTABLE(Msg ${Msg_SRCS})
+
+TARGET_LINK_LIBRARIES(Msg  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Msg.debug_SRCS
+$(Msg_SOURCES)
+)
+
+KDE3_AUTOMOC(${Msg.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(Msg.debug ${Msg.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(Msg.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Patch_SRCS
+Patch.cc
+)
+
+KDE3_AUTOMOC(${Patch_SRCS})
+
+KDE3_ADD_EXECUTABLE(Patch ${Patch_SRCS})
+
+TARGET_LINK_LIBRARIES(Patch  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Patch.debug_SRCS
+$(Patch_SOURCES)
+)
+
+KDE3_AUTOMOC(${Patch.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(Patch.debug ${Patch.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(Patch.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Script_SRCS
+Script.cc
+)
+
+KDE3_AUTOMOC(${Script_SRCS})
+
+KDE3_ADD_EXECUTABLE(Script ${Script_SRCS})
+
+TARGET_LINK_LIBRARIES(Script  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Script.debug_SRCS
+$(Script_SOURCES)
+)
+
+KDE3_AUTOMOC(${Script.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(Script.debug ${Script.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(Script.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(PatchSelect_SRCS
+PatchSelect.cc
+)
+
+KDE3_AUTOMOC(${PatchSelect_SRCS})
+
+KDE3_ADD_EXECUTABLE(PatchSelect ${PatchSelect_SRCS})
+
+TARGET_LINK_LIBRARIES(PatchSelect  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(PatchSelect.debug_SRCS
+$(PatchSelect_SOURCES)
+)
+
+KDE3_AUTOMOC(${PatchSelect.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(PatchSelect.debug ${PatchSelect.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(PatchSelect.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(PatchRead_SRCS
+PatchRead.cc
+)
+
+KDE3_AUTOMOC(${PatchRead_SRCS})
+
+KDE3_ADD_EXECUTABLE(PatchRead ${PatchRead_SRCS})
+
+TARGET_LINK_LIBRARIES(PatchRead  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(PatchRead.debug_SRCS
+$(PatchRead_SOURCES)
+)
+
+KDE3_AUTOMOC(${PatchRead.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(PatchRead.debug ${PatchRead.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(PatchRead.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(SourceRead_SRCS
+SourceRead.cc
+)
+
+KDE3_AUTOMOC(${SourceRead_SRCS})
+
+KDE3_ADD_EXECUTABLE(SourceRead ${SourceRead_SRCS})
+
+TARGET_LINK_LIBRARIES(SourceRead  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(SourceRead.debug_SRCS
+$(SourceRead_SOURCES)
+)
+
+KDE3_AUTOMOC(${SourceRead.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(SourceRead.debug ${SourceRead.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(SourceRead.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(SourceCacheRead_SRCS
+SourceCacheRead.cc
+)
+
+KDE3_AUTOMOC(${SourceCacheRead_SRCS})
+
+KDE3_ADD_EXECUTABLE(SourceCacheRead ${SourceCacheRead_SRCS})
+
+TARGET_LINK_LIBRARIES(SourceCacheRead  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(SourceCacheRead.debug_SRCS
+$(SourceCacheRead_SOURCES)
+)
+
+KDE3_AUTOMOC(${SourceCacheRead.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(SourceCacheRead.debug ${SourceCacheRead.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(SourceCacheRead.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(SourceProvide_SRCS
+SourceProvide.cc
+)
+
+KDE3_AUTOMOC(${SourceProvide_SRCS})
+
+KDE3_ADD_EXECUTABLE(SourceProvide ${SourceProvide_SRCS})
+
+TARGET_LINK_LIBRARIES(SourceProvide  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(SourceProvide.debug_SRCS
+$(SourceProvide_SOURCES)
+)
+
+KDE3_AUTOMOC(${SourceProvide.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(SourceProvide.debug ${SourceProvide.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(SourceProvide.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(RpmTarget_SRCS
+RpmTarget.cc
+)
+
+KDE3_AUTOMOC(${RpmTarget_SRCS})
+
+KDE3_ADD_EXECUTABLE(RpmTarget ${RpmTarget_SRCS})
+
+TARGET_LINK_LIBRARIES(RpmTarget  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(RpmTarget.debug_SRCS
+$(RpmTarget_SOURCES)
+)
+
+KDE3_AUTOMOC(${RpmTarget.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(RpmTarget.debug ${RpmTarget.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(RpmTarget.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(RpmInstall_SRCS
+RpmInstall.cc
+)
+
+KDE3_AUTOMOC(${RpmInstall_SRCS})
+
+KDE3_ADD_EXECUTABLE(RpmInstall ${RpmInstall_SRCS})
+
+TARGET_LINK_LIBRARIES(RpmInstall  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(RpmInstall.debug_SRCS
+$(RpmInstall_SOURCES)
+)
+
+KDE3_AUTOMOC(${RpmInstall.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(RpmInstall.debug ${RpmInstall.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(RpmInstall.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Target_SRCS
+Target.cc
+)
+
+KDE3_AUTOMOC(${Target_SRCS})
+
+KDE3_ADD_EXECUTABLE(Target ${Target_SRCS})
+
+TARGET_LINK_LIBRARIES(Target  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Target.debug_SRCS
+$(Target_SOURCES)
+)
+
+KDE3_AUTOMOC(${Target.debug_SRCS})
+
+KDE3_ADD_EXECUTABLE(Target.debug ${Target.debug_SRCS})
+
+TARGET_LINK_LIBRARIES(Target.debug  ${QT_AND_KDECORE_LIBS} )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+#SUBDIRS = yum
+#
+#noinst_PROGRAMS =     Msg Msg.debug Patch Patch.debug Script Script.debug PatchSelect PatchSelect.debug PatchRead PatchRead.debug SourceRead SourceRead.debug SourceCacheRead SourceCacheRead.debug SourceProvide SourceProvide.debug RpmTarget RpmTarget.debug RpmInstall RpmInstall.debug Target Target.debug
+#
+#
+### ##################################################
+#
+#INCLUDES =
+#
+#AM_LDFLAGS =
+#
+#AM_CXXFLAGS = -pg
+#
+#LDADD =               $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+### ##################################################
+#
+#Msg_SOURCES =                 Msg.cc
+#
+#Msg_debug_SOURCES =   $(Msg_SOURCES)
+#Msg_debug_LDFLAGS =   -static
+#
+#Patch_SOURCES =       Patch.cc
+#
+#Patch_debug_SOURCES =         $(Patch_SOURCES)
+#Patch_debug_LDFLAGS = -static
+#
+#Script_SOURCES =      Script.cc
+#
+#Script_debug_SOURCES =        $(Script_SOURCES)
+#Script_debug_LDFLAGS =        -static
+#
+#PatchSelect_SOURCES =         PatchSelect.cc
+#
+#PatchSelect_debug_SOURCES =   $(PatchSelect_SOURCES)
+#PatchSelect_debug_LDFLAGS =   -static
+#
+#PatchRead_SOURCES =   PatchRead.cc
+#
+#PatchRead_debug_SOURCES =     $(PatchRead_SOURCES)
+#PatchRead_debug_LDFLAGS =     -static
+#
+#SourceRead_SOURCES =          SourceRead.cc
+#
+#SourceRead_debug_SOURCES =    $(SourceRead_SOURCES)
+#SourceRead_debug_LDFLAGS =    -static
+#
+#SourceCacheRead_SOURCES =             SourceCacheRead.cc
+#
+#SourceCacheRead_debug_SOURCES =       $(SourceCacheRead_SOURCES)
+#SourceCacheRead_debug_LDFLAGS =       -static
+#
+#SourceProvide_SOURCES =       SourceProvide.cc
+#
+#SourceProvide_debug_SOURCES =         $(SourceProvide_SOURCES)
+#SourceProvide_debug_LDFLAGS = -static
+#
+#RpmTarget_SOURCES =           RpmTarget.cc
+#
+#RpmTarget_debug_SOURCES =     $(RpmTarget_SOURCES)
+#RpmTarget_debug_LDFLAGS =     -static
+#
+#RpmInstall_SOURCES =          RpmInstall.cc
+#
+#RpmInstall_debug_SOURCES =    $(RpmInstall_SOURCES)
+#RpmInstall_debug_LDFLAGS =    -static
+#
+#Target_SOURCES =              Target.cc
+#
+#Target_debug_SOURCES =        $(Target_SOURCES)
+#Target_debug_LDFLAGS =        -static
+#
+#
+#
+### ##################################################
+#
+#.PHONY:        always
+#
+#$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+#$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
+#      $(MAKE) -C $(top_srcdir)/zypp
+#
+### ##################################################
+#
+#misc: genclass always
+#      chmod 750 genclass
diff --git a/devel/devel.jsrain/yum/CMakeLists.txt b/devel/devel.jsrain/yum/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f654ff0
--- /dev/null
@@ -0,0 +1,23 @@
+ADD_SUBDIRECTORY( YUMParser.test ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/zypp/parser/yum ${CMAKE_SOURCE_DIR}/zypp ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for packagemanager/testsuite/devel.mir
+##
+#
+#SUBDIRS = YUMParser.test
+#
+#AUTOMAKE_OPTIONS = dejagnu
+#
+#PACKAGE = YUMParser
+#
+#INCLUDES = -I$(top_srcdir)/zypp/parser/yum -I$(top_srcdir)/zypp -I$(oldincludedir)/libxml2 -I$(includedir)
diff --git a/devel/devel.kkaempf/CMakeLists.txt b/devel/devel.kkaempf/CMakeLists.txt
new file mode 100644 (file)
index 0000000..076dc47
--- /dev/null
@@ -0,0 +1,10 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
diff --git a/devel/devel.ma/CMakeLists.txt b/devel/devel.ma/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2adfb53
--- /dev/null
@@ -0,0 +1,96 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(AOUT_SRCS
+AOUT.cc
+$(ADD_SOURCES)
+)
+
+KDE3_AUTOMOC(${AOUT_SRCS})
+
+KDE3_ADD_EXECUTABLE(AOUT ${AOUT_SRCS})
+
+TARGET_LINK_LIBRARIES(AOUT  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(Prof_SRCS
+Prof.cc
+)
+
+KDE3_AUTOMOC(${Prof_SRCS})
+
+KDE3_ADD_EXECUTABLE(Prof ${Prof_SRCS})
+
+TARGET_LINK_LIBRARIES(Prof  ${QT_AND_KDECORE_LIBS} boost_regex boost_filesystem curl idn blkid uuid xml2 rpm util )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+#noinst_PROGRAMS = AOUT Prof
+#
+### ##################################################
+#
+#INCLUDES =
+#
+#AM_LDFLAGS =
+#
+#AM_CXXFLAGS = -pg
+#
+#LDADD =               -L$(top_srcdir)/zypp/.libs -lzypp -lboost_regex
+#
+### ##################################################
+#
+#ADD_SOURCES =         xml/Node.cc             xml/Node.h      \
+#              xml/Reader.cc           xml/Reader.h    \
+#              xml/XmlString.cc        xml/XmlString.h \
+#              xml/libxmlfwd.cc        xml/libxmlfwd.h
+#
+### ##################################################
+#
+#AOUT_SOURCES = AOUT.cc $(ADD_SOURCES)
+#AOUT_LDFLAGS = -static
+#
+### ##################################################
+#
+#%: %.cc $(top_srcdir)/zypp/lib@PACKAGE@.la
+#      touch .deps/$@.Po
+#      ln -sf $@.Po .deps/AOUT.Po
+#      ln -sf $@.cc AOUT.cc
+#      ln -sf $@.o  AOUT.o
+#      $(MAKE) AOUT
+#      mv AOUT $@
+#
+### ##################################################
+#
+#PROF_OBJ =    $(strip $(shell find $(top_srcdir)/zypp -name '*.o' | grep -v 'LogControl.o') ) \
+#              $(top_srcdir)/zypp/base/.libs/LogControl.o
+#
+#Prof_SOURCES = Prof.cc
+#Prof_LDADD   = -lboost_regex -lboost_filesystem -lcurl -lidn -lblkid -luuid -lxml2 -lrpm -lutil
+#Prof_LDFLAGS = $(PROF_OBJ)
+#
+### ##################################################
+#
+#.PHONY:               always
+#
+#Tools.h:      $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+#$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
+#      $(MAKE) -C $(top_srcdir)/zypp
+#
+#xtp:
+#      echo $(PROF_OBJ)
+#
+### ##################################################
diff --git a/devel/devel.mvidner/CMakeLists.txt b/devel/devel.mvidner/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8faf8e3
--- /dev/null
@@ -0,0 +1,50 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(installation_sources_SRCS
+installation_sources.cc
+)
+
+KDE3_AUTOMOC(${installation_sources_SRCS})
+
+KDE3_ADD_EXECUTABLE(installation_sources ${installation_sources_SRCS})
+
+TARGET_LINK_LIBRARIES(installation_sources  ${QT_AND_KDECORE_LIBS} zypp )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+#noinst_PROGRAMS =     installation_sources
+#
+### ##################################################
+#
+#INCLUDES =
+#
+#AM_LDFLAGS =
+#
+#AM_CXXFLAGS =
+#
+#
+### ##################################################
+#
+#installation_sources_SOURCES =        installation_sources.cc
+#installation_sources_LDADD = ../../zypp/libzypp.la
+#
+### ##################################################
+#
+##$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+##$(top_srcdir)/zypp/lib@PACKAGE@.la:
+##     $(MAKE) -C $(top_srcdir)/zypp
+#
+### ##################################################
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0815576
--- /dev/null
@@ -0,0 +1,23 @@
+ADD_SUBDIRECTORY( autodoc ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+#SUBDIRS =     autodoc
+#
+### ##################################################
+#
+#htmldir =     @pkgdocdir@
+#html_DATA =
+#
+### ##################################################
diff --git a/doc/autodoc/CMakeLists.txt b/doc/autodoc/CMakeLists.txt
new file mode 100644 (file)
index 0000000..949475b
--- /dev/null
@@ -0,0 +1,40 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+INSTALL_FILES(  FILES  @PACKAGE@.doxytag )
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+#htmldir =     @pkgdocdir@/autodocs
+#
+#html_DATA =   @PACKAGE@.doxytag
+#
+## lots of files -> xargs
+## (-hook runs _after_ the regular targets which means the dir already exists)
+#install-data-hook:
+#      find html -mindepth 1 | xargs $(INSTALL_DATA) --target-directory=$(DESTDIR)$(htmldir)
+#
+### ##################################################
+#
+#@PACKAGE@.doxytag: Doxyfile
+#      @DOCGEN@
+#
+## force remaking the html docs
+#doc:
+#      $(MAKE) -W Doxyfile
+#
+### ##################################################
+#
+#CLEANFILES = $(html_DATA)
+#
+#clean-local:
+#      -rm -rf html
+#
+### ##################################################
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644 (file)
index 0000000..85b4b43
--- /dev/null
@@ -0,0 +1,51 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(read_plaindir_source_SRCS
+read_plaindir_source.cc
+)
+
+KDE3_AUTOMOC(${read_plaindir_source_SRCS})
+
+KDE3_ADD_EXECUTABLE(read_plaindir_source ${read_plaindir_source_SRCS})
+
+TARGET_LINK_LIBRARIES(read_plaindir_source  ${QT_AND_KDECORE_LIBS} )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+#noinst_PROGRAMS = read_plaindir_source
+#
+### ##################################################
+#
+#INCLUDES = -I$(oldincludedir)/libxml2
+#AM_LDFLAGS =
+#
+#AM_CXXFLAGS =
+## gperf:      -pg
+#
+#LDADD =               -L$(top_srcdir)/zypp/.libs -lzypp -lboost_regex -lxml2 -lz
+#
+### ##################################################
+#
+#read_plaindir_source_SOURCES =        read_plaindir_source.cc
+#read_plaindir_source_LDFLAGS =        -static
+#
+#.PHONY:        always
+#
+#$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+#$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
+#      $(MAKE) -C $(top_srcdir)/zypp
+#
+### ##################################################
diff --git a/testsuite/CMakeLists.txt b/testsuite/CMakeLists.txt
new file mode 100644 (file)
index 0000000..37324fc
--- /dev/null
@@ -0,0 +1,23 @@
+ADD_SUBDIRECTORY( src ) 
+ADD_SUBDIRECTORY( zypp ) 
+ADD_SUBDIRECTORY( cache ) 
+ADD_SUBDIRECTORY( target ) 
+ADD_SUBDIRECTORY( solver ) 
+ADD_SUBDIRECTORY( source ) 
+ADD_SUBDIRECTORY( media ) 
+ADD_SUBDIRECTORY( parser ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for libzypp/testsuite
+##
+#SUBDIRS = src zypp cache target solver source media parser
diff --git a/testsuite/cache/CMakeLists.txt b/testsuite/cache/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3a6f49c
--- /dev/null
@@ -0,0 +1,58 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(SourceCacheInitializer_SRCS
+SourceCacheInitializer.cc
+)
+
+KDE3_AUTOMOC(${SourceCacheInitializer_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(SourceCacheInitializer ${SourceCacheInitializer_SRCS})
+
+TARGET_LINK_LIBRARIES(SourceCacheInitializer  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+## Do NOT list devel.* in subdirs. It's developers playgound and
+## must not prevent anything from building.
+#SUBDIRS =
+#
+### ##################################################
+#
+#TESTS = SourceCacheInitializer
+#
+#check_PROGRAMS = SourceCacheInitializer
+#
+### ##################################################
+#
+#LDADD =       $(top_srcdir)/zypp/lib@PACKAGE@.la $(top_srcdir)/zypp2/lib@PACKAGE@2.la
+#
+### ##################################################
+#
+#SourceCacheInitializer_SOURCES = SourceCacheInitializer.cc
+#SourceCacheInitializer_LDADD = $(LDADD) -lboost_unit_test_framework
+#
+### ##################################################
+#
+#.PHONY:        always
+#
+#$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+##$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
+##     $(MAKE) -C $(top_srcdir)/zypp
+#
+### ##################################################
diff --git a/testsuite/media/CMakeLists.txt b/testsuite/media/CMakeLists.txt
new file mode 100644 (file)
index 0000000..735e582
--- /dev/null
@@ -0,0 +1,182 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(media2_SRCS
+media2.cc
+mymediaverifier.h
+)
+
+KDE3_AUTOMOC(${media2_SRCS})
+
+KDE3_ADD_EXECUTABLE(media2 ${media2_SRCS})
+
+TARGET_LINK_LIBRARIES(media2  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(media3_SRCS
+media3.cc
+mymediaverifier.h
+)
+
+KDE3_AUTOMOC(${media3_SRCS})
+
+KDE3_ADD_EXECUTABLE(media3 ${media3_SRCS})
+
+TARGET_LINK_LIBRARIES(media3  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(media4_SRCS
+media4.cc
+mymediaverifier.h
+)
+
+KDE3_AUTOMOC(${media4_SRCS})
+
+KDE3_ADD_EXECUTABLE(media4 ${media4_SRCS})
+
+TARGET_LINK_LIBRARIES(media4  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(fileexists_SRCS
+file_exists_test.cc
+mymediaverifier.h
+)
+
+KDE3_AUTOMOC(${fileexists_SRCS})
+
+KDE3_ADD_EXECUTABLE(fileexists ${fileexists_SRCS})
+
+TARGET_LINK_LIBRARIES(fileexists  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+
+########### next target ###############
+
+SET(throw_if_not_exists_SRCS
+throw_if_not_exists.cc
+mymediaverifier.h
+)
+
+KDE3_AUTOMOC(${throw_if_not_exists_SRCS})
+
+KDE3_ADD_EXECUTABLE(throw_if_not_exists ${throw_if_not_exists_SRCS})
+
+TARGET_LINK_LIBRARIES(throw_if_not_exists  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+
+########### next target ###############
+
+SET(media1_SRCS
+media1.cc
+mymediaverifier.h
+)
+
+KDE3_AUTOMOC(${media1_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(media1 ${media1_SRCS})
+
+TARGET_LINK_LIBRARIES(media1  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(fileexists_SRCS
+dummy.cpp
+)
+
+KDE3_AUTOMOC(${fileexists_SRCS})
+
+FILE(WRITE dummy.cpp "//autogenerated file by cmake\n")
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(fileexists ${fileexists_SRCS})
+
+TARGET_LINK_LIBRARIES(fileexists  ${QT_AND_KDECORE_LIBS} )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(throw_if_not_exists_SRCS
+dummy.cpp
+)
+
+KDE3_AUTOMOC(${throw_if_not_exists_SRCS})
+
+FILE(WRITE dummy.cpp "//autogenerated file by cmake\n")
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(throw_if_not_exists ${throw_if_not_exists_SRCS})
+
+TARGET_LINK_LIBRARIES(throw_if_not_exists  ${QT_AND_KDECORE_LIBS} )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+## Do NOT list devel.* in subdirs. It's developers playgound and
+## must not prevent anything from building.
+#SUBDIRS =
+#
+### ##################################################
+#
+#
+#TESTS = media1 fileexists
+#
+#noinst_PROGRAMS = media2 media3 media4 fileexists throw_if_not_exists
+#
+#check_PROGRAMS = media1 fileexists throw_if_not_exists
+#
+#
+### ##################################################
+#
+#LDADD =       $(top_srcdir)/zypp/lib@PACKAGE@.la 
+#
+### ##################################################
+#
+#media1_SOURCES = media1.cc mymediaverifier.h
+#media1_LDADD = $(LDADD) -lboost_unit_test_framework
+#
+#fileexists_SOURCES = file_exists_test.cc mymediaverifier.h
+#fileexists_LDADD = $(LDADD) -lboost_unit_test_framework
+#
+#media2_SOURCES = media2.cc mymediaverifier.h
+#media2_LDADD = $(LDADD)
+#
+#media3_SOURCES = media3.cc mymediaverifier.h
+#media3_LDADD = $(LDADD)
+#
+#media4_SOURCES = media4.cc mymediaverifier.h
+#media4_LDADD = $(LDADD)
+#
+#throw_if_not_exists_SOURCES = throw_if_not_exists.cc mymediaverifier.h
+#throw_if_not_exists_LDADD = $(LDADD) -lboost_unit_test_framework
+#
+### ##################################################
+#
+#.PHONY:        always
+#
+#$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+##$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
+##     $(MAKE) -C $(top_srcdir)/zypp
+#
+### ##################################################
\ No newline at end of file
diff --git a/testsuite/parser/CMakeLists.txt b/testsuite/parser/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7fa811e
--- /dev/null
@@ -0,0 +1,66 @@
+ADD_SUBDIRECTORY( tests ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(YUMtest_SRCS
+YUMtest.cc
+)
+
+KDE3_AUTOMOC(${YUMtest_SRCS})
+
+KDE3_ADD_EXECUTABLE(YUMtest ${YUMtest_SRCS})
+
+TARGET_LINK_LIBRARIES(YUMtest  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(YUMParserTest_SRCS
+YUMParserTest.cc
+)
+
+KDE3_AUTOMOC(${YUMParserTest_SRCS})
+
+KDE3_ADD_EXECUTABLE(YUMParserTest ${YUMParserTest_SRCS})
+
+TARGET_LINK_LIBRARIES(YUMParserTest  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for testsuite/parser
+##
+#SUBDIRS = tests
+#AUTOMAKE_OPTIONS = dejagnu
+#PACKAGE = parser
+#
+#LDADD = $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+#noinst_PROGRAMS = YUMtest YUMParserTest
+#
+#YUMtest_SOURCES = YUMtest.cc
+#
+#YUMParserTest_SOURCES = YUMParserTest.cc
+#YUMParserTest_LDADD = $(LDADD) -lboost_unit_test_framework
+#
+##YUMLeakTest_SOURCES = YUMLeakTest.cc
+#
+#EXTRA_DIST = lib/*.exp config/*.exp $(PACKAGE).test/*.exp
+#
+#clean-local:
+#      rm -rf *.log
+#      rm -rf *.exp
+#      rm -rf tmp*
+#
+#.PHONY:        always
+#
+#$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
\ No newline at end of file
diff --git a/testsuite/parser/tests/CMakeLists.txt b/testsuite/parser/tests/CMakeLists.txt
new file mode 100644 (file)
index 0000000..80ef0e4
--- /dev/null
@@ -0,0 +1,13 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for testsuite/parser/tests
+##
diff --git a/testsuite/solver/CMakeLists.txt b/testsuite/solver/CMakeLists.txt
new file mode 100644 (file)
index 0000000..aa8dbff
--- /dev/null
@@ -0,0 +1,37 @@
+ADD_SUBDIRECTORY( src ) 
+ADD_SUBDIRECTORY( single.out ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for zypp/solver/testsuite
+##
+#
+#SUBDIRS = src single.out
+#AUTOMAKE_OPTIONS = dejagnu
+#PACKAGE = solver
+#
+#EXTRA_DIST = config/*.exp                             \
+#          lib/*.exp                                   \
+#          $(PACKAGE).test/*.exp                       \
+#          data.deptestomatic/*-tests/*.xml            \
+#          data.deptestomatic/*-tests/*.solution       \
+#          data.deptestomatic/*-tests/ignore           \
+#          data.deptestomatic/*-tests/xfail            \
+#          data.deptestomatic/*-tests/README
+#
+#dist-local: clean-local
+#
+#clean-local:
+#      rm -rf data.deptestomatic/*/*.out
+#      rm -rf data.deptestomatic/*/*.diff
+#      rm -rf data.deptestomatic/*/*.mistake
+#      rm -rf single.out/out
diff --git a/testsuite/solver/single.out/CMakeLists.txt b/testsuite/solver/single.out/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b836c3f
--- /dev/null
@@ -0,0 +1,11 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+#EXTRA_DIST = *.out *.err
diff --git a/testsuite/solver/src/CMakeLists.txt b/testsuite/solver/src/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1bfc864
--- /dev/null
@@ -0,0 +1,57 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(deptestomatic.multi_SRCS
+deptestomatic.cc
+KeyRingCallbacks.h
+)
+
+KDE3_AUTOMOC(${deptestomatic.multi_SRCS})
+
+KDE3_ADD_EXECUTABLE(deptestomatic.multi ${deptestomatic.multi_SRCS})
+
+TARGET_LINK_LIBRARIES(deptestomatic.multi  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(helixparse_SRCS
+helixparse.cc
+)
+
+KDE3_AUTOMOC(${helixparse_SRCS})
+
+KDE3_ADD_EXECUTABLE(helixparse ${helixparse_SRCS})
+
+TARGET_LINK_LIBRARIES(helixparse  ${QT_AND_KDECORE_LIBS} )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for zypp/testsuite/solver/src
+##
+#
+#INCLUDES = -I/usr/include/libxml2     \
+#      -Ihelix                         \
+#      -DZYPP_BASE_LOGGER_LOGGROUP=\"testsuite\"
+#
+#LDADD =       $(top_srcdir)/zypp/lib@PACKAGE@.la $(top_srcdir)/testsuite/src/helix/lib@PACKAGE@_helix.la
+#
+## We're not ready for this yet.
+##check_PROGRAMS = deptestomatic.multi
+#noinst_PROGRAMS = deptestomatic.multi                 \
+#              helixparse
+#
+#deptestomatic_multi_SOURCES =                         \
+#      deptestomatic.cc KeyRingCallbacks.h
+#
+#helixparse_SOURCES =                                  \
+#      helixparse.cc
diff --git a/testsuite/source/CMakeLists.txt b/testsuite/source/CMakeLists.txt
new file mode 100644 (file)
index 0000000..613fe53
--- /dev/null
@@ -0,0 +1,131 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(selectiontagparsertest_SRCS
+SelectionTagParserTest.cc
+)
+
+KDE3_AUTOMOC(${selectiontagparsertest_SRCS})
+
+KDE3_ADD_EXECUTABLE(selectiontagparsertest ${selectiontagparsertest_SRCS})
+
+TARGET_LINK_LIBRARIES(selectiontagparsertest  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(patterntagparsertest_SRCS
+PatternTagParserTest.cc
+)
+
+KDE3_AUTOMOC(${patterntagparsertest_SRCS})
+
+KDE3_ADD_EXECUTABLE(patterntagparsertest ${patterntagparsertest_SRCS})
+
+TARGET_LINK_LIBRARIES(patterntagparsertest  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(producttagparsertest_SRCS
+ProductMetadataParserTest.cc
+)
+
+KDE3_AUTOMOC(${producttagparsertest_SRCS})
+
+KDE3_ADD_EXECUTABLE(producttagparsertest ${producttagparsertest_SRCS})
+
+TARGET_LINK_LIBRARIES(producttagparsertest  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(mediatagparsertest_SRCS
+MediaMetadataParserTest.cc
+)
+
+KDE3_AUTOMOC(${mediatagparsertest_SRCS})
+
+KDE3_ADD_EXECUTABLE(mediatagparsertest ${mediatagparsertest_SRCS})
+
+TARGET_LINK_LIBRARIES(mediatagparsertest  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(suseparser_SRCS
+suseparser.cc
+KeyRingCallbacks.h
+)
+
+KDE3_AUTOMOC(${suseparser_SRCS})
+
+KDE3_ADD_EXECUTABLE(suseparser ${suseparser_SRCS})
+
+TARGET_LINK_LIBRARIES(suseparser  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(source_read_test_SRCS
+source-read-test.cc
+)
+
+KDE3_AUTOMOC(${source_read_test_SRCS})
+
+KDE3_ADD_EXECUTABLE(source_read_test ${source_read_test_SRCS})
+
+TARGET_LINK_LIBRARIES(source_read_test  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(content_file_test_SRCS
+content_file_test.cc
+)
+
+KDE3_AUTOMOC(${content_file_test_SRCS})
+
+KDE3_ADD_EXECUTABLE(content_file_test ${content_file_test_SRCS})
+
+TARGET_LINK_LIBRARIES(content_file_test  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for testsuite/source/tests
+##
+#
+#LDADD =       $(top_srcdir)/zypp/lib@PACKAGE@.la $(top_srcdir)/testsuite/src/utils/lib@PACKAGE@_testsuite_utils.la
+#
+#INCLUDES =                                            \
+#      -DZYPP_BASE_LOGGER_LOGGROUP=\"testsuite\"
+#
+#noinst_PROGRAMS = \
+#      selectiontagparsertest  \
+#      patterntagparsertest    \
+#      producttagparsertest    \
+#      mediatagparsertest      \
+#      suseparser \
+#      source_read_test \
+#      content_file_test
+#
+## does not compile
+## packagetagparsertest_SOURCES = PackageTagParserTest.cc
+#      
+#selectiontagparsertest_SOURCES = SelectionTagParserTest.cc
+#patterntagparsertest_SOURCES = PatternTagParserTest.cc
+#producttagparsertest_SOURCES = ProductMetadataParserTest.cc
+#mediatagparsertest_SOURCES = MediaMetadataParserTest.cc
+#suseparser_SOURCES = suseparser.cc KeyRingCallbacks.h
+#source_read_test_SOURCES = source-read-test.cc
+#content_file_test_SOURCES = content_file_test.cc
+#content_file_test_LDADD = $(LDADD) -lboost_unit_test_framework
\ No newline at end of file
diff --git a/testsuite/src/CMakeLists.txt b/testsuite/src/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ef122a3
--- /dev/null
@@ -0,0 +1,19 @@
+ADD_SUBDIRECTORY( utils ) 
+ADD_SUBDIRECTORY( helix ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for zypp/solver/testsuite/src
+##
+#
+#SUBDIRS = utils helix
+#
diff --git a/testsuite/src/helix/CMakeLists.txt b/testsuite/src/helix/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9bee237
--- /dev/null
@@ -0,0 +1,80 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(@PACKAGE@_helix_STAT_SRCS
+Buffer.cc
+XmlNode.cc
+HelixExtract.cc
+HelixParser.cc
+HelixSourceImpl.cc
+HelixLanguageImpl.cc
+HelixPackageImpl.cc
+HelixScriptImpl.cc
+HelixMessageImpl.cc
+HelixAtomImpl.cc
+HelixPatchImpl.cc
+HelixSelectionImpl.cc
+HelixPatternImpl.cc
+HelixProductImpl.cc
+)
+
+KDE3_AUTOMOC(${@PACKAGE@_helix_STAT_SRCS})
+
+ADD_LIBRARY(@PACKAGE@_helix STATIC ${@PACKAGE@_helix_STAT_SRCS})
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for testsuite/src/helix
+##
+#
+#INCLUDES =                                    \
+#      -I$(top_srcdir) -Wall                   \
+#      -I/usr/include/libxml2                  \
+#      -DG_LOG_DOMAIN=\"helix\"                \
+#      -DZYPP_BASE_LOGGER_LOGGROUP=\"helix\"
+#
+#LDADD =       $(noinst_LTLIBRARIES) $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+#noinst_HEADERS = \
+#      Buffer.h                                \
+#      XmlNode.h                               \
+#      HelixExtract.h                          \
+#      HelixParser.h                           \
+#      HelixSourceImpl.h                       \
+#      HelixPackageImpl.h                      \
+#      HelixLanguageImpl.h                     \
+#      HelixScriptImpl.h                       \
+#      HelixMessageImpl.h                      \
+#      HelixAtomImpl.h                         \
+#      HelixPatchImpl.h                        \
+#      HelixSelectionImpl.h                    \
+#      HelixPatternImpl.h                      \
+#      HelixProductImpl.h
+#
+#noinst_LTLIBRARIES =  lib@PACKAGE@_helix.la
+#
+#lib@PACKAGE@_helix_la_SOURCES =                       \
+#      Buffer.cc                               \
+#      XmlNode.cc                              \
+#      HelixExtract.cc                         \
+#      HelixParser.cc                          \
+#      HelixSourceImpl.cc                      \
+#      HelixLanguageImpl.cc                    \
+#      HelixPackageImpl.cc                     \
+#      HelixScriptImpl.cc                      \
+#      HelixMessageImpl.cc                     \
+#      HelixAtomImpl.cc                        \
+#      HelixPatchImpl.cc                       \
+#      HelixSelectionImpl.cc                   \
+#      HelixPatternImpl.cc                     \
+#      HelixProductImpl.cc
+#
diff --git a/testsuite/src/utils/CMakeLists.txt b/testsuite/src/utils/CMakeLists.txt
new file mode 100644 (file)
index 0000000..86ed5fe
--- /dev/null
@@ -0,0 +1,53 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(@PACKAGE@_testsuite_utils_STAT_SRCS
+TestUtils.cc
+)
+
+KDE3_AUTOMOC(${@PACKAGE@_testsuite_utils_STAT_SRCS})
+
+ADD_LIBRARY(@PACKAGE@_testsuite_utils STATIC ${@PACKAGE@_testsuite_utils_STAT_SRCS})
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+#SUBDIRS =
+#
+#INCLUDES = -DZYPP_BASE_LOGGER_LOGGROUP=\"testsuite_utils\"
+#
+### ##################################################
+#
+###targetincludedir = $(pkgincludedir)/target
+#
+#noinst_HEADERS =                      \
+#      TestUtils.h
+#
+### ##################################################
+#
+#noinst_LTLIBRARIES =  lib@PACKAGE@_testsuite_utils.la
+#
+### ##################################################
+#
+#lib@PACKAGE@_testsuite_utils_la_SOURCES =     \
+#      TestUtils.cc
+#      
+#lib@PACKAGE@_testsuite_utils_la_LDFLAGS = @LIBZYPP_VERSION_INFO@
+#
+###lib@PACKAGE@_target_la_LIBADD = \
+###    rpm/lib@PACKAGE@_target_rpm.la  \
+###    hal/lib@PACKAGE@_target_hal.la \
+###    modalias/lib@PACKAGE@_target_modalias.la \
+###    store/lib@PACKAGE@_target_store.la
+#
+### ##################################################
diff --git a/testsuite/target/CMakeLists.txt b/testsuite/target/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6a2e8e1
--- /dev/null
@@ -0,0 +1,24 @@
+ADD_SUBDIRECTORY( tests ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for zypp/target/testsuite
+##
+#SUBDIRS = tests
+#AUTOMAKE_OPTIONS = dejagnu
+#PACKAGE = target
+#
+#EXTRA_DIST = lib/*.exp config/*.exp $(PACKAGE).test/*.exp
+#
+#clean-local:
+#      rm -rf *.log
+#      rm -rf *.exp
diff --git a/testsuite/target/tests/CMakeLists.txt b/testsuite/target/tests/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ed81ed5
--- /dev/null
@@ -0,0 +1,107 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(hal_SRCS
+hal.cc
+)
+
+KDE3_AUTOMOC(${hal_SRCS})
+
+KDE3_ADD_EXECUTABLE(hal ${hal_SRCS})
+
+TARGET_LINK_LIBRARIES(hal  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(librpmDb_SRCS
+librpmDb.cc
+)
+
+KDE3_AUTOMOC(${librpmDb_SRCS})
+
+KDE3_ADD_EXECUTABLE(librpmDb ${librpmDb_SRCS})
+
+TARGET_LINK_LIBRARIES(librpmDb  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(RpmDb_SRCS
+RpmDb.cc
+)
+
+KDE3_AUTOMOC(${RpmDb_SRCS})
+
+KDE3_ADD_EXECUTABLE(RpmDb ${RpmDb_SRCS})
+
+TARGET_LINK_LIBRARIES(RpmDb  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(storagetargettest_SRCS
+storagetargettest.cc
+Benchmark.cc
+Benchmark.h
+)
+
+KDE3_AUTOMOC(${storagetargettest_SRCS})
+
+KDE3_ADD_EXECUTABLE(storagetargettest ${storagetargettest_SRCS})
+
+TARGET_LINK_LIBRARIES(storagetargettest  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(import_old_sources_test_SRCS
+import_old_sources_test.cc
+)
+
+KDE3_AUTOMOC(${import_old_sources_test_SRCS})
+
+KDE3_ADD_EXECUTABLE(import_old_sources_test ${import_old_sources_test_SRCS})
+
+TARGET_LINK_LIBRARIES(import_old_sources_test  ${QT_AND_KDECORE_LIBS} )
+
+
+########### next target ###############
+
+SET(dumpstore_SRCS
+dumpstore.cc
+)
+
+KDE3_AUTOMOC(${dumpstore_SRCS})
+
+KDE3_ADD_EXECUTABLE(dumpstore ${dumpstore_SRCS})
+
+TARGET_LINK_LIBRARIES(dumpstore  ${QT_AND_KDECORE_LIBS} )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for testsuite/target/tests
+##
+#
+#LDADD =       $(top_srcdir)/zypp/lib@PACKAGE@.la $(top_srcdir)/testsuite/src/utils/lib@PACKAGE@_testsuite_utils.la
+#
+#noinst_PROGRAMS = hal librpmDb RpmDb storagetargettest import_old_sources_test dumpstore
+#
+#hal_SOURCES = hal.cc
+#
+#librpmDb_SOURCES = librpmDb.cc 
+#RpmDb_SOURCES = RpmDb.cc
+#
+#storagetargettest_SOURCES = storagetargettest.cc Benchmark.cc Benchmark.h
+#dumpstore_SOURCES = dumpstore.cc
+#
+#import_old_sources_test_SOURCES = import_old_sources_test.cc
diff --git a/testsuite/zypp/CMakeLists.txt b/testsuite/zypp/CMakeLists.txt
new file mode 100644 (file)
index 0000000..de0b0ea
--- /dev/null
@@ -0,0 +1,326 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### next target ###############
+
+SET(Arch_SRCS
+Arch.cc
+)
+
+KDE3_AUTOMOC(${Arch_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(Arch ${Arch_SRCS})
+
+TARGET_LINK_LIBRARIES(Arch  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(Url_SRCS
+Url.cc
+)
+
+KDE3_AUTOMOC(${Url_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(Url ${Url_SRCS})
+
+TARGET_LINK_LIBRARIES(Url  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(RWPtr_SRCS
+RWPtr.cc
+)
+
+KDE3_AUTOMOC(${RWPtr_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(RWPtr ${RWPtr_SRCS})
+
+TARGET_LINK_LIBRARIES(RWPtr  ${QT_AND_KDECORE_LIBS} )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(Edition_SRCS
+Edition.cc
+)
+
+KDE3_AUTOMOC(${Edition_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(Edition ${Edition_SRCS})
+
+TARGET_LINK_LIBRARIES(Edition  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(Capabilities_SRCS
+Capabilities.cc
+)
+
+KDE3_AUTOMOC(${Capabilities_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(Capabilities ${Capabilities_SRCS})
+
+TARGET_LINK_LIBRARIES(Capabilities  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(PtrTypes_SRCS
+PtrTypes.cc
+)
+
+KDE3_AUTOMOC(${PtrTypes_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(PtrTypes ${PtrTypes_SRCS})
+
+TARGET_LINK_LIBRARIES(PtrTypes  ${QT_AND_KDECORE_LIBS} )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(TranslatedText_SRCS
+TranslatedText.cc
+)
+
+KDE3_AUTOMOC(${TranslatedText_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(TranslatedText ${TranslatedText_SRCS})
+
+TARGET_LINK_LIBRARIES(TranslatedText  ${QT_AND_KDECORE_LIBS} )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(CheckSum_SRCS
+CheckSum.cc
+)
+
+KDE3_AUTOMOC(${CheckSum_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(CheckSum ${CheckSum_SRCS})
+
+TARGET_LINK_LIBRARIES(CheckSum  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(PublicKey_SRCS
+PublicKey.cc
+)
+
+KDE3_AUTOMOC(${PublicKey_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(PublicKey ${PublicKey_SRCS})
+
+TARGET_LINK_LIBRARIES(PublicKey  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(PathInfo_SRCS
+PathInfo.cc
+)
+
+KDE3_AUTOMOC(${PathInfo_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(PathInfo ${PathInfo_SRCS})
+
+TARGET_LINK_LIBRARIES(PathInfo  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(Digest_SRCS
+Digest.cc
+)
+
+KDE3_AUTOMOC(${Digest_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(Digest ${Digest_SRCS})
+
+TARGET_LINK_LIBRARIES(Digest  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(Signature_SRCS
+Signature.cc
+)
+
+KDE3_AUTOMOC(${Signature_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(Signature ${Signature_SRCS})
+
+TARGET_LINK_LIBRARIES(Signature  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(KeyRing_SRCS
+KeyRing.cc
+)
+
+KDE3_AUTOMOC(${KeyRing_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(KeyRing ${KeyRing_SRCS})
+
+TARGET_LINK_LIBRARIES(KeyRing  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### next target ###############
+
+SET(LazzyText_SRCS
+LazzyText.cc
+)
+
+KDE3_AUTOMOC(${LazzyText_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+
+KDE3_ADD_EXECUTABLE(LazzyText ${LazzyText_SRCS})
+
+TARGET_LINK_LIBRARIES(LazzyText  ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+## Do NOT list devel.* in subdirs. It's developers playgound and
+## must not prevent anything from building.
+#SUBDIRS =
+#
+### ##################################################
+#
+#TESTS = Arch Url \
+#      RWPtr \
+#      Edition         \
+#      Capabilities    \
+#      PtrTypes \
+#      TranslatedText \
+#      CheckSum \
+#      PublicKey \
+#      PathInfo \
+#      Digest \
+#      Signature \
+#      KeyRing \
+#      LazzyText
+#
+#check_PROGRAMS = Arch Url \
+#      RWPtr \
+#      Edition         \
+#      Capabilities    \
+#      PtrTypes \
+#      TranslatedText \
+#      CheckSum \
+#      PublicKey \
+#      PathInfo \
+#      Digest \
+#      Signature \
+#      KeyRing \
+#      LazzyText
+#
+### ##################################################
+#
+#LDADD =       $(top_srcdir)/zypp/lib@PACKAGE@.la 
+#
+### ##################################################
+#
+#Arch_SOURCES = Arch.cc
+#Arch_LDADD = $(LDADD) -lboost_unit_test_framework
+#
+#TranslatedText_SOURCES  = TranslatedText.cc
+#
+#PublicKey_SOURCES = PublicKey.cc
+#PublicKey_LDADD  = $(LDADD) -lboost_unit_test_framework
+#
+#CheckSum_SOURCES = CheckSum.cc
+#CheckSum_LDADD  = $(LDADD) -lboost_unit_test_framework
+#
+#RWPtr_SOURCES = RWPtr.cc
+#
+#Edition_SOURCES = Edition.cc
+#Edition_LDADD  = $(LDADD) -lboost_unit_test_framework
+#
+#Capabilities_SOURCES = Capabilities.cc
+#Capabilities_LDADD  = $(LDADD) -lboost_unit_test_framework
+#
+#PtrTypes_SOURCES = PtrTypes.cc
+#
+#PathInfo_SOURCES = PathInfo.cc
+#PathInfo_LDADD  = $(LDADD) -lboost_unit_test_framework
+#
+#Digest_SOURCES = Digest.cc
+#Digest_LDADD  = $(LDADD) -lboost_unit_test_framework
+#
+#Signature_SOURCES = Signature.cc
+#Signature_LDADD  = $(LDADD) -lboost_unit_test_framework
+#
+#Url_SOURCES = Url.cc
+#Url_LDADD  = $(LDADD) -lboost_unit_test_framework
+#
+#KeyRing_SOURCES = KeyRing.cc
+#KeyRing_LDADD  = $(LDADD) -lboost_unit_test_framework
+#
+#LazzyText_SOURCES = LazzyText.cc
+#LazzyText_LDADD  = $(LDADD) $(top_srcdir)/zypp2/lib@PACKAGE@2.la  -lboost_unit_test_framework
+#
+### ##################################################
+#
+#.PHONY:        always
+#
+#$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+##$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
+##     $(MAKE) -C $(top_srcdir)/zypp
+#
+### ##################################################
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4b15ea8
--- /dev/null
@@ -0,0 +1,14 @@
+ADD_SUBDIRECTORY( registration ) 
+ADD_SUBDIRECTORY( package-manager ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+#SUBDIRS = registration package-manager
diff --git a/tools/package-manager/CMakeLists.txt b/tools/package-manager/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e69fe15
--- /dev/null
@@ -0,0 +1,22 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+INSTALL_FILES( /share/pixmaps FILES  package-manager-icon.png )
+INSTALL_FILES(  FILES  package-manager )
+INSTALL_FILES( /share/applications FILES  package-manager.desktop )
+
+
+
+#original Makefile.am contents follow:
+
+#dist_bin_SCRIPTS = package-manager
+#
+#icondir = $(datadir)/pixmaps
+#icon_DATA = package-manager-icon.png
+#
+#desktopdir = $(datadir)/applications
+#desktop_DATA = package-manager.desktop
+#
+#EXTRA_DIST = $(icon_DATA) $(desktop_DATA)
diff --git a/tools/registration/CMakeLists.txt b/tools/registration/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bdb2fa5
--- /dev/null
@@ -0,0 +1,44 @@
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/tools/registration ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
+
+
+########### install files ###############
+
+
+
+
+#original Makefile.am contents follow:
+
+### Process this file with automake to produce Makefile.in
+### ##################################################
+#
+#libexecdir=$(exec_prefix)/lib/@PACKAGE@
+#
+#libexec_PROGRAMS = zypp-query-pool
+#
+##bindir = $(libexecdir)/zypp
+##bin_PROGRAMS = zypp-query-pool
+#
+### ##################################################
+#
+#INCLUDES = -I$(top_srcdir)/tools/registration -I$(oldincludedir)/libxml2
+#AM_LDFLAGS =
+#
+#AM_CXXFLAGS =
+## gperf:      -pg
+#
+#LDADD =               -L$(top_srcdir)/zypp/.libs -lzypp
+#
+### ##################################################
+#
+#zypp_query_pool_SOURCES =     zypp-query-pool.cc keyring-callbacks.h
+#
+##zmart_LDFLAGS =      -static
+#
+#.PHONY:        always
+#
+##$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
+#
+#$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
+#      $(MAKE) -C $(top_srcdir)/zypp
+#
+### ##################################################
diff --git a/zypp2/CMakeLists.txt b/zypp2/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a0b6cbe
--- /dev/null
@@ -0,0 +1,16 @@
+ADD_SUBDIRECTORY( cache ) 
+ADD_SUBDIRECTORY( source ) 
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
+
+SET(zypp2_SRCS
+LazzyText.cc
+)
+
+SET_SOURCE_FILES_PROPERTIES(${zypp2_SRCS} PROPERTIES COMPILE_FLAGS -DZYPP_BASE_LOGGER_LOGGROUP=\\\"zypp\\\")
+
+ADD_LIBRARY(zypp2 SHARED ${zypp2_SRCS})
+TARGET_LINK_LIBRARIES(zypp2 boost_filesystem util )
+TARGET_LINK_LIBRARIES(zypp2 zypp2_cache)
+TARGET_LINK_LIBRARIES(zypp2 zypp2_source)
+
diff --git a/zypp2/cache/CMakeLists.txt b/zypp2/cache/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1fd32e7
--- /dev/null
@@ -0,0 +1,51 @@
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
+
+
+ADD_SUBDIRECTORY(sqlite3x)
+
+########### next target ###############
+
+SET(zypp2_cache_SRCS
+SourceCache.cpp
+SourceCacheInitializer.cpp
+SourceCacher.cpp
+KnownSourcesCache.cpp
+Utils.cpp
+)
+
+ADD_LIBRARY(zypp2_cache SHARED ${zypp2_cache_SRCS})
+TARGET_LINK_LIBRARIES(zypp2_cache zypp2_sqlite3x )
+
+########### install files ###############
+
+INSTALL_FILES(  FILES  SourceCache.h SourceCacheInitializer.h SourceCacher.h KnownSourcesCache.h Utils.h )
+
+
+
+#original Makefile.am contents follow:
+
+#SUBDIRS = sqlite3x
+#
+#INCLUDES = -DZYPP_BASE_LOGGER_LOGGROUP=\"cache\"
+#
+### ##################################################
+#
+#cacheincludedir = $(pkgincludedir)/cache
+#
+#cacheinclude_HEADERS = SourceCache.h SourceCacheInitializer.h SourceCacher.h KnownSourcesCache.h Utils.h
+#
+### ##################################################
+#
+#noinst_LTLIBRARIES =  lib@PACKAGE@2_cache.la
+#
+### ##################################################
+#
+#lib@PACKAGE@2_cache_la_SOURCES =      SourceCache.cpp SourceCacheInitializer.cpp SourceCacher.cpp KnownSourcesCache.cpp Utils.cpp
+#
+#lib@PACKAGE@2_cache_la_LDFLAGS = @LIBZYPP_VERSION_INFO@
+#
+#lib@PACKAGE@2_cache_la_LIBADD = sqlite3x/lib@PACKAGE@2_sqlite3x.la
+###    hal/lib@PACKAGE@_cache_hal.la \
+###    modalias/lib@PACKAGE@_cache_modalias.la \
+###    store/lib@PACKAGE@_cache_store.la
+#
diff --git a/zypp2/cache/sqlite3x/CMakeLists.txt b/zypp2/cache/sqlite3x/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e22bac9
--- /dev/null
@@ -0,0 +1,38 @@
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
+
+SET(zypp2_sqlite3x_SRCS
+sqlite3x_command.cpp
+sqlite3x_connection.cpp
+sqlite3x_exception.cpp
+sqlite3x_reader.cpp
+sqlite3x_transaction.cpp
+)
+
+ADD_LIBRARY(zypp2_sqlite3x STATIC ${zypp2_sqlite3x_SRCS})
+
+INSTALL_FILES(  FILES  sqlite3x.hpp )
+
+
+
+#original Makefile.am contents follow:
+
+#SUBDIRS =
+#
+#INCLUDES = -DZYPP_BASE_LOGGER_LOGGROUP=\"sqlite3x\"
+#
+### ##################################################
+#
+#sqlite3xincludedir = $(pkgincludedir)/sqlite3x
+#
+#sqlite3xinclude_HEADERS = sqlite3x.hpp
+#
+### ##################################################
+#
+#noinst_LTLIBRARIES =  lib@PACKAGE@2_sqlite3x.la
+#
+### ##################################################
+#
+#lib@PACKAGE@2_sqlite3x_la_SOURCES =   sqlite3x_command.cpp sqlite3x_connection.cpp \
+#      sqlite3x_exception.cpp sqlite3x_reader.cpp sqlite3x_transaction.cpp
+#      
+#lib@PACKAGE@2_sqlite3x_la_LDFLAGS = -lsqlite3 @LIBZYPP_VERSION_INFO@
diff --git a/zypp2/source/CMakeLists.txt b/zypp2/source/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f675827
--- /dev/null
@@ -0,0 +1,15 @@
+ADD_SUBDIRECTORY( yum ) 
+ADD_SUBDIRECTORY( sqlite-source )
+
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
+
+
+########### next target ###############
+
+SET(zypp2_source_SRCS
+dummy.cc
+)
+
+ADD_LIBRARY(zypp2_source STATIC ${zypp2_source_SRCS})
+TARGET_LINK_LIBRARIES(zypp2_source zypp2_source_yum)
+TARGET_LINK_LIBRARIES(zypp2_source zypp2_source_sqlite)
diff --git a/zypp2/source/sqlite-source/CMakeLists.txt b/zypp2/source/sqlite-source/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8c88c36
--- /dev/null
@@ -0,0 +1,75 @@
+
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
+
+SET(zypp2_source_sqlite_SRCS
+SqliteSourceImpl.cc
+SqlitePackageImpl.cc
+SqliteAtomImpl.cc
+SqliteScriptImpl.cc
+SqliteMessageImpl.cc
+SqliteLanguageImpl.cc
+SqlitePatchImpl.cc
+SqlitePatternImpl.cc
+SqliteProductImpl.cc
+SqliteSources.cc
+SqliteAccess.cc
+schema.h
+)
+
+########### next target ###############
+
+ADD_LIBRARY(zypp2_source_sqlite STATIC ${zypp2_source_sqlite_SRCS})
+
+
+########### install files ###############
+
+#INSTALL_FILES(  FILES  SqliteSourceImpl.h                                     SqlitePackageImpl.h                                     SqliteAtomImpl.h                                        SqliteScriptImpl.h                                      SqliteMessageImpl.h                                     SqliteLanguageImpl.h                            SqlitePatchImpl.h                                       SqlitePatternImpl.h                                     SqliteProductImpl.h )
+#INSTALL_FILES(  FILES  SqliteSources.h                                        SqliteAccess.h )
+
+
+
+#original Makefile.am contents follow:
+
+##
+## Makefile.am for zmd/backend/dbsource
+##
+#
+#INCLUDES =                                    \
+#      -I$(top_srcdir) $(ZYPP_CFLAGS) -Wall    \
+#      -DG_LOG_DOMAIN=\"sqlite-source\"                \
+#      -DZYPP_BASE_LOGGER_LOGGROUP=\"sqlite-source\"
+#
+#sourceincludedir = $(pkgincludedir)/source
+#
+#pkginclude_HEADERS =                          \
+#      SqliteSources.h                         \
+#      SqliteAccess.h
+#
+#sourceinclude_HEADERS =                               \
+#      SqliteSourceImpl.h                              \
+#      SqlitePackageImpl.h                             \
+#      SqliteAtomImpl.h                                \
+#      SqliteScriptImpl.h                              \
+#      SqliteMessageImpl.h                             \
+#      SqliteLanguageImpl.h                    \
+#      SqlitePatchImpl.h                               \
+#      SqlitePatternImpl.h                             \
+#      SqliteProductImpl.h
+#
+#noinst_LTLIBRARIES =  lib@PACKAGE@2_source_sqlite.la
+#
+#lib@PACKAGE@2_source_sqlite_la_SOURCES =                      \
+#      SqliteSourceImpl.cc                             \
+#      SqlitePackageImpl.cc                    \
+#      SqliteAtomImpl.cc                               \
+#      SqliteScriptImpl.cc                             \
+#      SqliteMessageImpl.cc                    \
+#      SqliteLanguageImpl.cc                   \
+#      SqlitePatchImpl.cc                              \
+#      SqlitePatternImpl.cc                    \
+#      SqliteProductImpl.cc                    \
+#      SqliteSources.cc                                \
+#      SqliteAccess.cc \
+#      schema.h
+#
+#lib@PACKAGE@2_source_sqlite_la_LBADD = -lsqlite3
diff --git a/zypp2/source/yum/CMakeLists.txt b/zypp2/source/yum/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4c49b86
--- /dev/null
@@ -0,0 +1,9 @@
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
+
+########### next target ###############
+
+SET(zypp2_source_yum_SRCS
+YUMSourceCacher.cc
+)
+
+ADD_LIBRARY(zypp2_source_yum STATIC ${zypp2_source_yum_SRCS})