-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathMakefile.am
More file actions
74 lines (61 loc) · 1.81 KB
/
Makefile.am
File metadata and controls
74 lines (61 loc) · 1.81 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
bin_PROGRAMS=packETH
packETH_built_sources = \
src/pixmaps.c src/pixmaps.h \
src/ui.c src/ui.h
packETH_SOURCES= \
$(packETH_built_sources) \
src/main.c \
src/support.c src/support.h \
src/interface.c src/interface.h \
src/callbacks.c src/callbacks.h \
src/function.c src/function.h \
src/function_send.c src/function_send.h \
src/loadpacket.c src/loadpacket.h \
src/savepacket.c src/savepacket.h \
src/headers.h
pixmaps= \
src/pixmaps/pixmaps.gresource.xml \
src/pixmaps/Build.xpm \
src/pixmaps/interface.xpm \
src/pixmaps/load.xpm \
src/pixmaps/preference.xpm \
src/pixmaps/reset.xpm \
src/pixmaps/save.xpm \
src/pixmaps/send.xpm \
src/pixmaps/X.xpm
ui= \
ui/ui.gresource.xml \
ui/error_dialog.ui \
ui/fileselection1.ui \
ui/fileselection2.ui \
ui/fileselection3.ui \
ui/fragmentation_dialog.ui \
ui/interface_dialog.ui \
ui/sel1_dialog.ui \
ui/tos_dialog.ui \
ui/udp_payload_dialog.ui \
ui/window1.ui
LIBS=$(DEPS_LIBS) -lm
AM_CPPFLAGS = \
-g \
-O2 \
-Wall \
-Wmissing-prototypes \
-Wmissing-declarations \
-Wunused \
-Wl,--export-dynamic \
$(DEPS_CFLAGS)
# Include the pixmaps and ui in the distribution (make dist)
EXTRA_DIST=$(pixmaps) $(ui)
BUILT_SOURCES = \
$(packETH_built_sources)
CLEANFILES = \
$(packETH_built_sources)
src/pixmaps.c: $(pixmaps)
$(AM_V_GEN) glib-compile-resources --generate-source --sourcedir=src/pixmaps --target=$@ src/pixmaps/pixmaps.gresource.xml
src/pixmaps.h: $(pixmaps)
$(AM_V_GEN) glib-compile-resources --generate-header --sourcedir=src/pixmaps --target=$@ src/pixmaps/pixmaps.gresource.xml
src/ui.c: $(ui)
$(AM_V_GEN) glib-compile-resources --generate-source --sourcedir=ui --target=$@ ui/ui.gresource.xml
src/ui.h: $(ui)
$(AM_V_GEN) glib-compile-resources --generate-header --sourcedir=ui --target=$@ ui/ui.gresource.xml