added prefixes and suffixes to libs and plugins. ALl this to accomodate cygwin... Also added INST_SYS_PREFIX and INST_SHARE_PREFIX for installation, as well as "standardizing" the install locations for the various platforms.
26 lines
378 B
Makefile
26 lines
378 B
Makefile
TOPDIR = ../..
|
|
include $(TOPDIR)/Make/makedefs
|
|
SHELL = /bin/sh
|
|
|
|
all :: rpm
|
|
|
|
|
|
rpm : osg.spec tardist
|
|
rpm -bb --clean osg.spec
|
|
|
|
osg.spec : version makespec
|
|
./makespec
|
|
|
|
tardist :
|
|
(cd $(TOPDIR)/..; \
|
|
tar cf - ${BINDIRS} | gzip > \
|
|
/usr/src/redhat/SOURCES/osg-${OSGVERSION}.tar.gz)
|
|
|
|
|
|
clean :
|
|
rm -f osg.spec
|
|
|
|
|
|
version : version.o
|
|
$(CXX) $(LDFLAGS) version.o -losg -o $@
|