summaryrefslogtreecommitdiff
path: root/image/Makefile.nmake
blob: 8836313de9ec1d499a271e08f65743fcd4900a00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# $Id$
#

include ..\config.nmake

ALL_RC=ethereal.rc libethereal.rc tethereal.rc editcap.rc text2pcap.rc mergecap.rc
all : $(ALL_RC)

ethereal.rc   : ethereal.rc.in ..\config.nmake
	sed -e s/@VERSION@/$(VERSION)/ \
		-e s/@RC_VERSION@/$(RC_VERSION)/ \
		< ethereal.rc.in > $@

libethereal.rc: libethereal.rc.in ..\config.nmake
	sed -e s/@VERSION@/$(VERSION)/ \
		-e s/@RC_VERSION@/$(RC_VERSION)/ \
		< libethereal.rc.in > $@

tethereal.rc  : tethereal.rc.in ..\config.nmake
	sed -e s/@VERSION@/$(VERSION)/ \
		-e s/@RC_VERSION@/$(RC_VERSION)/ \
		< tethereal.rc.in > $@

editcap.rc    : editcap.rc.in ..\config.nmake
	sed -e s/@VERSION@/$(VERSION)/ \
		-e s/@RC_VERSION@/$(RC_VERSION)/ \
		< editcap.rc.in > $@

mergecap.rc   : mergecap.rc.in ..\config.nmake
	sed -e s/@VERSION@/$(VERSION)/ \
		-e s/@RC_VERSION@/$(RC_VERSION)/ \
		< mergecap.rc.in > $@

text2pcap.rc  : text2pcap.rc.in ..\config.nmake
	sed -e s/@VERSION@/$(VERSION)/ \
		-e s/@RC_VERSION@/$(RC_VERSION)/ \
		< text2pcap.rc.in > $@

clean :
	rm -f $(ALL_RC)

distclean: clean