# # (C) Copyright 1992, ..., 2007 the "DOSEMU-Development-Team". # # for details see file COPYING.DOSEMU in the DOSEMU distribution # top_builddir=../../.. include $(top_builddir)/Makefile.conf include Makefile.conf CFLAGS+=$(DL_CFLAGS) CPPFLAGS+=$(SDL_CFLAGS) CFILES= ifdef SDL_SUPPORT CFILES=sdl.c keyb_SDL.c mouse_SDL.c snd_o_SDL.c endif SFILES= ALL=$(CFILES) $(SFILES) OBJS=$(CFILES:.c=.o) OOBJS= DEPENDS=$(CFILES:.c=.d) ifdef USE_DL_PLUGINS ifdef SDL_SUPPORT all: $(BINPATH)/bin/libplugin_sdl.so $(LIB) endif endif include $(REALTOPDIR)/src/Makefile.common ifdef USE_DL_PLUGINS $(BINPATH)/bin/libplugin_sdl.so: $(OBJS) $(CC) $(LDFLAGS) -shared -o $@ $^ $(SDL_LIBS) $(AR) crs $(LIB) endif install: all realclean:: rm -f Makefile.conf config.log config.status include/sdl_config.h rm -rf autom4te*.cache