<?xml version="1.0" ?>
<makefile>
- <set var="BUILDING_LIB">0</set>
-
<include file="common.bkl"/>
</if>
</set>
</if>
+
+ <set var="DLLFLAG">
+ <if cond="SHARED=='1'">WXUSINGDLL</if>
+ </set>
<template id="wx_sample" template="wx">
<include>$(SRCDIR)</include>
<!-- Always link against the wxWin library in monolithic build: -->
<sys-lib>$(WXLIB_MONO)</sys-lib>
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
+ <define>$(DLLFLAG)</define>
+ <app-type>gui</app-type>
<mac-res cond="FORMAT=='autoconf'">$(MACOSX_RESOURCES)</mac-res>
</template>