Line an 8-inch square baking pan with 2 pieces of overlapped wax paper.
Add 1 tbs of anise seeds to 1/2-cup water and bring to a boil. Boil for 1 minute, then remove from heat and let cool. Toast the rest of the anise seeds at 300 degrees until golden and fragrant.
Place the flour, salt, sesame seeds, anis seeds, sugar, and baking powder in a food processor. Add the cold butter and vegetable shortening, and process briefly, until sandy in texture.
Add the egg yolks, vanilla, and anise extract and process briefly. Add the anise seeds and water (cooled) one tablespoon at a time, until mixture forms a dough. Wrap dough in saran wrap and chill for 1 hour.
Preheat oven to 350 degrees.
On a floured surface, roll out half of the chilled dough to 1/2 inch thickness. Trim the dough into an 8.5-inch x 8.5-inch square. Cut square lengthwise into 1/2-inch wide strips, and place them on a baking sheet. Repeat with other half of dough. Roll scraps as necessary.
Bake cookie strips for 20 to 25 minutes, until golden brown. Remove from oven and let cool.
Working carefully, pour hot syrup slowly over the cookies, letting it soak into the cracks. Cover with candy sprinkles. Let rest for several hours, until completely cool.
Lift wax paper to remove turrón from the pan. Slice turrón into desired pieces. Turrón will keep for several weeks in an airtight container.
For the Syrup: Add 3 1/2 cups of water to a pot. Cut the apple, lime, and the orange into quarters and add along with the prunes, cinnamon sticks, salt, cloves, and allspice.
Bring mixture to a boil, then lower heat and simmer, covered, for about 20 minutes, or until the apple is soft and translucent.
While the fruit is simmering, assemble the cookies in the pan. Cover the bottom of the pan (lined with wax paper) with cookie strips layed side by side. Crumble one cookie strip and use the crumbs to fill in any holes between the strips.
Make another layer of cookie strips on top of the first layer, but lay them down crosswise to the first one. Fill in any holes with crumbs. Repeat until all the strips are used, stopping with a complete top layer.
When the apples are cooked and translucent, remove fruit and water from heat. Strain mixture into a colander. Discard fruit and spices. Add sugar, brown sugar, and molasses to the strained liquid, and bring to a boil. Boil until mixture reaches 240 degrees Fahrenheit. Syrup will form a thin thread when twirled from a spoon. Let syrup cool for 3-5 minutes.