wok-current annotate xpat2/stuff/Makefile @ rev 1198
Add squirrelmail
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 08 08:58:38 2008 +0000 (2008-08-08) |
parents | |
children |
rev | line source |
---|---|
wcnagel@1042 | 1 PREFIX = /usr |
wcnagel@1042 | 2 CFLAGS = -DuseXaw -DONLINE_HELP -DSOUND -DGFX2 |
wcnagel@1042 | 3 CFLAGS += -DLIBDIR=\"/usr/share/xpat2\" |
wcnagel@1042 | 4 CFLAGS += -DSCOREFILE=\"/var/games/xpat2/xpat.log\" |
wcnagel@1042 | 5 LDFLAGS = -lX11 -lXaw |
wcnagel@1042 | 6 |
wcnagel@1042 | 7 STDOBJS = rules.o commands.o messages.o hints.o layout.o \ |
wcnagel@1042 | 8 arrows.o loadsave.o util.o moves.o \ |
wcnagel@1042 | 9 r_Klondike.o r_Spider.o r_Delight.o r_MonteCarlo.o \ |
wcnagel@1042 | 10 r_Midnight.o r_Gypsy.o r_Seahaven.o r_FreeCell.o \ |
wcnagel@1042 | 11 r_Calculatio.o r_Michaels.o r_Royal.o r_Canfield.o \ |
wcnagel@1042 | 12 r_mdCanfield.o r_Bakers.o r_Oonsoo.o r_BlueMoon.o |
wcnagel@1042 | 13 |
wcnagel@1042 | 14 XOBJS = X-events.o X-layout.o X-expose.o X-cards.o \ |
wcnagel@1042 | 15 X-markcard.o X-arrows.o X-widget.o $(GFXOBJ) \ |
wcnagel@1042 | 16 Xaw-help.o Xaw-main.o X-sound_SUN.o X-gfx2.o |
wcnagel@1042 | 17 |
wcnagel@1042 | 18 OBJS = $(STDOBJS) $(XOBJS) |
wcnagel@1042 | 19 |
wcnagel@1042 | 20 MYPROG = xpat2 |
wcnagel@1042 | 21 |
wcnagel@1042 | 22 all: $(MYPROG) |
wcnagel@1042 | 23 |
wcnagel@1042 | 24 $(MYPROG): $(OBJS) |
wcnagel@1042 | 25 gcc -o $(MYPROG) $(LDFLAGS) $(OBJS) |
wcnagel@1042 | 26 |
wcnagel@1042 | 27 install: |
wcnagel@1042 | 28 install -d $(DESTDIR)$(PREFIX)/bin |
wcnagel@1042 | 29 install -m 755 xpat2 $(DESTDIR)$(PREFIX)/bin |
wcnagel@1042 | 30 install -d $(DESTDIR)$(PREFIX)/share/xpat2/default |
wcnagel@1042 | 31 install -m 644 ../lib/help* ../lib/hlp* ../lib/keys $(DESTDIR)$(PREFIX)/share/xpat2 |
wcnagel@1042 | 32 install -m 644 ../lib/default/* $(DESTDIR)$(PREFIX)/share/xpat2/default |
wcnagel@1042 | 33 |
wcnagel@1042 | 34 clean: |
wcnagel@1042 | 35 rm $(MYPROG) *.o |