2001-04-05 04:39:29 +00:00
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
2001-04-05 04:39:29 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include ..\config.nmake
|
|
|
|
|
2006-02-13 23:09:51 +00:00
|
|
|
ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc dumpcap.rc ethereal.exe.manifest
|
2001-04-05 04:39:29 +00:00
|
|
|
all : $(ALL_RC)
|
|
|
|
|
2006-02-13 23:09:51 +00:00
|
|
|
ethereal.exe.manifest: ethereal.exe.manifest.in ..\config.nmake
|
2006-02-14 15:14:41 +00:00
|
|
|
sed -e s/@VERSION_MAJOR@/$(VERSION_MAJOR)/ \
|
|
|
|
-e s/@VERSION_MINOR@/$(VERSION_MINOR)/ \
|
|
|
|
-e s/@VERSION_MICRO@/$(VERSION_MICRO)/ \
|
2006-02-13 23:09:51 +00:00
|
|
|
< ethereal.exe.manifest.in > $@
|
|
|
|
|
2006-02-18 01:11:45 +00:00
|
|
|
ethereal.rc : win32-file-dlg.rc ethereal.rc.in ethereal.exe.manifest ..\config.nmake
|
2001-04-05 04:39:29 +00:00
|
|
|
sed -e s/@VERSION@/$(VERSION)/ \
|
|
|
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
|
|
|
< ethereal.rc.in > $@
|
|
|
|
|
2004-07-17 09:49:32 +00:00
|
|
|
libethereal.rc: libethereal.rc.in ..\config.nmake
|
|
|
|
sed -e s/@VERSION@/$(VERSION)/ \
|
|
|
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
|
|
|
< libethereal.rc.in > $@
|
|
|
|
|
2003-03-26 20:17:42 +00:00
|
|
|
tethereal.rc : tethereal.rc.in ..\config.nmake
|
2001-04-05 04:39:29 +00:00
|
|
|
sed -e s/@VERSION@/$(VERSION)/ \
|
|
|
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
|
|
|
< tethereal.rc.in > $@
|
|
|
|
|
2004-10-20 18:50:58 +00:00
|
|
|
capinfos.rc : capinfos.rc.in ..\config.nmake
|
2004-07-28 21:13:27 +00:00
|
|
|
sed -e s/@VERSION@/$(VERSION)/ \
|
|
|
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
2004-10-20 18:50:58 +00:00
|
|
|
< capinfos.rc.in > $@
|
2004-07-28 21:13:27 +00:00
|
|
|
|
2003-03-26 20:17:42 +00:00
|
|
|
editcap.rc : editcap.rc.in ..\config.nmake
|
2001-04-05 04:39:29 +00:00
|
|
|
sed -e s/@VERSION@/$(VERSION)/ \
|
|
|
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
|
|
|
< editcap.rc.in > $@
|
|
|
|
|
2003-03-26 20:17:42 +00:00
|
|
|
mergecap.rc : mergecap.rc.in ..\config.nmake
|
2001-07-12 19:59:41 +00:00
|
|
|
sed -e s/@VERSION@/$(VERSION)/ \
|
|
|
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
|
|
|
< mergecap.rc.in > $@
|
|
|
|
|
2003-03-26 20:17:42 +00:00
|
|
|
text2pcap.rc : text2pcap.rc.in ..\config.nmake
|
2001-05-21 05:04:49 +00:00
|
|
|
sed -e s/@VERSION@/$(VERSION)/ \
|
|
|
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
|
|
|
< text2pcap.rc.in > $@
|
|
|
|
|
2004-07-23 06:11:50 +00:00
|
|
|
wiretap.rc : wiretap.rc.in ..\config.nmake
|
|
|
|
sed -e s/@VERSION@/$(WTAP_VERSION)/ \
|
|
|
|
-e s/@RC_VERSION@/$(RC_WTAP_VERSION)/ \
|
|
|
|
< wiretap.rc.in > $@
|
|
|
|
|
2005-11-28 08:54:52 +00:00
|
|
|
dumpcap.rc : dumpcap.rc.in ..\config.nmake
|
|
|
|
sed -e s/@VERSION@/$(VERSION)/ \
|
|
|
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
|
|
|
< dumpcap.rc.in > $@
|
|
|
|
|
2001-04-05 04:39:29 +00:00
|
|
|
clean :
|
|
|
|
rm -f $(ALL_RC)
|
2003-10-10 21:31:53 +00:00
|
|
|
|
|
|
|
distclean: clean
|
Make the "maintainer-clean" rules get rid of some additional generated
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.
Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.
Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files. In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).
Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.
svn path=/trunk/; revision=13402
2005-02-14 20:33:57 +00:00
|
|
|
|
|
|
|
maintainer-clean: distclean
|