Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-06

Carbon demonstration app

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

Hello,

I would like to contribute a carbon demonstration application.

A new folder should be created here: fpc/packages/extra/univint/examples

Then, I guess that I will need a makefile as well. I don't fully understand exactly why, since I would say that this example won't be compiled by default, but all other folders have makefiles.

I took a look at the Makefile.fpc for the gtk 1.2 examples and there are some odd things:

[target]
dirs=tutorial >>> Which tutorial dirs is this? There is no tutorial directory programs=entry notebook scribble clist ttt_test pixmap list progressbar filesel \
statusbar toolbar rulers spinbutton

> Any use in listing the examples here?

[require]
packages=gtk >> for carbon it should be univint ?

[clean]
units=tictactoe >> So, it will only clean one example, and exactly the one which isn't compiled???

[install]
fpcpackage=y >> What does that mean?

[default]
fpcdir=../../../..

[rules]
.NOTPARALLEL:

Further, do I also need to change the makefile from the univint directory?

Further, should I also build the makefile for the new directory? And in this case, do I need to regenerate the entire makefile tree? umm ... maybe I should let that to someone with more experience, I will probably break something if I have to do this myself =)

I attached the app in case anyone wants to review it before I commit.

thanks,

Felipe Monteiro de Carvalho

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys

Dope! From the title, I guess it's some Carbon interface/wrapper unit. :-)

Graeme.

Graeme Geldenhuys wrote 14 lines
Just curious... What is univint? Regards, - Graeme - On 11/06/07, Felipe Monteiro de Carvalho wrote: > Hello, > > I would like to contribute a carbon demonstration application. > > A new folder should be created here: fpc/packages/extra/univint/examples
Graeme Geldenhuys "General error, hit any user to continue."

Reply by email