From e61803ae9361bbe0cd25b7030441e6f943d36769 Mon Sep 17 00:00:00 2001 From: Poorna Pushkala Date: Wed, 19 Oct 2005 12:05:03 +0000 Subject: [PATCH] Generating the moc file during build time --- shsrc/lshsrc/mk-micasa_kw-dl | 2 ++ shsrc/lshsrc/mk-micasa_kw-ol | 2 ++ 2 files changed, 4 insertions(+) diff --git a/shsrc/lshsrc/mk-micasa_kw-dl b/shsrc/lshsrc/mk-micasa_kw-dl index 0c689cd4..ea6ed5b5 100644 --- a/shsrc/lshsrc/mk-micasa_kw-dl +++ b/shsrc/lshsrc/mk-micasa_kw-dl @@ -25,8 +25,10 @@ fi #COMMON_FILES=$(ls) #(ln -f $COMMON_FILES $PR/c_micasadk) cd $PR/c_adlib/ad_kw/native +moc kwallets_rw.h -o kwallets_rw.moc (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=dbg XTRA_CFLAGS="-I/opt/kde3/include -I/usr/lib\"$ARCH_LIB\"/qt3/include -I/usr/X11R6/include -DSSCS_LINUX_PLAT_F -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAS -DDEBUG -g" $2 $3 $4 $5) RCODE=$? +rm kwallets_rw.moc rm -f $COMMON_FILES if(test $RCODE != 0) then diff --git a/shsrc/lshsrc/mk-micasa_kw-ol b/shsrc/lshsrc/mk-micasa_kw-ol index fef051e3..c457279c 100644 --- a/shsrc/lshsrc/mk-micasa_kw-ol +++ b/shsrc/lshsrc/mk-micasa_kw-ol @@ -25,9 +25,11 @@ fi #COMMON_FILES=$(ls) #(ln -f $COMMON_FILES $PR/c_micasadk) cd $PR/c_adlib/ad_kw/native +moc kwallets_rw.h -o kwallets_rw.moc (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I/opt/kde3/include -I/usr/lib\"$ARCH_LIB\"/qt3/include -I/usr/X11R6/include -DSSCS_LINUX_PLAT_F -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAS -g" $2 $3 $4 $5) RCODE=$? rm -f $COMMON_FILES +rm kwallets_rw.moc if(test $RCODE != 0) then exit $RCODE