head	1.4;
access;
symbols
	ansi-20040405-merged:1.2.4.1
	premerge-autoconf:1.3
	postmerge-20040315-windows:1.3
	premerge-20040315-windows:1.3
	windows-20040315-freeze:1.2.6.1
	phong-branch:1.3.0.4
	photonmap-branch:1.3.0.2
	rel-6-1-DP:1.2
	windows-branch:1.2.0.6
	rel-6-0-2:1.2
	ansi-branch:1.2.0.4
	rel-6-0-1-branch:1.2.0.2
	hartley-6-0-post:1.2
	hartley-6-0-pre:1.2
	rel-6-0-1:1.2
	rel-6-0:1.1
	AUTOCONF:1.3.0.6;
locks; strict;
comment	@# @;


1.4
date	2004.03.18.18.25.16;	author erikg;	state dead;
branches;
next	1.3;

1.3
date	2002.12.04.19.40.12;	author jra;	state Exp;
branches
	1.3.6.1;
next	1.2;

1.2
date	2002.05.03.19.10.29;	author jra;	state Exp;
branches
	1.2.4.1
	1.2.6.1;
next	1.1;

1.1
date	2001.11.30.22.07.38;	author jra;	state Exp;
branches;
next	;

1.2.4.1
date	2004.03.17.21.22.09;	author morrison;	state Exp;
branches;
next	;

1.2.6.1
date	2004.03.11.23.47.10;	author morrison;	state Exp;
branches;
next	;

1.3.6.1
date	2003.11.07.16.41.49;	author erikg;	state dead;
branches;
next	1.3.6.2;

1.3.6.2
date	2004.02.12.19.51.36;	author erikg;	state Exp;
branches;
next	1.3.6.3;

1.3.6.3
date	2004.02.24.19.58.00;	author erikg;	state Exp;
branches;
next	1.3.6.4;

1.3.6.4
date	2004.02.25.15.24.48;	author erikg;	state dead;
branches;
next	;


desc
@@


1.4
log
@merge of AUTOCONF branch in to HEAD
@
text
@# File Name
MAKEFILENAME = Makefile

# Machine Type
PRO_MACHINE_TYPE = sgi_mips4

# Executable names
EXE     = proe-brl
EXE_DLL = proe-brl.dll

# Pro/Toolkit Source & Machine Loadpoint  (EXTERNAL USE - DEFAULT)
PROTOOL_SRC = /opt/ptc/proe2001/protoolkit
PROTOOL_SYS = $(PROTOOL_SRC)/$(PRO_MACHINE_TYPE)
PRODEV_SRC  = /opt/ptc/proe2001/prodevelop
PRODEV_SYS  = $(PRODEV_SRC)/$(PRO_MACHINE_TYPE)

# Pro/Toolkit Source & Machine Loadpoint  (PTC INTERNAL USE)
#PROTOOL_SRC = $(PTCSRC)/protoolkit
#PROTOOL_SYS = $(PTCSYS)
#PRODEV_SRC  = $(PTCSRC)/prodevelop
#PRODEV_SYS  = $(PTCSYS)

# Include File Paths
INCS = \
  -I. \
  -I$(PROTOOL_SRC)/protk_appls/includes \
  -I$(PROTOOL_SRC)/includes \
  -I$(PRODEV_SRC)/includes \
  -I$(BASEDIR)/include/brlcad

# Compiler
CC = cc -n32 -mips4 -woff 1521
# to build C++, uncomment these lines
#CC = CC -n32 -mips4

# Compiler Flags
DEFS        = -DPRO_MACHINE=23 -DPRO_OS=3
OPTS        = -r10000 -ansi -no_exceptions -O2 -OPT:Olimit=0
CFLAGS      = $(OPTS) $(DEFS) $(INCS)

# uncomment this if you want to ignore "multiply defined" warnings
# from the linker
#LDWOFF      = -Wl,-woff,15

# Link Flags
LDFLAGS     = -multigot -Wl,-wall $(LDWOFF) -rpath $(BASEDIR)/lib
DLLFLAGS    = -Wl,-hiddens_file,/dev/null -shared -T10000000 -B symbolic

# Libraries
PDLIB       = $(PRODEV_SYS)/obj/prodevelop.a
PDLIB_DLL   = $(PRODEV_SYS)/obj/prodev_dll.a
PTLIB       = $(PROTOOL_SYS)/obj/protoolkit.a
PTLIB_DLL   = $(PROTOOL_SYS)/obj/protk_dll.a
PTCLIBS     = $(PTLIB) $(PDLIB)
PTCLIBS_DLL = $(PTLIB_DLL) $(PDLIB_DLL)
BRLLIBS     = -L$(BASEDIR)/lib -lbu -lbn -ltcl
SYSLIBS     = -lc -lm -lw

# Object files
OBJS = proe-brl.o

exe: $(EXE)

dll: $(EXE_DLL)

all: $(EXE) $(EXE_DLL)

