Generating the moc file during build time

This commit is contained in:
Poorna Pushkala 2005-10-19 12:05:03 +00:00
parent 24673f2b24
commit e61803ae93
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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