SOURCES = \
	main.c \
	preloader.c \
	preloader_mac.c \
	wine.de.UTF-8.man.in \
	wine.desktop \
	wine.fr.UTF-8.man.in \
	wine.inf.in \
	wine.man.in \
	wine.pl.UTF-8.man.in \
	wine_info.plist.in \
	winebus.inf.in \
	winehid.inf.in

PROGRAMS = $(WINELOADER_PROGRAMS)
INSTALL_LIB = $(WINELOADER_PROGRAMS)

preloader_EXTRADEFS = -fno-builtin

wine_OBJS = main.o
wine_DEPS = $(WINELOADER_DEPENDS)
wine_LDFLAGS = $(WINELOADER_LDFLAGS) $(LDEXECFLAGS) -lwine $(PTHREAD_LIBS)

wine64_OBJS = main.o
wine64_DEPS = $(WINELOADER_DEPENDS)
wine64_LDFLAGS = $(WINELOADER_LDFLAGS) $(LDEXECFLAGS) -lwine $(PTHREAD_LIBS)

wine_preloader_OBJS = preloader.o preloader_mac.o
wine_preloader_LDFLAGS = $(WINEPRELOADER_LDFLAGS)

wine64_preloader_OBJS = preloader.o preloader_mac.o
wine64_preloader_LDFLAGS = $(WINEPRELOADER_LDFLAGS)