]> git.stg.codes - stg.git/blob - include/Makefile
Fix include path.
[stg.git] / include / Makefile
1 include ../Makefile.conf
2
3 INCS = stg/admin_conf.h \
4        stg/admin_conf.inc.h \
5        stg/admin.h \
6        stg/admins.h \
7        stg/auth.h \
8        stg/const.h \
9        stg/corp_conf.h \
10        stg/corporations.h \
11        stg/ia_packets.h \
12        stg/message.h \
13        stg/module_settings.h \
14        stg/noncopyable.h \
15        stg/notifer.h \
16        stg/os_int.h \
17        stg/plugin.h \
18        stg/plugin_creator.h \
19        stg/rad_packets.h \
20        stg/raw_ip_packet.h \
21        stg/resetable.h \
22        stg/rs_packets.h \
23        stg/service_conf.h \
24        stg/services.h \
25        stg/settings.h \
26        stg/store.h \
27        stg/tariff_conf.h \
28        stg/tariff.h \
29        stg/tariffs.h \
30        stg/traffcounter.h \
31        stg/user_conf.h \
32        stg/user.h \
33        stg/user_ips.h \
34        stg/user_property.h \
35        stg/users.h \
36        stg/user_stat.h \
37        stg/user_traff.h \
38        stg/utime.h \
39        stg/version.h
40
41 install: install-bin
42
43 install-bin:
44         mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/include/stg
45         install -m $(DATA_MODE) -o $(OWNER) $(INCS) $(PREFIX)/usr/include/stg/