| 1 |
IVDEPTH = . |
| 2 |
include $(IVDEPTH)/make/ivcommondefs |
| 3 |
|
| 4 |
|
| 5 |
# Use of LSUBDIRS is to allow override using environment variable without |
| 6 |
# conflicting with SUBDIRS in subdirectory makefiles. |
| 7 |
|
| 8 |
LSUBDIRS = libimage tools libFL lib libSoXt doc apps data |
| 9 |
SUBDIRS = $(LSUBDIRS) |
| 10 |
|
| 11 |
all install $(COMMONTARGS): |
| 12 |
$(SUBDIRS_MAKERULE) |
| 13 |
|
| 14 |
|
| 15 |
SPECS = sgi-OpenInventor-clients.rpm.spec \ |
| 16 |
sgi-OpenInventor-data.rpm.spec \ |
| 17 |
sgi-OpenInventor-devel.rpm.spec |
| 18 |
|
| 19 |
TARBALL = oiv.tar.gz |
| 20 |
|
| 21 |
rpms: |
| 22 |
cd ..; rm -f $(TARBALL); tar zcvf $(TARBALL) inventor |
| 23 |
su -c "cp -f ../$(TARBALL) /usr/src/redhat/SOURCES" |
| 24 |
|
| 25 |
for s in $(SPECS); do \ |
| 26 |
(su -c "cd build; rpm -bb $$s") \ |
| 27 |
done; |