3 INCDIR
= -I
/usr
/X11R6
/include/X11
-I
/usr
/X11R6
/include
4 PREFIX
= $(shell cat ..
/PREFIX
)
6 LIBDIR
= -L
/usr
/X11R6
/lib
9 LIBS
= -lXpm
-lX11
-lXext
12 # LIBS = -lXpm -lX11 -lXext -lsocket -lnsl
19 $(CC
) $(CFLAGS
) -D
$(shell echo
`uname -s`) -DKB_PIXMAP_PREFIX
="\"$(PREFIX)/share/wmCalClockKbd/\"" -c
$< -o
$*.o
$(INCDIR
)
22 all: wmCalClock.o wmCalClockKbd
24 wmCalClock.o
: wmCalClock_master.xpm wmCalClock_mask.xbm
25 wmCalClockKbd
: $(OBJS
)
26 $(CC
) $(COPTS
) $(SYSTEM
) -o wmCalClockKbd
$^
$(INCDIR
) $(LIBDIR
) $(LIBS
)
29 for i in
$(OBJS
) ; do \
34 install: wmCalClockKbd
35 install -c
-s
-m
0755 wmCalClockKbd
$(DESTDIR
)/bin
36 install -c
-m
0644 wmCalClockKbd
.1 $(DESTDIR
)/share
/man
/man1