$(EXE): $(OBJS) $(PTCLIBS)
	@@echo PROTOOL_SRC = $(PROTOOL_SRC)
	@@echo PROTOOL_SYS = $(PROTOOL_SYS)
	$(CC) $(LDFLAGS) -o $(EXE) $(OBJS) $(PTLIB) $(PDLIB) $(BRLLIBS) $(SYSLIBS)

$(EXE_DLL): $(OBJS) $(PTCLIBS_DLL)
	@@echo PROTOOL_SRC = $(PROTOOL_SRC)
	@@echo PROTOOL_SYS = $(PROTOOL_SYS)
	$(CC) $(LDFLAGS) $(DLLFLAGS) -o $(EXE_DLL) $(OBJS) $(PTLIB_DLL) $(PDLIB_DLL) $(BRLLIBS) $(SYSLIBS)

clean:
	rm -f $(EXE) $(OBJS)
	rm -f $(EXE_DLL) so_locations


# object dependencies

proe-brl.o:   proe-brl.c
	$(CC) $(CFLAGS) -c $?
@


1.3
log
@Turned off a warning and added "itcl" library
@
text
@@


1.3.6.1
log
@generated now
@
text
@@


1.3.6.2
log
@merge from HEAD
@
text
@@


1.3.6.3
log
@revived.
@
text
@d1 2
a2 2
# Makefile.in generated by automake 1.6.3 from Makefile.am.
# pro-engineer/sgi_mips4/Makefile.  Generated from Makefile.in by configure.
d4 83
a86 299
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



# $Id: Makefile.am,v 1.1.2.3 2004/01/08 15:39:15 erikg Exp $
SHELL = /bin/sh

srcdir = .
top_srcdir = ../..

prefix = /vld/erikg/brlcad
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/brlcad
pkglibdir = $(libdir)/brlcad
pkgincludedir = $(includedir)/brlcad
top_builddir = ../..

ACLOCAL = ${SHELL} /vld/erikg/src/brlcad/missing --run aclocal-1.6
AUTOCONF = ${SHELL} /vld/erikg/src/brlcad/missing --run autoconf
AUTOMAKE = ${SHELL} /vld/erikg/src/brlcad/missing --run automake-1.6
AUTOHEADER = ${SHELL} /vld/erikg/src/brlcad/missing --run autoheader

am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = 
build_triplet = i686-pc-linux-gnu
host_alias = 
host_triplet = i686-pc-linux-gnu
target_alias = 
target_triplet = i686-pc-linux-gnu

EXEEXT = 
OBJEXT = o
PATH_SEPARATOR = :
AMTAR = ${SHELL} /vld/erikg/src/brlcad/missing --run tar
AS = @@AS@@
AWK = gawk
BN = ${top_builddir}/libbn/libbn.la ${BU}
BU = ${top_builddir}/libbu/libbu.la ${TCL_LIBS} ${PTHREAD_LIBS} -lm ${DL}
CC = gcc
CPP = gcc -E
CURSES = -lncurses 
CURSOR = ${top_builddir}/libcursor/libcursor.la ${CURSES}
DEPDIR = .deps
DL = -ldl
DLLTOOL = @@DLLTOOL@@
DM = ${top_builddir}/libdm/libdm.la ${TK_LIBS} ${RT}
ECHO = echo
FB = ${top_builddir}/libfb/libfb.la ${X_LIBS} ${PKG} ${BU}
FFT = ${top_builddir}/libfft/libfft.la -lm
GL_CFLAGS = -DUSE_MESA_GL
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
ITCL_LIBS = ${top_builddir}/libitcl${ITCL_VERSION}/itcl/libitcl.la
ITCL_VERSION = 3.2
ITK_LIBS = ${top_builddir}/libitcl${ITCL_VERSION}/itk/libitk.la
LEX = flex
LEXLIB = -lfl
LEX_CFLAGS = -Dyylex=cmd_nop
LEX_OUTPUT_ROOT = lex.yy
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s
OBJDUMP = @@OBJDUMP@@
OPTICAL = ${top_builddir}/liboptical/liboptical.la
ORLE = ${top_builddir}/liborle/liborle.la
PACKAGE = brlcad
PKG = ${top_builddir}/libpkg/libpkg.la
PNG_LIBS = ${top_builddir}/libpng/libpng.la ${top_builddir}/libz/libz.la
PTHREAD_LIBS = -lpthread
RANLIB = ranlib
RLE = ${top_builddir}/libutahrle/libutahrle.la -lm
RT = ${top_builddir}/librt/librt.la ${BN}
SGIGL = 
SOCKET = 
STRIP = strip
SYSV = ${top_builddir}/libsysv/libsysv.la
TCL = libtcl8.4
TCLVER = 8.4
TCL_BUILD_CFLAGS = -DTCL_PACKAGE_PATH=\"${exec_prefix}/lib\" -DTCL_LIBRARY=\"/vld/erikg/brlcad/tcl8.4\"
TCL_LIBRARY = /vld/erikg/brlcad/tcl8.4
TCL_LIBS = ${top_builddir}/${TCL}/${TCL}.la ${DL} ${SOCKET} -lm
TERMIO = ${top_builddir}/libtermio/libtermio.la
TKVER = 8.4
TK_LIBRARY = /vld/erikg/brlcad/tk8.4
TK_LIBS = ${top_builddir}/libtk${TKVER}/libtk${TKVER}.la ${TCL_LIBS} ${X_LIBS}
U = 
VERSION = 6.0
WDB = ${top_builddir}/libwdb/libwdb.la
X_CFLAGS = -I/usr/X11R6/include
X_LIBS = -L/usr/X11R6/lib -lX11 -lXi
am__include = include
am__quote = 
install_sh = /vld/erikg/src/brlcad/install-sh

