-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
23 lines (17 loc) · 868 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST=src/key.hpp src/parse.hpp
bin_PROGRAMS = inet-remap
inet_remap_SOURCES = src/inet_remap.cpp src/parse.cpp
inet_remap_CXXFLAGS = $(AM_CXXFLAGS)
inet_remap_CPPFLAGS = ${AM_CPPFLAGS} -DPRELOAD_PATH=\"${libdir}/libinet-remap-preload.so\"
lib_LTLIBRARIES = libinet-remap-preload.la
libinet_remap_preload_la_SOURCES = src/inet_remap_preload.cpp src/parse.cpp
libinet_remap_preload_la_LDFLAGS = -shared -version-info 1:0:0
.PHONY: arch-dist arch-native arch-lib32
arch-dist: arch-native arch-lib32
arch-native: dist archlinux/native/PKGBUILD
ln -sf ../../inet_remap-@[email protected] 'archlinux/native/inet_remap-@[email protected]'
cd 'archlinux/native' && makepkg -f
arch-lib32: dist archlinux/lib32/PKGBUILD
ln -sf ../../inet_remap-@[email protected] 'archlinux/lib32/inet_remap-@[email protected]'
cd 'archlinux/lib32' && makepkg -f