GNUmakefile
1.02 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
PRDEPTH = ../..
include $(PRDEPTH)/BBdefs
CC=$(HOST_CC)
GCINCS=-D_LANGUAGE_C -I$(ROOT)/host_include -I$(ROOT)/usr/include
GLDOPTS=-L$(ROOT)/host_lib
LLDLIBS = -lcryptoX86
OPTIMIZER = -g
LCOPTS += -Wall
TARGETS = mkTicket appTicketFile
default : $(TARGETS)
include $(PRDEPTH)/BBrules
exports install: default
$(INSTALL) -F /usr/sbin $(TARGETS)
$(INSTALL) -F /usr/sbin bundleGame
$(INSTALL) -F /usr/sbin gen_desc.pl
$(INSTALL) -F /usr/host_data rom_thumb.rgba
$(INSTALL) -F /usr/host_data rom_title.inta
$(INSTALL) -F /usr/host_data rom_title.txt
$(INSTALL) -F /usr/host_data isbn.txt
$(INSTALL) -F /usr/host_data oadid.txt
$(INSTALL) -F /usr/host_data crid.txt
$(INSTALL) -F /usr/sbin pubrom
$(INSTALL) -F /usr/sbin tickrom
$(INSTALL) -F /usr/sbin publish
mkTicket: mkTicket.o
$(CCF) -L$(ROOT)/host_lib -o mkTicket mkTicket.o -lcryptoX86 -L/usr/local/ssl/lib -lcrypto -lrsaX86 -lssl
appTicketFile: appTicketFile.o
$(CCF) -L$(ROOT)/host_lib -o appTicketFile appTicketFile.o -lcryptoX86 -L/usr/local/ssl/lib -lcrypto -lssl