diff options
Diffstat (limited to 'apps/plugins/databox')
-rw-r--r-- | apps/plugins/databox/Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/apps/plugins/databox/Makefile b/apps/plugins/databox/Makefile index 12b211d527..78387fd6f1 100644 --- a/apps/plugins/databox/Makefile +++ b/apps/plugins/databox/Makefile | |||
@@ -56,6 +56,22 @@ else | |||
56 | endif | 56 | endif |
57 | 57 | ||
58 | else # end of x11-simulator | 58 | else # end of x11-simulator |
59 | ifeq ($(SIMVER), sdl) | ||
60 | ################################################### | ||
61 | # This is the SDL simulator version | ||
62 | |||
63 | $(OUTPUT): $(OBJS) | ||
64 | @echo "LD $<" | ||
65 | @$(CC) $(CFLAGS) -shared $(OBJS) -L$(BUILDDIR) -lplugin -o $@ | ||
66 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) | ||
67 | # 'x' must be kept or you'll have "Win32 error 5" | ||
68 | # $ fgrep 5 /usr/include/w32api/winerror.h | head -1 | ||
69 | # #define ERROR_ACCESS_DENIED 5L | ||
70 | else | ||
71 | @chmod -x $@ | ||
72 | endif | ||
73 | |||
74 | else # end of sdl-simulator | ||
59 | ################################################### | 75 | ################################################### |
60 | # This is the win32 simulator version | 76 | # This is the win32 simulator version |
61 | DLLTOOLFLAGS = --export-all | 77 | DLLTOOLFLAGS = --export-all |
@@ -74,7 +90,7 @@ else | |||
74 | @chmod -x $@ | 90 | @chmod -x $@ |
75 | endif | 91 | endif |
76 | endif # end of win32-simulator | 92 | endif # end of win32-simulator |
77 | 93 | endif | |
78 | endif # end of simulator section | 94 | endif # end of simulator section |
79 | 95 | ||
80 | 96 | ||