source: trunk/dports/math/libranlib/files/Makefile @ 14961

Last change on this file since 14961 was 14961, checked in by mww, 15 years ago

new port math/libranlib

  • Property svn:eol-style set to native
File size: 563 bytes
Line 
1OBJ=../linpack/linpack.o com.o ranlib.o
2
3all: $(OBJ)
4        $(CC) $(CFLAGS) -dynamiclib $(OBJ) -o libranlib-1.0.dylib -install_name $(prefix)/lib/libranlib-1.0.dylib
5
6install: all
7        install -m 644 ranlib.h $(DESTDIR)$(prefix)/include
8        install -m 644 libranlib-1.0.dylib $(DESTDIR)$(prefix)/lib
9        cd $(DESTDIR)$(prefix)/lib && ln -s libranlib-1.0.dylib libranlib-1.dylib
10        cd $(DESTDIR)$(prefix)/lib && ln -s libranlib-1.0.dylib libranlib.dylib
11        install -m 755 -d $(DESTROOT)$(prefix)/share/doc/libranlib
12        install -m 644 ../README $(DESTROOT)$(prefix)/share/doc/libranlib
13
Note: See TracBrowser for help on using the repository browser.