Annotation of ports/games/ufoai/base/patches/patch-build_server_mk, Revision 1.1
1.1 ! yason 1: $OpenBSD$
! 2: --- build/server.mk.orig Sun Jun 13 11:47:44 2010
! 3: +++ build/server.mk Fri Sep 3 00:21:24 2010
! 4: @@ -49,7 +49,7 @@ ifeq ($(HARD_LINKED_GAME),1)
! 5: DEDICATED_CFLAGS+=$(GAME_CFLAGS)
! 6: endif
! 7:
! 8: -ifneq ($(findstring $(TARGET_OS), netbsd freebsd linux-gnu),)
! 9: +ifneq ($(findstring $(TARGET_OS), netbsd freebsd openbsd linux-gnu),)
! 10: SERVER_SRCS += \
! 11: ports/linux/linux_main.c \
! 12: ports/unix/unix_console.c \
! 13: @@ -100,7 +100,7 @@ $(SERVER_TARGET): $(SERVER_OBJS)
! 14: # Say how to build .o files from .c files for this module
! 15: $(BUILDDIR)/server/%.o: $(SRCDIR)/%.c
! 16: @echo " * [DED] $<"; \
! 17: - $(CC) $(CFLAGS) $(DEDICATED_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
! 18: + $(CC) $(CPPFLAGS) $(CFLAGS) $(DEDICATED_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
! 19:
! 20: ifeq ($(TARGET_OS),mingw32)
! 21: # Say how to build .o files from .rc files for this module
! 22: @@ -112,4 +112,4 @@ endif
! 23: # Say how to build .o files from .m files for this module
! 24: $(BUILDDIR)/server/%.o: $(SRCDIR)/%.m
! 25: @echo " * [DED] $<"; \
! 26: - $(CC) $(CFLAGS) $(DEDICATED_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
! 27: + $(CC) $(CPPFLAGS) $(CFLAGS) $(DEDICATED_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
CVSweb