2 ########### next target ###############
9 KDE3_AUTOMOC(${media2_SRCS})
11 KDE3_ADD_EXECUTABLE(media2 ${media2_SRCS})
13 TARGET_LINK_LIBRARIES(media2 ${QT_AND_KDECORE_LIBS} )
16 ########### next target ###############
23 KDE3_AUTOMOC(${media3_SRCS})
25 KDE3_ADD_EXECUTABLE(media3 ${media3_SRCS})
27 TARGET_LINK_LIBRARIES(media3 ${QT_AND_KDECORE_LIBS} )
30 ########### next target ###############
37 KDE3_AUTOMOC(${media4_SRCS})
39 KDE3_ADD_EXECUTABLE(media4 ${media4_SRCS})
41 TARGET_LINK_LIBRARIES(media4 ${QT_AND_KDECORE_LIBS} )
44 ########### next target ###############
51 KDE3_AUTOMOC(${fileexists_SRCS})
53 KDE3_ADD_EXECUTABLE(fileexists ${fileexists_SRCS})
55 TARGET_LINK_LIBRARIES(fileexists ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
58 ########### next target ###############
60 SET(throw_if_not_exists_SRCS
61 throw_if_not_exists.cc
65 KDE3_AUTOMOC(${throw_if_not_exists_SRCS})
67 KDE3_ADD_EXECUTABLE(throw_if_not_exists ${throw_if_not_exists_SRCS})
69 TARGET_LINK_LIBRARIES(throw_if_not_exists ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
72 ########### next target ###############
79 KDE3_AUTOMOC(${media1_SRCS})
83 KDE3_ADD_EXECUTABLE(media1 ${media1_SRCS})
85 TARGET_LINK_LIBRARIES(media1 ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
87 ENDIF(KDE3_BUILD_TESTS)
89 ########### next target ###############
95 KDE3_AUTOMOC(${fileexists_SRCS})
97 FILE(WRITE dummy.cpp "//autogenerated file by cmake\n")
100 KDE3_ADD_EXECUTABLE(fileexists ${fileexists_SRCS})
102 TARGET_LINK_LIBRARIES(fileexists ${QT_AND_KDECORE_LIBS} )
104 ENDIF(KDE3_BUILD_TESTS)
106 ########### next target ###############
108 SET(throw_if_not_exists_SRCS
112 KDE3_AUTOMOC(${throw_if_not_exists_SRCS})
114 FILE(WRITE dummy.cpp "//autogenerated file by cmake\n")
117 KDE3_ADD_EXECUTABLE(throw_if_not_exists ${throw_if_not_exists_SRCS})
119 TARGET_LINK_LIBRARIES(throw_if_not_exists ${QT_AND_KDECORE_LIBS} )
121 ENDIF(KDE3_BUILD_TESTS)
123 ########### install files ###############
128 #original Makefile.am contents follow:
130 ### Process this file with automake to produce Makefile.in
131 ### ##################################################
133 ## Do NOT list devel.* in subdirs. It's developers playgound and
134 ## must not prevent anything from building.
137 ### ##################################################
140 #TESTS = media1 fileexists
142 #noinst_PROGRAMS = media2 media3 media4 fileexists throw_if_not_exists
144 #check_PROGRAMS = media1 fileexists throw_if_not_exists
147 ### ##################################################
149 #LDADD = $(top_srcdir)/zypp/lib@PACKAGE@.la
151 ### ##################################################
153 #media1_SOURCES = media1.cc mymediaverifier.h
154 #media1_LDADD = $(LDADD) -lboost_unit_test_framework
156 #fileexists_SOURCES = file_exists_test.cc mymediaverifier.h
157 #fileexists_LDADD = $(LDADD) -lboost_unit_test_framework
159 #media2_SOURCES = media2.cc mymediaverifier.h
160 #media2_LDADD = $(LDADD)
162 #media3_SOURCES = media3.cc mymediaverifier.h
163 #media3_LDADD = $(LDADD)
165 #media4_SOURCES = media4.cc mymediaverifier.h
166 #media4_LDADD = $(LDADD)
168 #throw_if_not_exists_SOURCES = throw_if_not_exists.cc mymediaverifier.h
169 #throw_if_not_exists_LDADD = $(LDADD) -lboost_unit_test_framework
171 ### ##################################################
175 #$(noinst_PROGRAMS): $(top_srcdir)/zypp/lib@PACKAGE@.la
177 ##$(top_srcdir)/zypp/lib@PACKAGE@.la: always
178 ## $(MAKE) -C $(top_srcdir)/zypp
180 ### ##################################################