2 # Set this to 'y' if you want support for reading the link quality
3 # of nowiresneeded 1148 PCMCIA or Swallow cards
8 ##################################################################
9 # Nothing to configure under here
18 COPTS
= -D
'VERSION="$(VERSION)"' -D
'NAME="$(NAME)"'
19 LDOPTS
= -lX11
-lXpm
-lXext
21 BINDIR
= $(PREFIX
)/bin
22 MANDIR
= $(PREFIX
)/share
/man
25 FILES
= wmifinfo.o xutils.o
27 ifeq ("$(ENABLE_NWN_SUPPORT)", "y")
29 COPTS
+= -DENABLE_NWN_SUPPORT
35 $(CC
) $(COPTS
) $(CPPFLAGS
) $(CFLAGS
) -c
$<
38 $(LD
) $(LDFLAGS
) -o
$@
$(FILES
) $(LDOPTS
)
41 rm -f
*.o
$(BIN
) core .
/.
#* *.orig *.rej
44 $(INSTALL
) -d
$(DESTDIR
)$(BINDIR
)
45 $(INSTALL
) $(BIN
) $(DESTDIR
)$(BINDIR
)
46 $(INSTALL
) -d
$(DESTDIR
)$(MANDIR
)/man1
47 $(INSTALL
) -m
644 wmifinfo
.1 $(DESTDIR
)$(MANDIR
)/man1
50 rm -rf
/tmp
/wmifinfo-
$(VERSION
)
51 cd ..
&& cp
-a wmifinfo
/tmp
/wmifinfo-
$(VERSION
)
52 cd
/tmp
&& tar --exclude CVS
-zcvf wmifinfo-
$(VERSION
).tgz wmifinfo-
$(VERSION
)/