1996-12-22 05:36:43 +01:00
|
|
|
DRVDIR=./drivers
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
LIBS=-L${LOCALBASE}/lib -lX11 -lm
|
|
|
|
XINCL=-I${LOCALBASE}/include
|
1996-12-22 05:36:43 +01:00
|
|
|
|
|
|
|
CFLAGS+= $(XINCL) -DPGDISP
|
|
|
|
.PATH: . ./pgdispd
|
|
|
|
|
|
|
|
PGDISP_ROUTINES= cleanup.o pgdisp.o figcurs.o getdata.o getvisuals.o handlexevent.o proccom.o resdb.o exposelgwin.o getcolors.o initlgluts.o initlgwin.o initlock.o initwmattr.o mainloop.o resizelgwin.o returnbuf.o waitevent.o updatelgtitle.o
|
|
|
|
|
|
|
|
|
|
|
|
all: grfont.dat pgxwin_server pgdisp
|
|
|
|
|
|
|
|
grfont.dat: fonts/grfont.txt fonts/pgpack.f
|
2007-01-17 09:30:32 +01:00
|
|
|
$(FC) -o pgpack fonts/pgpack.f
|
1996-12-22 05:36:43 +01:00
|
|
|
./pgpack <fonts/grfont.txt
|
|
|
|
|
|
|
|
pgxwin_server: $(DRVDIR)/pgxwin_server.c
|
|
|
|
$(CC) $(CFLAGS) -o pgxwin_server $(DRVDIR)/pgxwin_server.c $(LIBS)
|
|
|
|
|
|
|
|
pgdisp: $(PGDISP_ROUTINES)
|
|
|
|
$(CC) $(CFLAGS) -o pgdisp $(PGDISP_ROUTINES) $(LIBS)
|