1 # Rules for XCSoarSetup.dll
3 ifeq ($(HAVE_CE
)$(findstring $(TARGET
),ALTAIR
),y
)
5 XCSOARSETUP_DLL
= $(TARGET_BIN_DIR
)/XCSoarSetup.dll
6 XCSOARSETUP_SOURCES
= \
8 XCSOARSETUP_OBJS
= $(call SRC_TO_OBJ
,$(XCSOARSETUP_SOURCES
))
10 $(TARGET_OUTPUT_DIR
)/XCSoarSetup.e
: $(SRC
)/XcSoarSetup.def
$(XCSOARSETUP_OBJS
) |
$(TARGET_BIN_DIR
)/dirstamp
11 $(Q
)$(DLLTOOL
) -e
$@
-d
$^
13 $(XCSOARSETUP_DLL
): TARGET_LDLIBS
=
14 $(XCSOARSETUP_DLL
): $(TARGET_OUTPUT_DIR
)/XCSoarSetup.e
$(XCSOARSETUP_OBJS
) |
$(TARGET_BIN_DIR
)/dirstamp
16 $(Q
)$(LINK
) -shared
$(ld-flags
) $^
$(ld-libs
) -o
$@