f8e4770657
- Use DOCSDIR PR: ports/72064 [1] Submitted by: Michael Johnson <ahze@ahze.net>
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
--- makefile.orig Sat Jun 23 22:04:47 2001
|
|
+++ makefile Fri Sep 24 12:05:35 2004
|
|
@@ -1,27 +1,27 @@
|
|
|
|
-INC=-I/opt/gdk-pixbuf/lib -I/usr/include -I/usr/include/libdv
|
|
-LIBS=-ljpeg -lm -lgdk_pixbuf /usr/lib/libdv.a
|
|
+INC=`${GDK_PIXBUF_CONFIG} --cflags` -I${PREFIX}/include/libdv
|
|
+LIBS=-ljpeg -lm -ldv `${GDK_PIXBUF_CONFIG} --libs` -L${LOCALBASE}/lib
|
|
|
|
# what type of video do you want?
|
|
-VIDEO=NTSC
|
|
+VIDEO=%%VID_FORMAT%%
|
|
# VIDEO=PAL
|
|
|
|
all: dv2jpg avijoin
|
|
|
|
dv2jpg: dv2jpg.o avilib.o dvavilib.o
|
|
- gcc -o dv2jpg dv2jpg.o avilib.o dvavilib.o $(LIBS) `glib-config --libs` `gtk-config --libs`
|
|
+ $(CC) $(CFLAGS) -o dv2jpg dv2jpg.o avilib.o dvavilib.o $(LIBS) $(LDFLAGS)
|
|
|
|
dv2jpg.o: dv2jpg.c
|
|
- gcc -g $(INC) `glib-config --cflags` `gtk-config --cflags` -D$(VIDEO) -g -c dv2jpg.c
|
|
+ $(CC) $(CFLAGS) $(INC) -D$(VIDEO) -c dv2jpg.c
|
|
|
|
avilib.o: avilib.c
|
|
- gcc -g -c avilib.c
|
|
+ $(CC) $(CFLAGS) -c avilib.c
|
|
|
|
dvavilib.o: dvavilib.c
|
|
- gcc -g -c dvavilib.c
|
|
+ $(CC) $(CFLAGS) -c dvavilib.c
|
|
|
|
clean:
|
|
/bin/rm -f *.o dv2jpg core avijoin
|
|
|
|
avijoin: avijoin.c avilib.o
|
|
- gcc -g -o avijoin avijoin.c avilib.o
|
|
+ $(CC) $(CFLAGS) -o avijoin avijoin.c avilib.o $(LDFLAGS)
|