summaryrefslogtreecommitdiff
path: root/dnn/Imakefile
blob: e0c9a819afd78e0bd4d3fc4170b151027aea7a5e (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
#	DNN - Data News Network
#	
#	by Stephane Chatty
#
#	Copyright 1993-1995
#	Centre d'Etudes de la Navigation Aerienne (CENA)
#
#	Imakefile
#
#	$Id$
#	$CurLog$
#

      CXXFLAGS = $(CXXOPTIONS) -I$(LOCINCL)

       OBJ = Event.o Trigger.o Reaction.o


        cc = $(CXXSUFFIX)
       SRC = Event.$(cc) Trigger.$(cc) Reaction.$(cc)

       HDR = Event.h Trigger.h Reaction.h


      LLIB = 
        DOC = ../../DOC/DNN

CxxRule ()

all	: $(LOCLIB)/libDnn.a $(LOCINCL)/dnn.h headers

headers: incldir \
	$(LOCINCL)/dnn/Event.h \
	$(LOCINCL)/dnn/Trigger.h \
	$(LOCINCL)/dnn/Reaction.h

incldir:
	-mkdir $(LOCINCL)/dnn

     CCUHDR = $(LOCINCL)/ccu/List.h \
		$(LOCINCL)/ccu/String.h \
		$(LOCINCL)/ccu/bool.h

           LLIB = $(LOCLIB)/libCcu.a


CopyLibsTarget ($(LOCLIB),Dnn)
CopyTarget ($(LOCINCL)/dnn.h, dnn.h)
CopyTarget ($(LOCINCL)/dnn/Event.h, Event.h)
CopyTarget ($(LOCINCL)/dnn/Trigger.h, Trigger.h)
CopyTarget ($(LOCINCL)/dnn/Reaction.h, Reaction.h)

GenHeaderTarget (dnn.h, version.h $(CCUHDR) $(HDR))
LibraryTarget (Dnn,$(OBJ))

ProgramTarget(test, test.o $(OBJ),)
DocRule("Data News Network")
TeXRule()
DistrDocRule(DNN)