diff options
author | fcolin | 1998-08-03 12:58:41 +0000 |
---|---|---|
committer | fcolin | 1998-08-03 12:58:41 +0000 |
commit | b8dda6ecdfc747d561d170bd3d8512dc6914d238 (patch) | |
tree | a0f1945c3dfc309d0eb75ea7d7449a5b90e50632 /src/Makefile | |
parent | f8e8025b75c0a4588849843853b72a3039bdb7f6 (diff) | |
download | ivy-c-b8dda6ecdfc747d561d170bd3d8512dc6914d238.zip ivy-c-b8dda6ecdfc747d561d170bd3d8512dc6914d238.tar.gz ivy-c-b8dda6ecdfc747d561d170bd3d8512dc6914d238.tar.bz2 ivy-c-b8dda6ecdfc747d561d170bd3d8512dc6914d238.tar.xz |
eclatement de bussocket pour permettre la creation
de mainloop externe autre que XT et Interne
buschannel.h devient l'interface avec la gestion MainLoop
busxtloop.[ch] MainLoop Style XT
busloop.[ch] MainLoop Interne basee sur select
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/src/Makefile b/src/Makefile index 4d73cae..c61c797 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,19 +1,24 @@ -XTINC =-I/usr/local/X11R6.3/include -CC=gcc -OBJ = timer.o bussocket.o bus.o -GOBJ = timer.o bussocket.o gbus.o -XTOBJ = timer.o xtsocket.o bus.o +XTINC =-I/usr/X11R6/include +XTLIB =-L/usr/X11R6/lib +CC=gcc -g -DDEBUG +OBJ = busloop.o timer.o bussocket.o bus.o +GOBJ = busloop.o timer.o bussocket.o gbus.o +XTOBJ = busxtloop.o bussocket.o bus.o -all: libbus.a libgbus.a libxtbus.a testbus +all: libbus.a libgbus.a libxtbus.a testbus testxtbus gbus.o: bus.c $(CC) -DGNU_REGEXP -c $(CFLAGS) -o gbus.o bus.c -xtsocket.o: bussocket.c - $(CC) -DXTMAINLOOP $(XTINC) -c $(CFLAGS) -o xtsocket.o bussocket.c testbus: testbus.o $(OBJ) - $(CC) -o testbus testbus.o $(OBJ) -lsocket -lnsl + $(CC) -o testbus testbus.o $(OBJ) + +testxtbus.o : testbus.c + $(CC) -c testbus.c -o testxtbus.o $(XTINC) -DXTMAINLOOP + +testxtbus: testxtbus.o $(XTOBJ) + $(CC) -o testxtbus testxtbus.o $(XTOBJ) $(XTLIB) -lXt -lX11 libbus.a: $(OBJ) ar q libbus.a $(OBJ) |