1 DESCRIPTION = "Removes ifdefs from C files"
2 HOMEPAGE = "http://dotat.at/prog/unifdef/"
3 SECTION = "Development/Tools"
14 RPROVIDES_unifdef += "unifdef"
21 chmod -Rf a+rX,u+w,g-w,o-w ${S}
23 cp ${S}/packaging/unifdef.manifest .
35 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
36 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
37 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
38 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
40 make -j16 CC=gcc CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables"
47 echo export RPM_BUILD_ROOT=${D}
54 make install DESTDIR=${D} prefix=/usr
63 unifdef_files += "unifdef.manifest"
64 unifdef_files += "/usr/bin/unifdef"
65 unifdef_files += "/usr/bin/unifdefall"
66 unifdef_files += "/usr/share/man/man1/unifdef.1*"
67 unifdef_files += "/usr/share/man/man1/unifdefall.1*"
69 FILES_${PN} = "${unifdef_files}"
71 PKG_unifdef= "unifdef"
73 require unifdef-extraconf.inc