stuffdir = $(prefix)/pro-engineer/sgi_mips4
stuff_DATA = proe-brl proe-brl.c proe-brl.dll
EXTRA_DIST = $(stuff_DATA) mk.in
subdir = pro-engineer/sgi_mips4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/h/config.h
CONFIG_CLEAN_FILES = mk
DIST_SOURCES =
DATA = $(stuff_DATA)

DIST_COMMON = Makefile.am Makefile.in mk.in
all: all-am

.SUFFIXES:
$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  pro-engineer/sgi_mips4/Makefile
Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@@ $(am__depfiles_maybe)
mk: $(top_builddir)/config.status mk.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@@

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
uninstall-info-am:
stuffDATA_INSTALL = $(INSTALL_DATA)
install-stuffDATA: $(stuff_DATA)
	@@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(stuffdir)
	@@list='$(stuff_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(stuffDATA_INSTALL) $$d$$p $(DESTDIR)$(stuffdir)/$$f"; \
	  $(stuffDATA_INSTALL) $$d$$p $(DESTDIR)$(stuffdir)/$$f; \
	done

uninstall-stuffDATA:
	@@$(NORMAL_UNINSTALL)
	@@list='$(stuff_DATA)'; for p in $$list; do \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " rm -f $(DESTDIR)$(stuffdir)/$$f"; \
	  rm -f $(DESTDIR)$(stuffdir)/$$f; \
	done
tags: TAGS
TAGS:

DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)

distdir: $(DISTFILES)
	@@list='$(DISTFILES)'; for file in $$list; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkinstalldirs) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
check: check-am
all-am: Makefile $(DATA)

installdirs:
	$(mkinstalldirs) $(DESTDIR)$(stuffdir)

install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@@echo "This command is intended for maintainers to use"
	@@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-generic clean-libtool mostlyclean-am

distclean: distclean-am

distclean-am: clean-am distclean-generic distclean-libtool

dvi: dvi-am

dvi-am:

info: info-am

info-am:

install-data-am: install-stuffDATA
	@@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) install-data-hook

install-exec-am:

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am

maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-generic mostlyclean-libtool

uninstall-am: uninstall-info-am uninstall-stuffDATA
	@@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook

.PHONY: all all-am check check-am clean clean-generic clean-libtool \
	distclean distclean-generic distclean-libtool distdir dvi \
	dvi-am info info-am install install-am install-data \
	install-data-am install-exec install-exec-am install-info \
	install-info-am install-man install-strip install-stuffDATA \
	installcheck installcheck-am installdirs maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-generic \
	mostlyclean-libtool uninstall uninstall-am uninstall-info-am \
	uninstall-stuffDATA


install-data-hook:
	$(stuffDATA_INSTALL) mk $(DESTDIR)$(stuffdir)/Makefile
#	${INSTALL_DATA} mk ${stuffdir}/Makefile

# I don't think this works
uninstall-hook:
	${RM} ${stuffdir}/Makefile
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
@


1.3.6.4
log
@makefiles should be generated
@
text
@d17 1
a17 1
# $Id: Makefile,v 1.3.6.3 2004/02/24 19:58:00 erikg Exp $
@


1.2
log
@Added BRL-CAD libraries and includes
@
text
@d32 1
a32 1
CC = cc -n32 -mips4
d56 1
a56 1
BRLLIBS     = -L $(BASEDIR)/lib -lbu
a60 1

@


1.2.4.1
log
@sync branch with HEAD
@
text
@d32 1
a32 1
CC = cc -n32 -mips4 -woff 1521
d56 1
a56 1
BRLLIBS     = -L$(BASEDIR)/lib -lbu -lbn -ltcl
d61 1
@


1.2.6.1
log
@sync to HEAD...
@
text
@d32 1
a32 1
CC = cc -n32 -mips4 -woff 1521
d56 1
a56 1
BRLLIBS     = -L$(BASEDIR)/lib -lbu -lbn -ltcl
d61 1
@


1.1
log
@New Pro/E converter
@
text
@d28 2
a29 1
  -I$(PRODEV_SRC)/includes
d46 1
a46 1
LDFLAGS     = -multigot -Wl,-wall $(LDWOFF)
d56 1
d72 1
a72 1
	$(CC) $(LDFLAGS) -o $(EXE) $(OBJS) $(PTLIB) $(PDLIB) $(SYSLIBS)
d77 1
a77 1
	$(CC) $(LDFLAGS) $(DLLFLAGS) -o $(EXE_DLL) $(OBJS) $(PTLIB_DLL) $(PDLIB_DLL) $(SYSLIBS)
@

