source: trunk/src/gui/test/makefile@ 2417

Last change on this file since 2417 was 2417, checked in by Andreas Schnellbacher, 14 years ago
  • Added svn keywords.
  • Property svn:keywords set to Date Revision Author HeadURL Id
File size: 2.0 KB
Line 
1# ***************************** Module Header *******************************
2#
3# Module Name: makefile
4#
5# makefile for the test utility
6#
7# Copyright (c) Netlabs EPM Distibution Project 2002
8#
9# $Id: makefile 2417 2011-05-15 23:32:51Z aschn $
10#
11# ===========================================================================
12#
13# This file is part of the Netlabs EPM Distribution package and is free
14# software. You can redistribute it and/or modify it under the terms of the
15# GNU General Public License as published by the Free Software
16# Foundation, in version 2 as it comes in the "COPYING" file of the
17# Netlabs EPM Distribution. This library is distributed in the hope that it
18# will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
19# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# ***************************************************************************
23
24# - create utilitiy
25# NOTE: compile with multithread support,
26# because common.lib is compiled MT also
27LIBS=$(BINDIR)\common.lib
28MT=1
29
30# include main definitions
31BASEDIR=..\..\..
32!include $(BASEDIR)\rules.in
33
34# --- some file definitions for this makefile
35
36DEPENDFILE=$(CMPDIR)\test.dep
37
38FILESTOCLEAN=$(DEPENDFILE) \
39 $(BINDIR)\test.obj \
40 $(BINDIR)\test.exe \
41 $(BINDIR)\test.map
42
43INCLUDE=..\common;$(CMPDIR);$(INCLUDE)
44
45# --- set tesffile
46
47NEPMD_TMFTESTFILE=..\nepmdlib\nepmdlib.tmf
48
49
50# --- general pseudo targets
51
52all: exe
53
54# --- pseudo targets for testcases
55
56run: all
57 $(BINDIR)\test.exe $(ARG)
58
59tmf:
60 @(SET NEPMD_TMFTESTFILE=$(NEPMD_TMFTESTFILE) & $(BINDIR)\test.exe tmf)
61
62instval: all
63 $(BINDIR)\test.exe instval
64
65reset:
66 eautil /s $(NEPMD_TMFTESTFILE) NUL
67
68
69
70clean:
71 @echo cleaning up files ...
72 -@for %%a in ($(FILESTOCLEAN)) do @del %%a /N >NUL 2>&1
73
74# --- special pseudo targets
75
76exe: $(BINDIR)\test.exe
77
78dep:
79 makedep $(BINDIR) $(DEPENDFILE)
80
81# --- include dependencies - create dependency file if not present
82
83!if [@dir $(DEPENDFILE) >NUL 2>&1 || makedep $(BINDIR) $(DEPENDFILE)]
84!endif
85!include $(DEPENDFILE)
86
87$(BINDIR)\test.exe: $(LIBS)
88
Note: See TracBrowser for help on using the repository browser.