aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/opencinematools/files/patch-build_unix_Makefile
blob: ac2b9f0046b1c2f73f5ba2015a98dcdb638965ab (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

$FreeBSD$

--- build/unix/Makefile.orig
+++ build/unix/Makefile
@@ -1,13 +1,15 @@
 CC = g++
-LIBS = -lm -lopenjpeg -lexpat -lasdcp -lkumu -crypto
+LIBS = -lm -lopenjpeg -lexpat -lasdcp -lkumu -lcrypto
 SRCS = ../../src/
 BINS = ../../bin/
 
+all   : mkcpl mkpkl mkmap
+
 mkcpl : $(SRCS)mkcpl.cpp
-   $(CC) -o $(BINS)mkcpl $(SRCS)mkcpl.cpp $(LIBS)
+   $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINS)mkcpl $(SRCS)mkcpl.cpp $(LIBS)
 
 mkpkl : $(SRCS)mkpkl.cpp
-   $(CC) -o $(BINS)mkpkl $(SRCS)mkpkl.cpp $(LIBS)
+   $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINS)mkpkl $(SRCS)mkpkl.cpp $(LIBS)
 
 mkmap : $(SRCS)mkmap.cpp
-   $(CC) -o $(BINS)mkmap $(SRCS)mkmap.cpp $(LIBS)
\ No newline at end of file
+   $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINS)mkmap $(SRCS)mkmap.cpp $(LIBS)