is that how it is supposed to be?
"bsd#" is my root prompt and ">" is my non root prompt
"bsd%" is a zsh prompt
/usr/ports/graphics/imlib
bsd# ls /usr/local/include/C*
/usr/local/include/CORBA-SMALL.h /usr/local/include/CORBA.h
bsd#
~
--with-ssl=<SSLeay-path>
Enable support for SSL. <SSLeay-path> is the directory where
SSLeay has been installed in.
#
#
# MICO --- a free CORBA implementation
~
~
#
include $(DIR_PREFIX)../../MakeVars
LD = $(CXX)
CXXFLAGS := -I. -I$(DIR_PREFIX)../../include $(CXXFLAGS) $(EHFLAGS)
CFLAGS := -I. -I$(DIR_PREFIX)../../include $(CFLAGS)
LDLIBS := $(LDMICO) $(CONFLIBS)
LDFLAGS := -L$(DIR_PREFIX)../../libs $(LDFLAGS)
DEPS := $(DIR_PREFIX)../../orb/$(LIBMICO)
IDLFLAGS := -B$(DIR_PREFIX)../.. -I.
AUX_CXXFLAGS =
AUX_LDLIBS = $(LDMICOAUX)
AUX_LDFLAGS =
AUX_DEPS = $(DIR_PREFIX)../../auxdir/$(LIBMICOAUX)
X11_CXXFLAGS = $(X_CFLAGS)
X11_LDLIBS = -lmicox$(VERSION) -lXaw -lXmu -lXt -lX11 -lXext $(X_LIBS)
X11_LDFLAGS =
ifeq ($(HAVE_SHARED), yes)
X11_DEPS = $(DIR_PREFIX)../../auxdir/libmicox$(VERSION).$(SOEXT)
:q
bsd# pwd
/usr/local/mico/demo/generic
bsd% ls /usr/local/mico/demo/generic
Makefile client client.o server server.ior
test.idl
README client.cc run_test server.cc server.o
test_cases
bsd% pwd
/home/kayve/csc835/asgt2/book-sources/cpp
bsd% cat Makefile
include ../MakeVars
ifeq ($(HAVE_MICO), yes)
all: client server
else
all:
@echo "MICO not available."
endif
clean:
rm -rf account.h account.cc client server *.so *.a
rm -rf *.ior core *~ *.o
distclean: clean
server: account.o server.o
$(LD) -o $@ server.o account.o $(LDOPTS) $(LIBS)
client: account.o client.o
$(LD) -o $@ client.o account.o $(LDOPTS) $(LIBS)
server.o: account.h
client.o: account.h
bsd%
if i make them in the /usr/local/mico/demo/(etc.. e.g. generic)
directory they are okay. i have to be root. maybe i will just do that.
i don't know if i am going to be able to change the name of them or
anything. i
don't know what the heck is happening with the Makefile and MakeVars
hulllaballo.
they don't have any *.h files. we are supposed to use *.hh files
include <mico/security/csi.h>
#include <mico/security/csiiop.h>
#include <mico/security/gssup.h>
#include <mico/security/csiv2.h>
#endif // USE_CSIV2
#endif // MICO_CONF_NO_INTERCEPT
#endif // __corba_h__
:q
bsd# pwd
/usr/ports/graphics/imlib
bsd# ls /usr/local/include/C*
/usr/local/include/CORBA-SMALL.h /usr/local/include/CORBA.h
bsd# pwd
/usr/ports/graphics/imlib
bsd# cd ../../mico/demo
../../mico/demo: No such file or directory.
bsd# llcd /usrl;
llcd: Command not found.
bsd# cd /usr/local/mico/demo
bsd# mkdir bank
bsd# cp -r generic/* bank
bsd# cd bank
bsd# ls
Makefile client.cc server server.o
README client.o server.cc test.idl
client run_test server.ior test_cases
bsd# gmake
echo '# Module dependencies' > .depend
/usr/local/mico/./admin/mkdepend -I. -I../../include -O2 -Wall
-D_REENTRANT -D_
THREAD_SAFE -O *.c *.cc >> .depend
bsd# pwd
/usr/local/mico/demo/bank
bsd#
okay. i guess i can just edit this code and call it bank. i think i can
figger out how to do that.
my code needs to be bank. i am not supposed to copy code but he says this
isn't a programming class. i can change generic into bank tomorrow
ALL_SCRIPTS = run_test
client: client.o $(DEPS)
$(LD) $(CXXFLAGS) $(LDFLAGS) client.o $(LDLIBS) -o $@
server: server.o $(DEPS)
$(LD) $(CXXFLAGS) $(LDFLAGS) server.o $(LDLIBS) -o $@
run:
run_test
clean:
rm -f *.o *.ior core client server *~ .depend
bsd# pwd
/usr/local/mico/demo/bank
bsd# gmake run
run_test
Running.
Invocation
name: foo
number of parameters: 1
Parameters: Short(11)
Invocation
name: foo
number of parameters: 1
Parameters: Short(22)
Invocation
name: bar
number of parameters: 2
Parameters: Long(33) , Short(44)
Invocation
name: complex
number of parameters: 2
Parameters: Long(55) , struct { Short(66) , Long(77) }
bsd#
i know how to edit existing code, i think. {:P
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"