File: load-ac-macosx

package info (click to toggle)
autoclass 3.3.6-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 9,596 kB
  • ctags: 995
  • sloc: ansic: 16,726; makefile: 115; csh: 111; sh: 98; cpp: 95
file content (48 lines) | stat: -rw-r--r-- 1,312 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/csh -f

# make the C version of AutoClass
# with -tags arg, emacs tags files will be generated


cd prog

set makeflags = "OSFLAGS=-DMACOSX"
set etags_flag = -f
set sunos_solaris = ""

if ( "`/usr/bin/uname -s`" == "Darwin" ) then  # APPLE MAC OS X
  make $makeflags -f autoclass.make.macosx.gcc

else
  echo "Unrecognized operating system"
  exit
endif


mv autoclass ../autoclass

if ("X$1" != "X") then
  # compute emacs tags for autoclass
  etags $etags_flag ../autoclass.TAGS \
        globals.c init.c io-read-data.c io-read-model.c io-results.c \
        io-results-bin.c model-expander-3.c matrix-utilities.c \
	model-single-multinomial.c model-single-normal-cm.c \
	model-single-normal-cn.c model-multi-normal-cn.c \
	model-transforms.c model-update.c search-basic.c \
	search-control.c search-control-2.c \
        search-converge.c struct-class.c struct-clsf.c \
	statistics.c predictions.c \
	struct-data.c struct-matrix.c struct-model.c \
        utils.c utils-math.c \
        intf-reports.c intf-extensions.c intf-influence-values.c \
        intf-sigma-contours.c \
	prints.c getparams.c autoclass.c \
        autoclass.h getparams.h globals.h params.h fcntlcom-ac.h minmax.h
else
  # remove .o files (for distribution)
  make -f autoclass.make
endif

# back up to parent directory
cd ..