File: Makefile.am

package info (click to toggle)
atlas-cpp 0.5.98-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,652 kB
  • ctags: 2,284
  • sloc: sh: 8,305; cpp: 6,372; python: 1,471; makefile: 216
file content (47 lines) | stat: -rw-r--r-- 1,356 bytes parent folder | download | duplicates (3)
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

INCLUDES = -I$(top_srcdir)

lib_LTLIBRARIES = libAtlasObjects-0.6.la

libAtlasObjects_0_6_la_LDFLAGS = $(INTERFACE_VERSION)

REAL_GENERATED_CPP = Root.cpp Decoder.cpp Dispatcher.cpp objectFactory.cpp \
	RootEntity.cpp RootEntityChildren.cpp \
	RootOperation.cpp RootOperationChildren1.cpp \
	RootOperationChildren2.cpp RootOperationChildren3.cpp \
	RootOperationChildren4.cpp RootOperationChildren5.cpp \
	Anonymous.cpp Generic.cpp

GENERATED_CPP = flag.cpp $(REAL_GENERATED_CPP)

GENERATED_H = Root.h Decoder.h Dispatcher.h ObjectsFwd.h \
	RootEntity.h Entity.h \
	RootOperation.h Operation.h \
	Anonymous.h Generic.h

libAtlasObjects_0_6_la_SOURCES = \
	gen_cpp.py BaseObject.cpp SmartPtr.cpp Encoder.cpp \
	loadDefaults.cpp \
	$(GENERATED_CPP)

BUILT_SOURCES = $(GENERATED_CPP) $(GENERATED_H)

PY_SOURCES = gen_cpp.py common.py AttributeInfo.py GenerateObjectFactory.py \
	GenerateDecoder.py GenerateDispatcher.py GenerateForward.py

$(REAL_GENERATED_CPP) $(GENERATED_H):
	if [ ! -e $@ ]; \
	then \
		python gen_cpp.py ; \
	fi

flag.cpp: $(PY_SOURCES)
	python gen_cpp.py && (echo /\* ; date ; echo \*/) > flag.cpp

libAtlasObjectsincludedir = $(includedir)/Atlas-C++-0.6/Atlas/Objects

libAtlasObjectsinclude_HEADERS = \
	BaseObject.h SmartPtr.h Encoder.h objectFactory.h loadDefaults.h \
	$(GENERATED_H)

EXTRA_DIST = $(PY_SOURCES) README DESIGN TODO