aboutsummaryrefslogtreecommitdiff
path: root/games/ufoai/files/patch-Makefile
blob: 18b837d7eb6a166bc0aec83f160294743236c33d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- Makefile	Sat Sep 30 13:30:44 2006
+++ Makefile	Sat Sep 30 20:44:26 2006
@@ -346,6 +346,15 @@
 	endif
 endif # ARCH i386
 
+ifeq ($(ARCH),amd64)
+	ifeq ($(strip $(BUILD_GLX)),YES)
+		TARGETS += $(BUILDDIR)/ref_glx.$(SHLIBEXT)
+	endif
+	ifeq ($(strip $(BUILD_SDLUFO)),YES)
+		TARGETS += $(BUILDDIR)/ref_sdl.$(SHLIBEXT)
+	endif
+endif # ARCH FreeBSD/amd64
+
 ifeq ($(strip $(BUILD_COMPILETOOLS)),YES)
 	TARGETS += $(BUILDDIR)/ufo2map
 endif
@@ -1326,8 +1335,8 @@
 	for po in $$pofiles; do \
 	  po=`basename $$po`; \
 	  dir=`echo $$po | sed -e 's,\.po,,'`; \
-	  mkdir -p ../base/i18n/$$dir/LC_MESSAGES; \
-	  msgfmt -v -o ../base/i18n/$$dir/LC_MESSAGES/ufoai.mo po/$$po; \
+	  mkdir -p base/i18n/$$dir/LC_MESSAGES; \
+	  msgfmt -v -o base/i18n/$$dir/LC_MESSAGES/ufoai.mo po/$$po; \
 	done
 
 docs: