File: GNUmakefile

package info (click to toggle)
inventor 2.1.5-10-21
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 36,312 kB
  • sloc: ansic: 33,864; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 81; csh: 35; sed: 11
file content (27 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
IVDEPTH = .
include $(IVDEPTH)/make/ivcommondefs


# Use of LSUBDIRS is to allow override using environment variable without
# conflicting with SUBDIRS in subdirectory makefiles.

LSUBDIRS = libimage tools libFL lib libSoXt doc data apps
SUBDIRS = $(LSUBDIRS)

all install $(COMMONTARGS):
	$(SUBDIRS_MAKERULE)


SPECS = sgi-OpenInventor-clients.rpm.spec \
	sgi-OpenInventor-data.rpm.spec \
	sgi-OpenInventor-devel.rpm.spec

TARBALL = oiv.tar.gz

rpms:
	cd ..; rm -f $(TARBALL); tar zcvf $(TARBALL) inventor
	su -c "cp -f ../$(TARBALL) /usr/src/redhat/SOURCES"

	for s in $(SPECS); do \
	  (su -c "cd build; rpm -bb $$s") \
	done;