[svn] / trunk / xvidcore / build / generic / Makefile.freebsd Repository:
ViewVC logotype

Annotation of /trunk/xvidcore/build/generic/Makefile.freebsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 130 - (view) (download)

1 : knhor 129 #/**************************************************************************
2 :     # *
3 : knhor 130 # * freebsd makefile
4 : knhor 129 # *
5 :     # *************************************************************************/
6 :    
7 :    
8 :     include Makefile.inc
9 :    
10 :     CC = gcc -Wall
11 :     CFLAGS = -DFREEBSD
12 : knhor 130 LIBDIR = /usr/local/lib
13 : knhor 129
14 :     RM = rm -rf
15 :    
16 :     all: $(LIB) $(LIBSO)
17 :    
18 :    
19 :     $(LIB): $(SRC:.c=.o)
20 :     ar rcs $@ $^
21 :    
22 :    
23 :     $(LIBSO): $(SRC:.c=.o)
24 :     $(CC) $^ -shared -lc -lm -o $@
25 :    
26 :     clean:
27 : knhor 130 $(RM) $(LIBSO) $(LIB) `find $(SRCDIR) -name "*.o"`
28 : knhor 129
29 :     remove-all:
30 :     $(RM) $(DIRS)
31 :     $(RM) $(LIB)
32 :     $(RM) $(LIBSO)
33 : knhor 130
34 :     install: $(LIB) $(LIBSO)
35 :     install -c -m 0666 $(LIBSO) $(LIB) $(LIBDIR)

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4